From 7598bc98cac59d5c1e101b8322b55c12e5ac294b Mon Sep 17 00:00:00 2001 From: Pyun YongHyeon Date: Thu, 18 Aug 2016 02:14:39 +0000 Subject: [PATCH] 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. --- sys/dev/usb/net/if_axge.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/dev/usb/net/if_axge.c b/sys/dev/usb/net/if_axge.c index 348b9372a19a..cf1904cfe795 100644 --- a/sys/dev/usb/net/if_axge.c +++ b/sys/dev/usb/net/if_axge.c @@ -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