diff options
| author | Rafael Kitover <rkitover@gmail.com> | 2026-03-16 10:32:17 +0000 |
|---|---|---|
| committer | Pouria Mousavizadeh Tehrani <pouria@FreeBSD.org> | 2026-03-16 10:37:37 +0000 |
| commit | 33e0568d30a687b3bbd3f00fd9b323ff031e39a2 (patch) | |
| tree | 62ea9323ac3672e6235f31d474c6877ac2a09d63 /sys/miscfs | |
| parent | fed90174ff5eb8dd46c521c67ea0b387f150683b (diff) | |
A race condition in the MII layer causes spurious link down events.
In `statchg`, on link down, check if the PHY reports the link as
actually down using the BMSR register, if not, force the status of the
link to back up and restart TX. Do the same in a MII `linkchg` handler.
On actual link up, restart TX in case it went idle and down.
PR: 252165
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
Reviewed by: pouria
Differential Revision: https://reviews.freebsd.org/D55682
Diffstat (limited to 'sys/miscfs')
0 files changed, 0 insertions, 0 deletions
