forked from Imagelibrary/rtems
2002-04-11 Chris Johns <ccj@acm.org>
* network/rtems_bsdnet.h: To address PR59, added the drv_ctrl driver control block field to the ifconfig network driver structure. This field is needed by the i82586 driver which was ported from NetBSD as it had better hardware abstraction.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2002-04-11 Chris Johns <ccj@acm.org>
|
||||
|
||||
* network/rtems_bsdnet.h: To address PR59, added the drv_ctrl driver
|
||||
control block field to the ifconfig network driver structure. This
|
||||
field is needed by the i82586 driver which was ported from NetBSD
|
||||
as it had better hardware abstraction.
|
||||
|
||||
2002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* network/i82586.c: Include <string.h>.
|
||||
|
||||
@@ -317,8 +317,7 @@ i82586_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
|
||||
if ((unit = rtems_bsdnet_parse_driver_name (config, &name)) < 0)
|
||||
return 0;
|
||||
|
||||
sc = 0; /* config->drv_ctrl; */
|
||||
#warning "undo this hack"
|
||||
sc = config->drv_ctrl;
|
||||
ifp = &sc->arpcom.ac_if;
|
||||
|
||||
#if I82586_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user