From 5bfc8912be01e2849df638017f964f58fb8917b8 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 13 Apr 2002 16:41:43 +0000 Subject: 2002-04-11 Chris Johns * 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. --- c/src/libnetworking/rtems/rtems_bsdnet.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'c/src/libnetworking/rtems') diff --git a/c/src/libnetworking/rtems/rtems_bsdnet.h b/c/src/libnetworking/rtems/rtems_bsdnet.h index 6c60ce1abe..0e9837ea8d 100644 --- a/c/src/libnetworking/rtems/rtems_bsdnet.h +++ b/c/src/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 { -- cgit v1.2.3