forked from Imagelibrary/rtems
2001-09-14 Joel Sherrill <joel@OARcorp.com>
* network/Makefile.am: Fixed typo on file name. * network/i82586.c: Commented out line 318 which is referencing a member of a structure that is not currently there. This needs to be worked out with Chris Johns <ccj@acm.org>. Switched C++ style comments to C style.
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
2001-09-14 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* network/Makefile.am: Fixed typo on file name.
|
||||||
|
* network/i82586.c: Commented out line 318 which is referencing
|
||||||
|
a member of a structure that is not currently there. This
|
||||||
|
needs to be worked out with Chris Johns <ccj@acm.org>.
|
||||||
|
Switched C++ style comments to C style.
|
||||||
|
|
||||||
2001-09-19 Chris Johns <ccj@acm.org>
|
2001-09-19 Chris Johns <ccj@acm.org>
|
||||||
|
|
||||||
* network/README.i82586, network/i82586.c, network/i82586reg.h,
|
* network/README.i82586, network/i82586.c, network/i82586reg.h,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ LIBNAME = libnetchip
|
|||||||
LIB = $(ARCH)/$(LIBNAME).a
|
LIB = $(ARCH)/$(LIBNAME).a
|
||||||
|
|
||||||
# add cs8900.c to work with it and make it compile
|
# add cs8900.c to work with it and make it compile
|
||||||
C_FILES = dec21140.c i82586.h sonic.c
|
C_FILES = dec21140.c i82586.c sonic.c
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
||||||
|
|
||||||
include_libchip_HEADERS = cs8900.h i82586var.h sonic.h
|
include_libchip_HEADERS = cs8900.h i82586var.h sonic.h
|
||||||
|
|||||||
@@ -316,7 +316,8 @@ i82586_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
|
|||||||
if ((unit = rtems_bsdnet_parse_driver_name (config, &name)) < 0)
|
if ((unit = rtems_bsdnet_parse_driver_name (config, &name)) < 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
sc = config->drv_ctrl;
|
sc = 0; /* config->drv_ctrl; */
|
||||||
|
#warning "undo this hack"
|
||||||
ifp = &sc->arpcom.ac_if;
|
ifp = &sc->arpcom.ac_if;
|
||||||
|
|
||||||
#if I82586_DEBUG
|
#if I82586_DEBUG
|
||||||
@@ -1048,7 +1049,7 @@ i82586_tint(struct ie_softc *sc, int scbstatus)
|
|||||||
printf("i82586_tint: (%d) command still busy; status=0x%x; tail=%d\n",
|
printf("i82586_tint: (%d) command still busy; status=0x%x; tail=%d\n",
|
||||||
sc->trace_flow_in / 2, status, sc->xctail);
|
sc->trace_flow_in / 2, status, sc->xctail);
|
||||||
printf("iestatus = 0x%x\n", scbstatus);
|
printf("iestatus = 0x%x\n", scbstatus);
|
||||||
// sc->sc_debug = IED_ALL;
|
/* sc->sc_debug = IED_ALL; */
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status & IE_STAT_OK) {
|
if (status & IE_STAT_OK) {
|
||||||
@@ -1964,7 +1965,7 @@ int
|
|||||||
i82586_ioctl(struct ifnet *ifp, int cmd, caddr_t data)
|
i82586_ioctl(struct ifnet *ifp, int cmd, caddr_t data)
|
||||||
{
|
{
|
||||||
struct ie_softc *sc = ifp->if_softc;
|
struct ie_softc *sc = ifp->if_softc;
|
||||||
// struct ifreq *ifr = (struct ifreq *)data;
|
/* struct ifreq *ifr = (struct ifreq *)data; */
|
||||||
int s;
|
int s;
|
||||||
int error = 0;
|
int error = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user