diff options
author | françois romieu <[email protected]> | 2011-10-14 00:57:45 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-10-19 17:08:21 -0400 |
commit | 649b3b8c4e8681de443b4dc9e387c3036369e02e (patch) | |
tree | 2074058f98c291e154f707b0593ca06a09bb70b9 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
parent | 34b1901abdf8793cd679d0e48012d3d7570f88d6 (diff) |
r8169: fix driver shutdown WoL regression.
Due to commit 92fc43b4159b518f5baae57301f26d770b0834c9 ("r8169: modify the
flow of the hw reset."), rtl8169_hw_reset stomps during driver shutdown on
RxConfig bits which are needed for WOL on some versions of the hardware.
As these bits were formerly set from the r81{0x, 68}_pll_power_down methods,
factor them out for use in the driver shutdown (rtl_shutdown) handler.
I favored __rtl8169_get_wol() -hardware state indication- over
RTL_FEATURE_WOL as the latter has become a good candidate for removal.
Signed-off-by: Francois Romieu <[email protected]>
Cc: Hayes <[email protected]>
Tested-by: Marc Ballarin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions