linux/drivers/net/ethernet/realtek
Heiner Kallweit 1200684814 r8169: fix failing WoL
Th referenced change added an extra hw reset to rtl8169_net_suspend()
what makes WoL fail on few chip versions. Therefore skip the extra
reset if we're going down and WoL is enabled.
In rtl_shutdown() rtl8169_hw_reset() is called by rtl8169_net_suspend()
already if needed, therefore avoid issues issue by removing the extra
call. The fix was tested on a system with RTL8168g.

Meanwhile rtl8169_hw_reset() does more than a hw reset and should be
renamed. But that's net-next material.

Fixes: 8ac8e8c64b ("r8169: make rtl8169_down central chip quiesce function")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-04 15:51:54 -07:00
..
8139cp.c realtek/8139cp: use generic power management 2020-05-19 15:32:24 -07:00
8139too.c realtek/8139too: use generic power management 2020-05-19 15:32:24 -07:00
atp.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
atp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig r8169: add support for RTL8125 2019-08-29 17:47:27 -07:00
Makefile r8169: factor out PHY configuration to r8169_phy_config.c 2020-01-10 16:41:35 -08:00
r8169_firmware.c treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
r8169_firmware.h r8169: factor out firmware handling 2019-06-05 11:41:59 -07:00
r8169_main.c r8169: fix failing WoL 2020-06-04 15:51:54 -07:00
r8169_phy_config.c r8169: add new helper rtl8168g_enable_gphy_10m 2020-03-23 21:27:10 -07:00
r8169.h r8169: add r8169.h 2020-01-10 16:41:35 -08:00