mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 15:28:21 +04:00
USXGMII may fail to come up on SerDes lanes that previously ran SGMII or 1000Base-X. Updating the MAC mode alone does not reliably reconfigure the analog clock path. Run CMU configuration for every active RTL930x mode and check clock readiness after programming the target mode. Preserve the existing choice between MAC-driven and IP-driven mode setup. Restore PLL-migrated neighbors through their saved mode and USXGMII submode so MAC-driven modes no longer depend on stale IP mode state. This marks a breaking point of our understanding of the SerDes setup under RTL930x hardware. While we assumed so far that MAC-driven modes are entirely setup and controlled by the MAC setup, this appears to be not true based on the issue. More likely is that default or preset configuration on certain SerDes happens to be correct for all our needs so far. But if we drive the those SerDes with modes the SDK hasn't intended, such issues will surface. Link: https://github.com/openwrt/openwrt/issues/25065 Assisted-by: ChatGPT (OpenAI GPT-5.6 Sol) Link: https://github.com/openwrt/openwrt/pull/25176 Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>