svn commit: r304324 - head/sys/dev/usb/net
Pyun YongHyeon
yongari at FreeBSD.org
Thu Aug 18 02:14:40 UTC 2016
Author: yongari
Date: Thu Aug 18 02:14:39 2016
New Revision: 304324
URL: https://svnweb.freebsd.org/changeset/base/304324
Log:
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.
Modified:
head/sys/dev/usb/net/if_axge.c
Modified: head/sys/dev/usb/net/if_axge.c
==============================================================================
--- head/sys/dev/usb/net/if_axge.c Thu Aug 18 01:48:58 2016 (r304323)
+++ head/sys/dev/usb/net/if_axge.c Thu Aug 18 02:14:39 2016 (r304324)
@@ -724,11 +724,6 @@ axge_tick(struct usb_ether *ue)
AXGE_LOCK_ASSERT(sc, MA_OWNED);
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
More information about the svn-src-head
mailing list