r8169: fix issue with confused RX unit after PHY power-down on RTL8411b
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 13 Jul 2019 11:45:47 +0000 (13:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Jul 2019 02:25:53 +0000 (19:25 -0700)
commitfe4e8db0392a6c2e795eb89ef5fcd86522e66248
tree4e403fb91cd682b79a8007f534ed5556b1003382
parent192f0f8e9db7efe4ac98d47f5fa4334e43c1204d
r8169: fix issue with confused RX unit after PHY power-down on RTL8411b

On RTL8411b the RX unit gets confused if the PHY is powered-down.
This was reported in [0] and confirmed by Realtek. Realtek provided
a sequence to fix the RX unit after PHY wakeup.

The issue itself seems to have been there longer, the Fixes tag
refers to where the fix applies properly.

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1692075

Fixes: a99790bf5c7f ("r8169: Reinstate ASPM Support")
Tested-by: Ionut Radu <ionut.radu@gmail.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c