]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: rtl8261n: Correct serdes global config register
authorRichard Huynh <voxlympha@gmail.com>
Sat, 18 Oct 2025 09:40:11 +0000 (20:40 +1100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 29 Oct 2025 18:37:17 +0000 (19:37 +0100)
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@gmail.com>
[ add commit description ]
Link: https://github.com/openwrt/openwrt/pull/20465
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phy.c

index 7d2a38740dc7215925694fc51ff3055f83156ea0..faa057f0297751d6526301e8b5e2026b53846ee7 100644 (file)
@@ -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)