]> git.baikalelectronics.ru Git - kernel.git/commit
skge: Enable WoL by default if supported
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 22 Jul 2009 02:58:55 +0000 (02:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2009 18:24:26 +0000 (11:24 -0700)
commite3f09cba80f3bff0e647451bf7bd6059db6ebe8b
treed16afd1b41047872bef20c3c3c1b669a145a5812
parentc717f7de12af36d798cb91f825c1c1869ddb3a15
skge: Enable WoL by default if supported

If skge hardware is capable of waking up the system from sleep,
enable magic packet WoL during driver initialisation.

This makes WoL work without calling 'ethtool -s ethX wol g'
for each adapter.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Michael Guntsche <mike@it-loops.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/skge.c