r8169: WoL fixes, part 1.
authorBruno Prémont <bonbons@linux-vserver.org>
Thu, 9 Oct 2008 00:05:03 +0000 (17:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Oct 2008 00:05:03 +0000 (17:05 -0700)
commit20037fa407f26716866eff95221c4882babe1280
tree43a594a185d55d3eb8305c53b05285c425e7ccdb
parentd3eab82b554eeb51f038ac327b6c68c6afdee978
r8169: WoL fixes, part 1.

When probing the chip and handling it's power management settings
also remember wether WoL feature is enabled.

Without this patch one has to call ethtool to change WoL settings
for this flag to be set and any WoL being enabled on suspend to
RAM.

Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c