FreeBSD/sys/dev/stge/if_stge.c
/*
 * stge_miibus_writereg:	[mii interface function]
 *
 *	Write a PHY register on the MII of the TC9021.
 */
[mii interface function]
Write a PHY register on the MII of the TC9021.
[ mii interface function ] Write a PHY register on the MII of the TC9021 .
static int
stge_miibus_writereg(device_t dev, int phy, int reg, int val)
{
	struct stge_softc *sc;
	sc = device_get_softc(dev);
	STGE_MII_LOCK(sc);
	mii_bitbang_writereg(dev, &stge_mii_bitbang_ops, phy, reg, val);
	STGE_MII_UNLOCK(sc);
	return (0);
}
static int stge_miibus_writereg ( device_t dev , int phy , int reg , int val ) { struct stge_softc * sc ; sc = device_get_softc ( dev ) ; STGE_MII_LOCK ( sc ) ; mii_bitbang_writereg ( dev , & stge_mii_bitbang_ops , phy , reg , val ) ; STGE_MII_UNLOCK ( sc ) ; return ( 0 ) ; }
stge_miibus_writereg:        [mii interface function]
      Write a PHY register on the MII of the TC9021.
stge_miibus_writereg : [ mii interface function ] Write a PHY register on the MII of the TC9021 .