Commit 8e1dbeb
committed
stm32/eth: Add warning for autonegotiation timeout fallback.
Print warning message when autonegotiation times out and code falls
back to 10Mbps Half-Duplex mode.
Issue: After 5-second autonegotiation timeout (PHY_AUTONEG_TIMEOUT_MS),
code silently falls back to 10Mbps Half-Duplex - 10x slower than typical
100Mbps Full-Duplex. Users experience slow network with no indication of
root cause.
Solution: Print warning message to console when fallback occurs:
"ETH: Autonegotiation timeout, using 10Mbps Half-Duplex"
Impact: Users can diagnose slow network performance and investigate
autonegotiation failures (bad cable, switch issues, etc.).
Signed-off-by: Andrew Leech <[email protected]>1 parent 8e0f30d commit 8e1dbeb
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
837 | 837 | | |
838 | 838 | | |
839 | 839 | | |
| 840 | + | |
840 | 841 | | |
841 | 842 | | |
842 | 843 | | |
| |||
0 commit comments