FreeBSD/sys/dev/stge/if_stge.c
/*
 * stge_mii_bitbang_read: [mii bit-bang interface function]
 *
 *	Read the MII serial port for the MII bit-bang module.
 */
[mii bit-bang interface function]
Read the MII serial port for the MII bit-bang module.
[ mii bit - bang interface function ] Read the MII serial port for the MII bit - bang module .
static uint32_t
stge_mii_bitbang_read(device_t dev)
{
	struct stge_softc *sc;
	uint32_t val;
	sc = device_get_softc(dev);
	val = CSR_READ_1(sc, STGE_PhyCtrl);
	CSR_BARRIER(sc, STGE_PhyCtrl, 1,
	    BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE);
	return (val);
}
static uint32_t stge_mii_bitbang_read ( device_t dev ) { struct stge_softc * sc ; uint32_t val ; sc = device_get_softc ( dev ) ; val = CSR_READ_1 ( sc , STGE_PhyCtrl ) ; CSR_BARRIER ( sc , STGE_PhyCtrl , 1 , BUS_SPACE_BARRIER_READ | BUS_SPACE_BARRIER_WRITE ) ; return ( val ) ; }
stge_mii_bitbang_read: [mii bit-bang interface function]
      Read the MII serial port for the MII bit-bang module.
stge_mii_bitbang_read : [ mii bit - bang interface function ] Read the MII serial port for the MII bit - bang module .