diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-04-13 16:42:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-04-13 16:42:23 +0000 |
commit | 18b6986b89577f61fa2900657f9ba819b03fe4d8 (patch) | |
tree | 6a2eefeb9dcf003b115f7f8bf5d45e3c2e12a8ce | |
parent | 2002-04-11 Chris Johns <ccj@acm.org> (diff) | |
download | rtems-18b6986b89577f61fa2900657f9ba819b03fe4d8.tar.bz2 |
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.
-rw-r--r-- | c/src/libchip/ChangeLog | 7 | ||||
-rw-r--r-- | c/src/libchip/network/i82586.c | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/c/src/libchip/ChangeLog b/c/src/libchip/ChangeLog index 5ae82e46a2..a2c9259277 100644 --- a/c/src/libchip/ChangeLog +++ b/c/src/libchip/ChangeLog @@ -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>. diff --git a/c/src/libchip/network/i82586.c b/c/src/libchip/network/i82586.c index e4dab5121b..7649a12859 100644 --- a/c/src/libchip/network/i82586.c +++ b/c/src/libchip/network/i82586.c @@ -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 |