mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Since we don't request reset for rlphy(4), the link state 'UP'
event from mii(4) may not be delivered if valid link was already established. To address the issue, check current link state after driving MII_TICK. This should fix a regression introduced in r184245. PR: kern/129647
This commit is contained in:
parent
0fe200d953
commit
f28d469d87
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186390
@ -1518,6 +1518,8 @@ rl_tick(void *xsc)
|
||||
*/
|
||||
mii = device_get_softc(sc->rl_miibus);
|
||||
mii_tick(mii);
|
||||
if ((sc->rl_flags & RL_FLAG_LINK) == 0)
|
||||
rl_miibus_statchg(sc->rl_dev);
|
||||
if (sc->rl_twister_enable) {
|
||||
if (sc->rl_twister == DONE)
|
||||
rl_watchdog(sc);
|
||||
|
Loading…
Reference in New Issue
Block a user