]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl931x: drop USXGMII gating in setup_serdes 23120/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Thu, 23 Apr 2026 11:28:45 +0000 (11:28 +0000)
committerRobert Marko <robimarko@gmail.com>
Mon, 27 Apr 2026 11:47:18 +0000 (13:47 +0200)
commitb447bf56864bc8c9e4693fcb240ae77b3cfacc22
tree9710580a03645c0fe5801a388b7c1bac9f4e3b0f
parent9eb0edfe2b14e39fbd3d66762a5977394de4185b
realtek: pcs: rtl931x: drop USXGMII gating in setup_serdes

The USXGMII_10GDXGMII and USXGMII_10GQXGMII early-return was added
when the submode register was not yet programmed, making those modes
effectively unconfigurable. With the submode now wired up at probe
time and written from the set_mode path, the gating is no longer
needed.

Keep the XSGMII gate - RTL8218D/E bring-up through the proprietary
10G SGMII path is still unimplemented - and rewrite the surrounding
comment accordingly.

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