android_kernel_xiaomi_sm8350/drivers/net/phy
Trent Piepho 51e2a3846e PHY: Avoid unnecessary aneg restarts
The PHY's aneg is configured and restarted whenever the link is brought up,
e.g. when DHCP is started after the kernel has booted.  This can take the
link down for several seconds while auto-negotiation is redone.

If the advertised features haven't changed, then it shouldn't be necessary
to bring down the link and start auto-negotiation over again.

genphy_config_advert() is enhanced to return 0 when the advertised features
haven't been changed and >0 when they have been.

genphy_config_aneg() then uses this information to not call
genphy_restart_aneg() if there has been no change.

Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-10-08 15:43:54 -07:00
..
broadcom.c
cicada.c
davicom.c
fixed.c
icplus.c
Kconfig
lxt.c
Makefile
marvell.c net/phy: Fix 88e1111 copper/fiber selection in RGMII mode 2008-07-22 17:59:12 -04:00
mdio_bus.c phylib: allow incremental scanning of an mii bus 2008-09-19 05:13:54 +02:00
mdio-bitbang.c
mdio-ofgpio.c
phy_device.c PHY: Avoid unnecessary aneg restarts 2008-10-08 15:43:54 -07:00
phy.c phylib: phy_mii_ioctl() fixes 2008-10-08 15:24:56 -07:00
qsemi.c
realtek.c
smsc.c
vitesse.c