FreeBSD/sys/dev/bm/if_bm.c
/*
 * Write the MII serial port for the MII bit-bang module.
 */
Write the MII serial port for the MII bit-bang module.
Write the MII serial port for the MII bit - bang module .
static void
bm_mii_bitbang_write(device_t dev, uint32_t val)
{
	struct bm_softc *sc;
	sc = device_get_softc(dev);
	CSR_WRITE_2(sc, BM_MII_CSR, val);
	CSR_BARRIER(sc, BM_MII_CSR, 2,
	    BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE);
}
static void bm_mii_bitbang_write ( device_t dev , uint32_t val ) { struct bm_softc * sc ; sc = device_get_softc ( dev ) ; CSR_WRITE_2 ( sc , BM_MII_CSR , val ) ; CSR_BARRIER ( sc , BM_MII_CSR , 2 , BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE ) ; }
Write the MII serial port for the MII bit-bang module.
Write the MII serial port for the MII bit - bang module .