mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 14:50:15 +04:00
26dc5f0cad
Move rtpcs_931x_sds_set_mode(sds, hw_mode) ahead of rtpcs_931x_sds_activate() in rtpcs_931x_setup_serdes(). The IP-block mode registers latch with the SerDes powered down, so the mode can be committed during the configure phase rather than after power-on. This matches the phase order already used by 838x and 930x (deactivate -> configure -> set_mode -> activate) and is a step toward a unified bring-up sequence across variants. Verified on RTL931x hardware: USXGMII, SGMII and 10GBASE-R modes all come up, link is established, L2 forwarding works, and iperf3 reports expected throughput. Link: https://github.com/openwrt/openwrt/pull/23513 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>