diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-04-13 16:41:43 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2002-04-13 16:41:43 +0000 |
commit | 5bfc8912be01e2849df638017f964f58fb8917b8 (patch) | |
tree | 66d87fe05f5ad4316087b96a6753048f42c342e7 /c/src/exec | |
parent | 2002-03-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-5bfc8912be01e2849df638017f964f58fb8917b8.tar.bz2 |
2002-04-11 Chris Johns <ccj@acm.org>
* c/src/libnetworking/rtems/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.
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/libnetworking/ChangeLog | 7 | ||||
-rw-r--r-- | c/src/exec/libnetworking/rtems/rtems_bsdnet.h | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/c/src/exec/libnetworking/ChangeLog b/c/src/exec/libnetworking/ChangeLog index 3cc82180f3..dcd5b162fe 100644 --- a/c/src/exec/libnetworking/ChangeLog +++ b/c/src/exec/libnetworking/ChangeLog @@ -1,3 +1,10 @@ +2002-04-11 Chris Johns <ccj@acm.org> + + * c/src/libnetworking/rtems/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-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * ChangeLog: Fix dates. diff --git a/c/src/exec/libnetworking/rtems/rtems_bsdnet.h b/c/src/exec/libnetworking/rtems/rtems_bsdnet.h index 6c60ce1abe..0e9837ea8d 100644 --- a/c/src/exec/libnetworking/rtems/rtems_bsdnet.h +++ b/c/src/exec/libnetworking/rtems/rtems_bsdnet.h @@ -110,6 +110,13 @@ struct rtems_bsdnet_ifconfig { unsigned int irno; /* irq of the board */ unsigned int bpar; /* memory of the board */ + /* + * Driver control block pointer. Typcially this points to the driver's + * controlling structure. You set this when you have the structure allocated + * externally to the driver. + */ + void *drv_ctrl; + }; struct rtems_bsdnet_config { |