* [PATCH v2 net] r8169: add missing RX enabling for WoL on RTL8125
@ 2019-12-06 22:27 Heiner Kallweit
2019-12-07 20:02 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Heiner Kallweit @ 2019-12-06 22:27 UTC (permalink / raw)
To: Realtek linux nic maintainers, David Miller; +Cc: netdev
RTL8125 also requires to enable RX for WoL.
v2: add missing Fixes tag
Fixes: f1bce4ad2f1c ("r8169: add support for RTL8125")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
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(-)
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c
index 46a492229..67a4d5d45 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -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;
--
2.24.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 net] r8169: add missing RX enabling for WoL on RTL8125
2019-12-06 22:27 [PATCH v2 net] r8169: add missing RX enabling for WoL on RTL8125 Heiner Kallweit
@ 2019-12-07 20:02 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-12-07 20:02 UTC (permalink / raw)
To: hkallweit1; +Cc: nic_swsd, netdev
From: Heiner Kallweit <hkallweit1@gmail.com>
Date: Fri, 6 Dec 2019 23:27:15 +0100
> RTL8125 also requires to enable RX for WoL.
>
> v2: add missing Fixes tag
>
> Fixes: f1bce4ad2f1c ("r8169: add support for RTL8125")
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-07 20:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06 22:27 [PATCH v2 net] r8169: add missing RX enabling for WoL on RTL8125 Heiner Kallweit
2019-12-07 20:02 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).