summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-20 13:10:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-20 13:10:30 +0000
commit84ab6601874fdef764efedc7d9007046a4038917 (patch)
tree216c8137ab77a05ae995d16ea69a94f31891c369
parentb0a26dddd7ec52bb8a5b25e75638b493b69d02c3 (diff)
downloadrtems-84ab6601874fdef764efedc7d9007046a4038917.tar.bz2
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.
-rw-r--r--c/src/lib/libbsp/i386/pc386/ChangeLog6
-rw-r--r--c/src/lib/libbsp/i386/pc386/include/wd80x3.h10
-rw-r--r--c/src/lib/libbsp/i386/pc386/wd8003/wd8003.c2
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;