]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl838x: use SerDes hardware modes 21480/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Fri, 2 Jan 2026 17:12:47 +0000 (17:12 +0000)
committerRobert Marko <robimarko@gmail.com>
Sun, 11 Jan 2026 10:13:42 +0000 (11:13 +0100)
commite4fd28e9894561df12adca9f6297a35f5d269c6e
treefd7065d2451bdfdb22408e3ad815a3b087557665
parentf47453863fb575c5337be1b6fb0eb690bf157e46
realtek: pcs: rtl838x: use SerDes hardware modes

Switch RTL838X SerDes setup to use the internal SerDes hardware modes
instead of the PHY_INTERFACE_MODE_* modes.

Use the generic mapper in the beginning of the SerDes setup and convert
all affected functions to the different mode type. This will be moved
out to the generic pcs_config later.

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