gianfar: Implement proper, per netdevice wakeup management
commit2884e5cc9283d541977bdf5dc344849af94cd639
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Sun, 1 Feb 2009 08:52:34 +0000 (1 00:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Feb 2009 08:52:34 +0000 (1 00:52 -0800)
tree937a66410637f6298ad038d173316edf27def66b
parent09640e6365c679b5642b1c41b6d7078f51689ddf
gianfar: Implement proper, per netdevice wakeup management

This patch implements wakeup management for the gianfar driver.

The driver should set wakeup enable if WOL is enabled, so that
phylib won't power off an attached PHY.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c
drivers/net/gianfar_ethtool.c