]> git.baikalelectronics.ru Git - kernel.git/commit
atl1*: add device_set_wakeup_enable to atl1*_set_wol
authorBrandon Philips <brandon@ifup.org>
Wed, 24 Jun 2009 14:09:14 +0000 (14:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2009 09:58:17 +0000 (02:58 -0700)
commit0976e0a1abe8a25c90d220bf4f3106c02e900811
tree6a9a6c09770d27719fc4a03e1ca1e956f036f2b6
parenteb32b579084a996fe8e9d362cf016d5dd9fb3a58
atl1*: add device_set_wakeup_enable to atl1*_set_wol

Tell PCI core that atl1* device can wakeup the system when WOL is
enabled by calling device_set_wakeup_enable.

Joerg noted that his atl1e device WOL fine after enabling it with
ethtool and changing /sys/class/net/eth0/device/power/wakeup to enabled
Tested on atl1e: https://bugzilla.novell.com/show_bug.cgi?id=493214

Tested by: Joerg Reuter <jreuter@novell.com>
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atl1c/atl1c_ethtool.c
drivers/net/atl1e/atl1e_ethtool.c