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>
This commit is contained in:
kato 1998-12-31 03:21:14 +00:00
parent 4fc63e8029
commit 0539734ce1
2 changed files with 14 additions and 12 deletions

View File

@ -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);
}

View File

@ -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);
}