From: Richard Huynh Date: Sat, 18 Oct 2025 09:40:11 +0000 (+1100) Subject: kernel: rtl8261n: Correct serdes global config register X-Git-Tag: v25.12.0-rc1~733 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd180e8905fbcc70c7c2a1ae9d50ed22c63fe596;p=thirdparty%2Fopenwrt.git kernel: rtl8261n: Correct serdes global config register Fix typo in register for the serdes global config. Fixes: ddb0cd276cff ("kernel: rtl8261n: add support for Serdes TX swap") Signed-off-by: Richard Huynh [ add commit description ] Link: https://github.com/openwrt/openwrt/pull/20465 Signed-off-by: Christian Marangi --- diff --git a/target/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phy.c b/target/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phy.c index 7d2a38740dc..faa057f0297 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phy.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phy.c @@ -16,7 +16,7 @@ #define REALTEK_PHY_ID_RTL8264B 0x001CC813 #define REALTEK_PHY_ID_RTL8264 0x001CCAF2 -#define REALTEK_SERDES_GLOBAL_CFG 0x1c +#define REALTEK_SERDES_GLOBAL_CFG 0xC1 #define REALTEK_HSO_INV BIT(7) #define REALTEK_HSI_INV BIT(6)