]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: make rtl930x CMU config generic
authorJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 24 Feb 2026 21:22:05 +0000 (21:22 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 14 Mar 2026 19:24:32 +0000 (20:24 +0100)
commiteccb5c6fa1cd0266bfa28601d614ac00a7b8a9a2
tree2e7d2f6378951faefd99412456b59cb83de68bf8
parent8e29b78726b4a87d2bb9124ced33658f9cf6a138
realtek: pcs: make rtl930x CMU config generic

Generalize the RTL930x CMU configuration to support RTL931x as well.
Both implementations differ only in minor details, allowing them to
share common code and avoid duplication.

Affected functions are moved up in the code to the 93xx common area and
slightly renamed. Existing variant-specific functions are adjusted too
and assigned to the previously added SerDes operation hooks.

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