mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 17:32:57 -05:00
wasn't default
Since vte_reset changes register value to MDCSC_DEFAULT value, which may not
be the original value, thus causing some phy registers read failures.
Restoring VTE_MDCSC value to original after reset solves the link state
flapping issue.
Thanks to jhb ("the code looks ok") for his review.
Reviewed by: jhb
Obtained from: NetBSD via Andrius V
Differential Revision: https://reviews.freebsd.org/D34956
|
||
|---|---|---|
| .. | ||
| if_vte.c | ||
| if_vtereg.h | ||
| if_vtevar.h | ||