FreeBSD/sys/dev/fe/if_fe_pccard.c
/*
 * Probe and initialization for Fujitsu MBH10302 PCMCIA Ethernet interface.
 * Note that this is for 10302 only; MBH10304 is handled by fe_probe_tdk().
 */
Probe and initialization for Fujitsu MBH10302 PCMCIA Ethernet interface.
Note that this is for 10302 only; MBH10304 is handled by fe_probe_tdk().
Probe and initialization for Fujitsu MBH10302 PCMCIA Ethernet interface . Note that this is for 10302 only ; MBH10304 is handled by fe_probe_tdk () .
static void
fe_init_mbh(struct fe_softc *sc)
{
	DELAY(200);
	fe_outb(sc, FE_DLCR6, sc->proto_dlcr6 | FE_D6_DLC_DISABLE);
	DELAY(200);
	fe_outb(sc, FE_DLCR2, 0);
	fe_outb(sc, FE_DLCR3, 0);
	fe_outb(sc, FE_MBH0, FE_MBH0_MAGIC | FE_MBH0_INTR_ENABLE);
}
static void fe_init_mbh ( struct fe_softc * sc ) { DELAY ( 200 ) ; fe_outb ( sc , FE_DLCR6 , sc -> proto_dlcr6 | FE_D6_DLC_DISABLE ) ; DELAY ( 200 ) ; fe_outb ( sc , FE_DLCR2 , 0 ) ; fe_outb ( sc , FE_DLCR3 , 0 ) ; fe_outb ( sc , FE_MBH0 , FE_MBH0_MAGIC | FE_MBH0_INTR_ENABLE ) ; }
Probe and initialization for Fujitsu MBH10302 PCMCIA Ethernet interface.
Probe and initialization for Fujitsu MBH10302 PCMCIA Ethernet interface .
/* Minimal initialization of 86960.  */ /* Disable all interrupts.  */ /* Enable master interrupt flag.  */