sc->mii_flags = mii->mii_flags;
sc->mii_flags = ma->mii_flags;
nsphyattach(struct device *parent, struct device *self, void *aux){	struct mii_softc *sc = (struct mii_softc *)self;	struct mii_attach_args *ma = aux;	struct mii_data *mii = ma->mii_data;	printf(": %s, rev. %d\n", MII_STR_NATSEMI_DP83840,	    MII_REV(ma->mii_id2));	sc->mii_inst = mii->mii_instance;	sc->mii_phy = ma->mii_phyno;	sc->mii_funcs = &nsphy_funcs;	sc->mii_pdata = mii;	sc->mii_flags = mii->mii_flags;	sc->mii_anegticks = 5;	PHY_RESET(sc);	sc->mii_capabilities =	    PHY_READ(sc, MII_BMSR) & ma->mii_capmask;	if (sc->mii_capabilities & BMSR_MEDIAMASK)		mii_phy_add_media(sc);}