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.
This commit is contained in:
Joel Sherrill
2000-10-20 13:10:30 +00:00
parent b0a26dddd7
commit 84ab660187
3 changed files with 17 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
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.
@@ -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 */
+1 -1
View File
@@ -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;