]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl931x: use generic CMU configuration 22198/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Fri, 27 Feb 2026 08:59:00 +0000 (08:59 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 14 Mar 2026 19:24:32 +0000 (20:24 +0100)
commit3f17f15bd5aefed934bfbd71e3a9933eb39f2588
treea4bcb3dcf93530c7d84527dca1ea31d5d796d90b
parent7a1e66e7f1d07a4a5dae7e9f009fcb1b1c1e72e4
realtek: pcs: rtl931x: use generic CMU configuration

The current CMU setup was just copied and slightly adjusted from the
SDK, lacks functionality and logic and doesn't cover all cases we need
(same in the SDK due to multiple reasons). The existing implementation
for RTL930x covers all that and can be reused for RTL931x. Previous
patches made this generic and now we can add the remaining missing
pieces to actually use it for RTL931x. This only includes
implementations for the few variant-specific actions within the
implementation, linking them properly and calling the CMU configuration.

Drop the old CMU code for RTL931x then since it's not needed anymore.

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