realtek: fix MAC_FORCE_MODE_CTRL register for RTL931x
authorMarkus Stockhausen <[email protected]>
Wed, 21 May 2025 06:17:13 +0000 (02:17 -0400)
committerRobert Marko <[email protected]>
Fri, 23 May 2025 11:14:28 +0000 (13:14 +0200)
Ports will not work as expected on the RTL931x devices. This comes
from a typo in the address. Fixed according to the documentation:
https://svanheule.net/realtek/mango/register/mac_force_mode_ctrl

Signed-off-by: Markus Stockhausen <[email protected]>
Signed-off-by: Sebastian Gottschall <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18864
Signed-off-by: Robert Marko <[email protected]>
target/linux/realtek/files-6.6/drivers/net/ethernet/rtl838x_eth.h

index 692c1d69a0271912c97d5fe87682c80efcedcdb7..797d671957069eb8e55e9b2b2960014a28a24a96 100644 (file)
@@ -46,7 +46,7 @@
 #define RTL838X_MAC_FORCE_MODE_CTRL            (0xa104)
 #define RTL839X_MAC_FORCE_MODE_CTRL            (0x02bc)
 #define RTL930X_MAC_FORCE_MODE_CTRL            (0xCA1C)
-#define RTL931X_MAC_FORCE_MODE_CTRL            (0x0ddc)
+#define RTL931X_MAC_FORCE_MODE_CTRL            (0x0dcc)
 
 #define RTL83XX_DMA_IF_INTR_STS_NOTIFY_MASK    GENMASK(22, 20)
 #define RTL83XX_DMA_IF_INTR_STS_RX_DONE_MASK   GENMASK(15, 8)
OSZAR »