]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl931x: move SerDes config out of setup
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sun, 14 Dec 2025 11:34:34 +0000 (11:34 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 23 Dec 2025 17:53:33 +0000 (18:53 +0100)
commit9856f6b0aa3250f83818d0860abe201de3f658fa
treef738b8fbaa3f1a24acf1632ac1b3f8e9add5e6a1
parent93296c9e8555273a613a840d518fc0158747a0bf
realtek: pcs: rtl931x: move SerDes config out of setup

Slim the rtpcs_931x_setup_serdes entrypoint by moving the SerDes
configuration sequences for the different SerDes modes into a dedicated
function called rtpcs_931x_sds_config_mode. They form a logical block
similar to what the SDK does and can be taken out to follow the
'divide & conquer' principle.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21184
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c