FreeBSD/sys/dev/wb/if_wb.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
wb_mii_bitbang_write(device_t dev, uint32_t val)
{
	struct wb_softc *sc;
	sc = device_get_softc(dev);
	CSR_WRITE_4(sc, WB_SIO, val);
	CSR_BARRIER(sc, WB_SIO, 4,
	    BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE);
}
static void wb_mii_bitbang_write ( device_t dev , uint32_t val ) { struct wb_softc * sc ; sc = device_get_softc ( dev ) ; CSR_WRITE_4 ( sc , WB_SIO , val ) ; CSR_BARRIER ( sc , WB_SIO , 4 , 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 .