From 84ab6601874fdef764efedc7d9007046a4038917 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 20 Oct 2000 13:10:30 +0000 Subject: 2000-10-20 Joel Sherrill * 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. --- c/src/lib/libbsp/i386/pc386/ChangeLog | 6 ++++++ c/src/lib/libbsp/i386/pc386/include/wd80x3.h | 10 ++++++++++ c/src/lib/libbsp/i386/pc386/wd8003/wd8003.c | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) 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,3 +1,9 @@ +2000-10-20 Joel Sherrill + + * 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 * include/bsp.h: Cleaned up network driver name and attach defines. 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; -- cgit v1.2.3