It seems generation of link state change of e1000phy(4) is not
reliable on some Marvell PHYs. If msk(4) know it still does not have established link check whether msk(4) missed the link state change by looking into polled link state. Reported by: Mel Flynn < mel.flynn+fbsd.current <> mailing.thruhere dot net >, Gleb Kurtsou <gleb.kurtsou <> gmail dot com > Tested by: Gleb Kurtsou <gleb.kurtsou <> gmail dot com >
This commit is contained in:
parent
89834b119e
commit
77e6010f24
@ -3198,6 +3198,8 @@ msk_tick(void *xsc_if)
|
||||
mii = device_get_softc(sc_if->msk_miibus);
|
||||
|
||||
mii_tick(mii);
|
||||
if ((sc_if->msk_flags & MSK_FLAG_LINK) == 0)
|
||||
msk_miibus_statchg(sc_if->msk_if_dev);
|
||||
msk_watchdog(sc_if);
|
||||
callout_reset(&sc_if->msk_tick_ch, hz, msk_tick, sc_if);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user