mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 23:05:18 +08:00
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:
@@ -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 */
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user