summaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar.h
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-02-01 00:53:34 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-01 00:53:34 -0800
commit3d1e4db2b0698785f4e4dd139d88257e855e53b8 (patch)
tree47ed84760a205d6977064682331bbb9a4fee9e73 /drivers/net/gianfar.h
parent2884e5cc9283d541977bdf5dc344849af94cd639 (diff)
downloadblackbird-op-linux-3d1e4db2b0698785f4e4dd139d88257e855e53b8.tar.gz
blackbird-op-linux-3d1e4db2b0698785f4e4dd139d88257e855e53b8.zip
phylib: Rework suspend/resume code to check netdev wakeup capability
In most cases (e.g. PCI drivers) MDIO and MAC controllers are represented by the same device. But for SOC ethernets we have separate devices. So, in SOC case, checking whether MDIO controller may wakeup is not only makes little sense, but also prevents us from doing per-netdevice wakeup management. This patch reworks suspend/resume code so that now it checks for net device's wakeup flags, not MDIO controller's ones. Each netdevice should manage its wakeup flags, and phylib will decide whether suspend an attached PHY or not. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gianfar.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud