diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/ChangeLog | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/include/wd80x3.h | 10 | ||||
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/wd8003/wd8003.c | 2 |
3 files changed, 17 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/ChangeLog b/c/src/lib/libbsp/i386/pc386/ChangeLog index c7d3fa7edb..69b7cfeb74 100644 --- a/c/src/lib/libbsp/i386/pc386/ChangeLog +++ b/c/src/lib/libbsp/i386/pc386/ChangeLog @@ -1,5 +1,11 @@ 2000-10-20 Joel Sherrill <joel@OARcorp.com> + * include/wd80x3.h: Added file header and logic to prevent multiple + inclusions of this file. + * wd8003/wd8003.c: Corrected attach to include "int attach" parameter. + +2000-10-20 Joel Sherrill <joel@OARcorp.com> + * include/bsp.h: Cleaned up network driver name and attach defines. 2000-10-20 Dmitry Kargapolov <dk@gentex.ru> diff --git a/c/src/lib/libbsp/i386/pc386/include/wd80x3.h b/c/src/lib/libbsp/i386/pc386/include/wd80x3.h index 4bad00993c..282faabdd1 100644 --- a/c/src/lib/libbsp/i386/pc386/include/wd80x3.h +++ b/c/src/lib/libbsp/i386/pc386/include/wd80x3.h @@ -1,3 +1,11 @@ +/* + * Information about the DP8390 Ethernet controller. + * + * $Id$ + */ + +#ifndef __BSP_WD80x3_h +#define __BSP_WD80x3_h /* Register descriptions */ /* Controller DP8390. */ @@ -121,3 +129,5 @@ #define SMK_CDH 0x40 /* collision detect heartbeat */ #define SMK_OWC 0x80 /* out of window collision */ +#endif +/* end of include */ diff --git a/c/src/lib/libbsp/i386/pc386/wd8003/wd8003.c b/c/src/lib/libbsp/i386/pc386/wd8003/wd8003.c index 0344dcb789..a23a16531f 100644 --- a/c/src/lib/libbsp/i386/pc386/wd8003/wd8003.c +++ b/c/src/lib/libbsp/i386/pc386/wd8003/wd8003.c @@ -569,7 +569,7 @@ wd_ioctl (struct ifnet *ifp, int command, caddr_t data) * Attach an WD driver to the system */ int -rtems_wd_driver_attach (struct rtems_bsdnet_ifconfig *config) +rtems_wd_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach) { struct wd_softc *sc; struct ifnet *ifp; |