FreeBSD/sys/dev/stge/if_stge.c
/*
 * stge_mediachange:	[ifmedia interface function]
 *
 *	Set hardware to newly-selected media.
 */
[ifmedia interface function]
Set hardware to newly-selected media.
[ ifmedia interface function ] Set hardware to newly - selected media .
static int
stge_mediachange(struct ifnet *ifp)
{
	struct stge_softc *sc;
	struct mii_data *mii;
	sc = ifp->if_softc;
	mii = device_get_softc(sc->sc_miibus);
	mii_mediachg(mii);
	return (0);
}
static int stge_mediachange ( struct ifnet * ifp ) { struct stge_softc * sc ; struct mii_data * mii ; sc = ifp -> if_softc ; mii = device_get_softc ( sc -> sc_miibus ) ; mii_mediachg ( mii ) ; return ( 0 ) ; }
stge_mediachange:    [ifmedia interface function]
      Set hardware to newly-selected media.
stge_mediachange : [ ifmedia interface function ] Set hardware to newly - selected media .