diff options
author | kato <kato@FreeBSD.org> | 1998-12-31 03:21:14 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-12-31 03:21:14 +0000 |
commit | 0539734ce17868e5b7cee9ba4f3d5142fe258466 (patch) | |
tree | 0b0c258b3e73d81604b608ff4077a114055a80e8 /sys/dev/fe | |
parent | 4fc63e8029f0a7289f2e2aa6754a3ff1a4f7afdc (diff) | |
download | FreeBSD-src-0539734ce17868e5b7cee9ba4f3d5142fe258466.zip FreeBSD-src-0539734ce17868e5b7cee9ba4f3d5142fe258466.tar.gz |
Another(better) way to support Access/NOTE N98(PC-98) without any effects
for other Access/PC series.
Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp>
Diffstat (limited to 'sys/dev/fe')
-rw-r--r-- | sys/dev/fe/if_fe.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c index bcdcc88..bb1b01c 100644 --- a/sys/dev/fe/if_fe.c +++ b/sys/dev/fe/if_fe.c @@ -21,7 +21,7 @@ */ /* - * $Id: if_fe.c,v 1.20.2.4 1997/11/29 04:45:41 steve Exp $ + * $Id: if_fe.c,v 1.45 1998/12/15 15:51:37 kato Exp $ * * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards. * To be used with FreeBSD 3.x @@ -1082,11 +1082,12 @@ fe_init_lnx ( struct fe_softc * sc ) static void fe_init_ubn ( struct fe_softc * sc ) { -#if 0 - /* Do we need this? FIXME. */ - outb(sc->ioaddr[0x18], 0x00); - DELAY( 200 ); -#endif + /* Do we need this? FIXME. */ + outb(sc->ioaddr[FE_DLCR7], + sc->proto_dlcr7 | FE_D7_RBS_BMPR | FE_D7_POWER_UP); + outb(sc->ioaddr[0x18], 0x00); + DELAY( 200 ); + /* Setup IRQ control register on the ASIC. */ outb(sc->ioaddr[0x14], sc->priv_info); } |