]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: Work around missing 10g-qxgmii PHY mode
authorSven Eckelmann <se@simonwunderlich.de>
Tue, 30 Sep 2025 07:06:57 +0000 (09:06 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 30 Sep 2025 18:12:27 +0000 (20:12 +0200)
commit4481e0c91df72aed9f9f0ec3ab85f5d06d070fe7
treed198cf1488900413346493404ecdf77eaad8c974
parent657b61be2e7d5b4eeed846620bc4da336f523bd2
realtek: Work around missing 10g-qxgmii PHY mode

The current SerDes implementation for RTL931x handles 10G-QXGMII via the
"usxgmii" PHY mode. This is not 100% correct because it is not a single
port with 10G (max) but 4 ports with 2.5G each.

To allow setting of the "10g-qxgmii" phy mode, just change the code for now
to use the same codepaths as USXGMII. This has to be cleaned up further
during the SerDes driver rewrites.

Suggested-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Sven Eckelmann <se@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/20239
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto.c