linux/drivers/net/phy
Wade Farnsworth 42caa07404 phylib: fixes for PHY_RESUMING state changes
The PHY_HALTED state disables phydev->link, but the link will not be
updated upon entering PHY_RESUMING.  Add a call to phy_read_status() to
update the link before entering PHY_RUNNING.  If the link is not up at
this point, enter the PHY_NOLINK state instead.

Also, when transitioning from PHY_RESUMING to PHY_RUNNING, calls to
netif_carrier_on() and phydev->adjust_link() are missing.  Add the calls
similar to the other transitions to PHY_RUNNING.

Signed-off-by: Wade Farnsworth <wfarnsworth@mvista.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-07-02 13:16:55 -07:00
..
Kconfig phy: Add LSI ET1011C PHY driver 2008-12-09 22:21:25 -08:00
Makefile phy: Add LSI ET1011C PHY driver 2008-12-09 22:21:25 -08:00
broadcom.c broadcom: Add 57780 support 2008-11-21 17:22:53 -08:00
cicada.c
davicom.c
et1011c.c phy: Add LSI ET1011C PHY driver 2008-12-09 22:21:25 -08:00
fixed.c phy: error handling for platform_device_register_simple() 2009-04-11 01:52:29 -07:00
icplus.c
lxt.c
marvell.c net/phy/marvell: update m88e1111 support for SGMII mode 2009-06-03 02:52:45 -07:00
mdio-bitbang.c
mdio-gpio.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-02-14 23:12:00 -08:00
mdio_bus.c phylib: rework to prepare for OF registration of PHYs 2009-04-27 02:53:45 -07:00
national.c phy: Add file missed in previous commit. 2008-11-28 16:40:26 -08:00
phy.c phylib: fixes for PHY_RESUMING state changes 2009-07-02 13:16:55 -07:00
phy_device.c phy_device: fix parameter name in kernel-doc 2009-06-17 04:31:20 -07:00
qsemi.c
realtek.c
smsc.c phy: add new LAN8710 and LAN8720 device ids to smsc phy driver 2009-03-23 15:17:31 -07:00
ste10Xp.c phy: add the ST ste10Xp PHYs 2008-11-28 16:42:41 -08:00
vitesse.c phylib: Add Vitesse VSC8221 SGMII PHY 2008-11-25 01:00:47 -08:00