Reshape the MDIO settle fix before proposing it upstream #19

Open
opened 2026-08-27 23:22:26 +00:00 by tiagoagueda · 0 comments
Owner

The working code pokes dwmac1000 MII_ADDR/MII_DATA directly from stmmac_dvr_probe().
It is correct and it fixed a real bug — 40 ms of settle measured on a cold boot, 0 ms warm —
but it is a measurement harness, not a patch.

Proper form is a retry in the sunxi glue, or a settle property. See the end of
34-ethernet-cold-boot.md.

Done when

  • reworked into a form that could be sent to netdev without embarrassment
The working code pokes dwmac1000 `MII_ADDR`/`MII_DATA` directly from `stmmac_dvr_probe()`. It is correct and it fixed a real bug — 40 ms of settle measured on a cold boot, 0 ms warm — but it is a measurement harness, not a patch. Proper form is a retry in the sunxi glue, or a settle property. See the end of `34-ethernet-cold-boot.md`. **Done when** - [ ] reworked into a form that could be sent to netdev without embarrassment
Sign in to join this conversation.
No description provided.