diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-09 14:16:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-11 12:46:12 -0800 |
commit | 1cb89a14c80a87abe1f5bd47b1e7b3171b968f8c (patch) | |
tree | 409bb3dbcbad81f281ab7beeceb0da7883f4c232 /lib/devres.c | |
parent | 256e43cb8c696e0754514686d92f4e27b4985ad5 (diff) |
net: sfp: re-attempt probing for phy
Some 1000BASE-T PHY modules take a while for the PHY to wake up.
Retry the probe a number of times before deciding that the module has
no PHY.
Tested with:
Sourcephotonics SPGBTXCNFC - PHY takes less than 50ms to respond.
Champion One 1000SFPT - PHY takes about 200ms to respond.
Mikrotik S-RJ01 - no PHY
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions