summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Stockhausen2024-10-18 06:14:02 +0000
committerRobert Marko2024-10-27 21:26:25 +0000
commita200f0cee747890dbb322236acbb63002e95854b (patch)
tree004f604dec1acda54cf7c4919bc944da0cfb867a
parent07159cc25a5b5934e6eeb48409d8e846d797b0fa (diff)
downloadopenwrt-a200f0cee747890dbb322236acbb63002e95854b.tar.gz
realtek: dsa: allow USXGMII mode
RTL930x devices need the USXGMII mode. This is a final leftover from the 6.6 conversion. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/16457 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c b/target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c
index d61122e330..f9d37fb3bd 100644
--- a/target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c
+++ b/target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c
@@ -684,6 +684,7 @@ static void rtl83xx_phylink_get_caps(struct dsa_switch *ds, int port,
__set_bit(PHY_INTERFACE_MODE_QSGMII, config->supported_interfaces);
__set_bit(PHY_INTERFACE_MODE_SGMII, config->supported_interfaces);
__set_bit(PHY_INTERFACE_MODE_XGMII, config->supported_interfaces);
+ __set_bit(PHY_INTERFACE_MODE_USXGMII, config->supported_interfaces);
__set_bit(PHY_INTERFACE_MODE_1000BASEX, config->supported_interfaces);
}