]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl930x: use cmu_page getter for tx_config
authorJonas Jelonek <jelonek.jonas@gmail.com>
Fri, 10 Jul 2026 08:56:57 +0000 (08:56 +0000)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 15 Jul 2026 17:36:59 +0000 (19:36 +0200)
commit8eaa84d2e9b0c9880bb124163eae5fa5a1c8db31
tree597f8d748db80a26cde95caf08dbcc454057fa59
parent146d0fb6e02b4b37519075531841806d2e8ff87f
realtek: pcs: rtl930x: use cmu_page getter for tx_config

Derive the CMU page from rtpcs_93xx_sds_get_cmu_page() instead of
hardcoding it per hw_mode case. Also change the function to return
int and propagate errors instead of silently doing nothing.

Link: https://github.com/openwrt/openwrt/pull/24232
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c