]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl93xx: extend USXGMII config 22939/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 14 Apr 2026 11:17:43 +0000 (11:17 +0000)
committerRobert Marko <robimarko@gmail.com>
Fri, 17 Apr 2026 10:24:08 +0000 (12:24 +0200)
commitb7c21b43479e31d05b03af6067a0c2f2206e9f98
tree2b7216b2e5338c244d63b528344c846ef275095e
parent5c8b947082465aefc1117ab31ba94d50ac3fbbb4
realtek: pcs: rtl93xx: extend USXGMII config

Our USXGMII config only covers one single register of which kind there
are actually more. We only set a value for 'CFG_QHSG_TXCFG_MAC_CH0' but
there are additional registers for CH1-CH3. Those refer to the 4
USXGMII 'channels'. While the RTL930x part of the SDK doesn't set them
explicitly, from RTK setup SerDes dumps we can see they are usually
similarly set.

The RTL931x part of the SDK actually writes those register explicitly
during USXGMII. We just haven't implemented that so far. Thus, add this
to the USXGMII config for both RTL93xx.

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