Fixed to support PC-98.

This commit is contained in:
Yoshihiro Takahashi 2000-05-19 16:31:45 +00:00
parent d475e057f4
commit 67d17d7279
3 changed files with 5 additions and 3 deletions

View File

@ -196,7 +196,6 @@ pc98/pc98/if_ed.c optional ed
i386/isa/if_el.c optional el
i386/isa/if_fe.c optional fe
i386/isa/if_le.c optional le
i386/isa/if_lnc.c optional lnc
i386/isa/if_rdp.c optional rdp
i386/isa/if_sr.c optional sr
i386/isa/if_wi.c optional wi card

View File

@ -49,6 +49,9 @@
int ne2100_probe __P((lnc_softc_t *, unsigned));
int bicc_probe __P((lnc_softc_t *, unsigned));
int depca_probe __P((lnc_softc_t *, unsigned));
#ifdef PC98
int cnet98s_probe __P((lnc_softc_t *, unsigned));
#endif
int lance_probe __P((lnc_softc_t *));
int pcnet_probe __P((lnc_softc_t *));
int lnc_probe __P((struct isa_device *));

View File

@ -53,7 +53,7 @@
#include <dev/lnc/if_lncreg.h>
int pcnet_probe __P((lnc_softc_t *sc));
static int cnet98s_probe __P((lnc_softc_t *sc, unsigned iobase));
int cnet98s_probe __P((lnc_softc_t *sc, unsigned iobase));
/* C-NET(98)S port addresses */
#define CNET98S_RDP 0x400 /* Register Data Port */
@ -84,7 +84,7 @@ static int cnet98s_probe __P((lnc_softc_t *sc, unsigned iobase));
#define LED_JABE 0x0002 /* Jabber */
#define LED_COLE 0x0001 /* Collision */
static int
int
cnet98s_probe(lnc_softc_t *sc, unsigned iobase)
{
int i;