linux/drivers/net/phy
Mugunthan V N f5437d06e0 net: phy: fix phy link up when limiting speed via device tree
[ Upstream commit eb686231fc ]

When limiting phy link speed using "max-speed" to 100mbps or less on a
giga bit phy, phy never completes auto negotiation and phy state
machine is held in PHY_AN. Fixing this issue by comparing the giga
bit advertise though phydev->supported doesn't have it but phy has
BMSR_ESTATEN set. So that auto negotiation is restarted as old and
new advertise are different and link comes up fine.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-07-05 10:13:00 -04:00
..
amd-xgbe-phy.c amd-xgbe-phy: Fix build break for missing declaration 2014-09-07 11:21:31 -07:00
amd.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
at803x.c net: phy: at803x: fix coccinelle warnings 2014-06-22 17:16:02 -07:00
bcm7xxx.c net: phy: add BCM7425 and BCM7429 PHYs 2014-10-01 22:12:48 -04:00
bcm63xx.c phy: bcm63xx: report Broadcom BCM63xx PHYs as internal 2013-05-27 22:42:50 -07:00
bcm87xx.c net/phy/bcm87xx: Add MODULE_LICENSE("GPL") to GPL driver 2012-09-22 15:33:46 -04:00
broadcom.c net: phy: broadcom: move shadow 0x1C register accessors to brcmphy.h 2014-08-23 11:38:53 -07:00
cicada.c net: phy: cicada: fix checkpath errors 2013-12-18 00:49:01 -05:00
davicom.c net: phy: davicom: fix checkpath errors 2013-12-18 00:49:01 -05:00
dp83640.c net: dp83640: fix improper double spin locking. 2015-06-15 14:26:51 -04:00
dp83640_reg.h ptp: Added a clock driver for the National Semiconductor PHYTER. 2011-05-23 13:10:23 -07:00
et1011c.c net/phy: fix many "defined but unused" warnings 2010-10-05 00:34:29 -07:00
fixed.c net: phy: adjust fixed_phy_register() return value 2014-10-07 13:06:45 -04:00
icplus.c net: phy: icplus: fix checkpath error 2013-12-18 00:49:02 -05:00
Kconfig drivers/net/phy/Kconfig: Let MDIO_BCM_UNIMAC depend on HAS_IOMEM 2014-10-06 00:46:27 -04:00
lxt.c net: phy: lxt: fix checkpath errors 2013-12-18 00:49:02 -05:00
Makefile net: phy: add generic UniMAC MDIO bus driver 2014-08-27 22:59:39 -07:00
marvell.c net: phy: Add SGMII Configuration for Marvell 88E1145 Initialization 2014-10-28 17:00:22 -04:00
mdio-bcm-unimac.c net: phy: mdio-bcm-unimac: NULL-terminate unimac_mdio_ids 2014-09-01 20:41:45 -07:00
mdio-bitbang.c Revert "drivers/net/phy/mdio-bitbang.c: Call mdiobus_unregister before mdiobus_free" 2012-11-14 22:32:15 -05:00
mdio-gpio.c net: mdio-gpio: warn about missing bus alias id 2014-05-09 15:51:19 -04:00
mdio-moxart.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
mdio-mux-gpio.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
mdio-mux-mmioreg.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
mdio-mux.c netdev/phy: skip disabled mdio-mux nodes 2012-08-20 02:16:00 -07:00
mdio-octeon.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
mdio-sun4i.c net: sun4i: remove empty MDIO bus reset function 2014-03-28 01:38:02 -04:00
mdio_bus.c net: phy: properly report internal PHYs through sysfs 2014-08-29 20:17:53 -07:00
micrel.c phy/micrel: KSZ8031RNL RMII clock reconfiguration bug 2014-10-14 12:41:03 -04:00
national.c phy: Use pr_<level> 2012-06-11 16:58:24 -07:00
phy.c net: phy: Allow EEE for all RGMII variants 2015-06-15 14:26:49 -04:00
phy_device.c net: phy: fix phy link up when limiting speed via device tree 2015-07-05 10:13:00 -04:00
qsemi.c net/phy: fix many "defined but unused" warnings 2010-10-05 00:34:29 -07:00
realtek.c net: phy: realtek: register/unregister multiple drivers properly 2014-06-11 15:17:27 -07:00
smsc.c net: phy: smsc: move smsc_phy_config_init reset part in a soft_reset function 2014-08-16 20:15:54 -07:00
spi_ks8995.c net: phy: spi_ks8995: Introduce the use of devm_kzalloc 2014-08-04 12:55:23 -07:00
ste10Xp.c phylib: Support registering a bunch of drivers 2012-07-09 00:10:56 -07:00
vitesse.c net/phy: Remove return value for void function 2014-04-23 15:28:05 -04:00