From 9ffb74afa461af67f84ce247edfb0b32a1af48e0 Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Thu, 31 Dec 1998 03:21:14 +0000 Subject: Another(better) way to support Access/NOTE N98(PC-98) without any effects for other Access/PC series. Submitted by: Chiharu Shibata --- sys/dev/fe/if_fe.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'sys/dev/fe') diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c index bcdcc8829dd85..bb1b01ccece41 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); } -- cgit v1.3