android_kernel_xiaomi_sm8350/drivers/net/phy
Anton Vorontsov 3d1e4db2b0 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>
2009-02-01 00:53:34 -08:00
..
broadcom.c
cicada.c
davicom.c
et1011c.c
fixed.c
icplus.c
Kconfig
lxt.c
Makefile
marvell.c
mdio_bus.c phylib: Rework suspend/resume code to check netdev wakeup capability 2009-02-01 00:53:34 -08:00
mdio-bitbang.c
mdio-gpio.c phylib: unsigneds go unnoticed 2009-01-21 14:34:53 -08:00
national.c
phy_device.c phylib: Fix Freescale TBI PHY detection 2009-01-14 14:38:02 -08:00
phy.c
qsemi.c
realtek.c
smsc.c phy: Add suspend/resume support to SMSC PHYs 2009-01-22 14:07:43 -08:00
ste10Xp.c
vitesse.c