Don't explicitly call MIIBUS_STATCHG() method handler. Link state

change should be handled by PHY driver.  Some broken PHY H/Ws may
need that workaround but it seems axge(4) don't use such PHYs.
This commit is contained in:
Pyun YongHyeon 2016-08-18 02:14:39 +00:00
parent a42c5d9fa7
commit 7598bc98ca

View File

@ -724,11 +724,6 @@ axge_tick(struct usb_ether *ue)
AXGE_LOCK_ASSERT(sc, MA_OWNED); AXGE_LOCK_ASSERT(sc, MA_OWNED);
mii_tick(mii); mii_tick(mii);
if ((sc->sc_flags & AXGE_FLAG_LINK) == 0) {
axge_miibus_statchg(ue->ue_dev);
if ((sc->sc_flags & AXGE_FLAG_LINK) != 0)
axge_start(ue);
}
} }
static void static void