From 67d17d72791a9965f19b99447e64ffd2249d57e7 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Fri, 19 May 2000 16:31:45 +0000 Subject: [PATCH] Fixed to support PC-98. --- sys/conf/files.pc98 | 1 - sys/dev/lnc/if_lnc_isa.c | 3 +++ sys/dev/lnc/if_lnc_pc98.c | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/conf/files.pc98 b/sys/conf/files.pc98 index 7c8175bdfa7..47585f9e365 100644 --- a/sys/conf/files.pc98 +++ b/sys/conf/files.pc98 @@ -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 diff --git a/sys/dev/lnc/if_lnc_isa.c b/sys/dev/lnc/if_lnc_isa.c index f3fb26189c4..9cb84062cb5 100644 --- a/sys/dev/lnc/if_lnc_isa.c +++ b/sys/dev/lnc/if_lnc_isa.c @@ -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 *)); diff --git a/sys/dev/lnc/if_lnc_pc98.c b/sys/dev/lnc/if_lnc_pc98.c index c476e9e5117..4484a14c5f9 100644 --- a/sys/dev/lnc/if_lnc_pc98.c +++ b/sys/dev/lnc/if_lnc_pc98.c @@ -53,7 +53,7 @@ #include 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; -- 2.45.2