summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libnetworking
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-13 16:41:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-04-13 16:41:43 +0000
commit5bfc8912be01e2849df638017f964f58fb8917b8 (patch)
tree66d87fe05f5ad4316087b96a6753048f42c342e7 /c/src/exec/libnetworking
parent2002-03-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-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/libnetworking')
-rw-r--r--c/src/exec/libnetworking/ChangeLog7
-rw-r--r--c/src/exec/libnetworking/rtems/rtems_bsdnet.h7
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 {