Skip to contentSkip to conversation

r8169: add missing RX enabling for WoL on RTL8125

PATCH In review Heiner Kallweit 2 participants 2 messages Dec 6, 2019 – Dec 7, 2019

Subsystems (3)
lore
Share & tools
lore

Heiner Kallweit

author maintainer
#0 lore raw

PATCH v2 1/1 r8169: add missing RX enabling for WoL on RTL8125

RTL8125 also requires to enable RX for WoL.

v2: add missing Fixes tag

Fixes f1bce4ad2f1c ("r8169: add support for RTL8125")

---
This fix won't apply cleanly to 5.4 because RTL_GIGA_MAC_VER_52 was added for 5.5.

---
 drivers/net/ethernet/realtek/r8169_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/realtek/r8169_main.c +1 -1
index 46a492229..67a4d5d45 100644
@@ -3695,7 +3695,7 @@ static void rtl_wol_suspend_quirk(struct rtl8169_private *tp)
 	case RTL_GIGA_MAC_VER_32:
 	case RTL_GIGA_MAC_VER_33:
 	case RTL_GIGA_MAC_VER_34:
-	case RTL_GIGA_MAC_VER_37 ... RTL_GIGA_MAC_VER_52:
+	case RTL_GIGA_MAC_VER_37 ... RTL_GIGA_MAC_VER_61:
 		RTL_W32(tp, RxConfig, RTL_R32(tp, RxConfig) |
 			AcceptBroadcast | AcceptMulticast | AcceptMyPhys);
 		break;
Signature · 1 line
2.24.0
maintainer
#1 lore raw

From: Heiner Kallweit <[email protected]>
Date: Fri, 6 Dec 2019 23:27:15 +0100

Quoted 9 lines

RTL8125 also requires to enable RX for WoL.

v2: add missing Fixes tag

Fixes f1bce4ad2f1c ("r8169: add support for RTL8125")

---
This fix won't apply cleanly to 5.4 because RTL_GIGA_MAC_VER_52 was added for 5.5.

Applied and queued up for -stable.