mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-22 19:37:51 +04:00
Add the mandatory activate/deactivate bring-up hooks to rtpcs_sds_ops and let rtpcs_pcs_config() drive the full sequence around the variant configuration: deactivate -> setup_serdes -> activate -> post_config The per-variant calls that were open-coded at the start and end of the setup_serdes() functions are removed in favour of these indirections. RTL839X never powered the SerDes down/up, so it gets no-op stubs to satisfy the contract for now. Execution order is preserved for all variants. Link: https://github.com/openwrt/openwrt/pull/23759 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>