r8169: disable L23
authorhayeswang <hayeswang@realtek.com>
Wed, 9 Jul 2014 06:52:51 +0000 (14:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2014 23:42:08 +0000 (16:42 -0700)
commitb51ecea852b712618796d9eab8428a7d5f1f106f
tree41c1ea68b785102d20a89f36584fe2f9b7fb1a84
parentac30ef832e6af0505b6f0251a6659adcfa74975e
r8169: disable L23

For RTL8411, RTL8111G, RTL8402, RTL8105, and RTL8106, disable the feature
of entering the L2/L3 link state of the PCIe. When the nic starts the process
of entering the L2/L3 link state and the PCI reset occurs before the work
is finished, the work would be queued and continue after the next the PCI
reset occurs. This causes the device stays in L2/L3 link state, and the system
couldn't find the device.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c