aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2024-02-04 23:14:14 +0000
committerDavid S. Miller <[email protected]>2024-02-07 13:47:07 +0000
commit17b447539408a0feff81637c7cc1c4c68efa73c0 (patch)
tree6794309990ad7ddc60b73eb92d26439acf902932 /drivers/net/ethernet/intel/igc
parentnetdevsim: make nsim_bus const (diff)
downloadkernel-17b447539408a0feff81637c7cc1c4c68efa73c0.tar.gz
kernel-17b447539408a0feff81637c7cc1c4c68efa73c0.zip
net: phy: c45 scanning: Don't consider -ENODEV fatal
When scanning the MDIO bus for C22 devices, the driver returning -ENODEV is not considered fatal, it just indicates the MDIO bus master knows there is no device at that address, maybe because of hardware limitation. Make the C45 scan code act on -ENODEV the same way, to make C22 and C45 more uniform. It is expected all reads for a given address will return -ENODEV, so within get_phy_c45_ids() only the first place a read occurs has been changed. Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions