u-boot/drivers/net/phy
Andre Przywara a44ee246c5 net: phy: Fix overlong PHY timeout
Commit 27c3f70f3b ("net: phy: Increase link up delay in
genphy_update_link()") increased the per-iteration waiting time from
1ms to 50ms, without adjusting the timeout counter. This lead to the
timeout increasing from the typical 4 seconds to over three minutes.

Adjust the timeout counter evaluation by that factor of 50 to bring the
timeout back to the intended value.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Fixes: net: phy: Increase link up delay in genphy_update_link() ("27c3f70f3b50")
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Matthias Brugger <mbrugger@suse.com>
Tested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2020-03-09 18:11:24 -05:00
..
aquantia.c drivers: net: phy: aquantia: make it less verbose 2020-03-09 18:11:24 -05:00
atheros.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
b53.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
broadcom.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
cortina.c net: phy: cortina: Use block layer to read from mmc 2019-07-15 13:32:25 -05:00
davicom.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
dp83867.c net: phy: dp83867: Clean force link good bit 2020-02-28 12:04:10 +01:00
et1011c.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fixed.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
generic_10g.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
Kconfig phy: Add support for the NC-SI protocol 2020-03-09 18:11:23 -05:00
lxt.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
Makefile phy: Add support for the NC-SI protocol 2020-03-09 18:11:23 -05:00
marvell.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
meson-gxl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
micrel_ksz8xxx.c net: phy: micrel: make sure the factory test bit is cleared 2019-12-09 09:47:42 -06:00
micrel_ksz90x1.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
miiphybb.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mscc.c net: phy: mscc: add support for VSC8574 PHY 2018-11-05 10:41:59 -06:00
mv88e61xx.c net: phy: mv88e61xx: register phy_driver struct for 88E6071 2019-12-09 09:47:42 -06:00
mv88e6352.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
natsemi.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
ncsi.c phy: Add support for the NC-SI protocol 2020-03-09 18:11:23 -05:00
phy.c net: phy: Fix overlong PHY timeout 2020-03-09 18:11:24 -05:00
realtek.c net: phy: realtek: Introduce quirk to mark RXC not stoppable 2019-05-07 14:51:55 -05:00
smsc.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
teranetics.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
vitesse.c net: phy: Clean up includes of common.h 2018-07-26 14:08:22 -05:00
xilinx_gmii2rgmii.c net: phy: Add gmiitorgmii converter support 2019-10-08 09:41:27 +02:00
xilinx_phy.c net: phy: xilinx: switch to use phy_get_ofnode() 2018-07-26 14:08:22 -05:00