Skip to content
Commit afbc3194 authored by Hannes Schmelzer's avatar Hannes Schmelzer Committed by Tom Rini
Browse files

net: phy: implement fallback mechanism for negative phy adresses



Negative phy-addresses can occour if the caller function was not able to
determine a valid phy address (from device-tree for example). In this
case we catch this here and search for ANY phy device on the given mdio-
bus.

Signed-off-by: default avatarHannes Schmelzer <hannes.schmelzer@br-automation.com>
Tested-by: default avatarMichal Simek <michal.simek@xilinx.com>
Tested-by: default avatarLukasz Majewski <lukma@denx.de>
parent 0e62d5b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment