diff options
author | Hannes Schmelzer <hannes.schmelzer@br-automation.com> | 2019-03-29 09:54:05 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-07 20:31:16 -0400 |
commit | afbc31948a007e03d6a1282677aafc2208f45819 (patch) | |
tree | df64dfbfcab1f6be261797aa6b117c7333d921cf /board/CZ.NIC | |
parent | 0e62d5b2abb69ddc9e58215e2d8dfa5d33996b8a (diff) | |
download | u-boot-afbc31948a007e03d6a1282677aafc2208f45819.tar.gz u-boot-afbc31948a007e03d6a1282677aafc2208f45819.tar.bz2 u-boot-afbc31948a007e03d6a1282677aafc2208f45819.zip |
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: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Tested-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/CZ.NIC')
0 files changed, 0 insertions, 0 deletions