[openwrt/openwrt] kernel: rtl8261n: Correct serdes global config register

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 29 11:37:29 PDT 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/bd180e8905fbcc70c7c2a1ae9d50ed22c63fe596

commit bd180e8905fbcc70c7c2a1ae9d50ed22c63fe596
Author: Richard Huynh <voxlympha at gmail.com>
AuthorDate: Sat Oct 18 20:40:11 2025 +1100

    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 <voxlympha at gmail.com>
    [ add commit description ]
    Link: https://github.com/openwrt/openwrt/pull/20465
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 target/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 7d2a38740d..faa057f029 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)
 




More information about the lede-commits mailing list