From: Jan Hoffmann Date: Thu, 24 Jul 2025 17:29:23 +0000 (+0200) Subject: realtek: actually enable 2500Base-X X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F19517%2Fhead;p=thirdparty%2Fopenwrt.git realtek: actually enable 2500Base-X The SerDes setup function needs to be called to make 2500Base-X work. Signed-off-by: Jan Hoffmann Link: https://github.com/openwrt/openwrt/pull/19517 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c index 85aa1975f2a..1af34b4c5fb 100644 --- a/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c +++ b/target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c @@ -678,6 +678,7 @@ static void rtl93xx_phylink_mac_config(struct dsa_switch *ds, int port, if (sds_num >= 0 && (state->interface == PHY_INTERFACE_MODE_1000BASEX || state->interface == PHY_INTERFACE_MODE_SGMII || + state->interface == PHY_INTERFACE_MODE_2500BASEX || state->interface == PHY_INTERFACE_MODE_10GBASER)) rtl9300_serdes_setup(port, sds_num, state->interface); }