mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
get_phy_id returns -EIO when it can't read from a phy at a given addr. This would cause
create_phy_by_mask to return prematurely before it had tested the other addresses in the provided mask.
Example usage:
Replace
phydev = phy_connect(bus, phy_addr, dev, phy_if)
with
phydev = phy_find_by_mask(bus, phy_mask, phy_if)
if (phydev)
phy_connect_dev(phydev, dev);
Signed-off-by: Cormier, Jonathan <jcormier@criticallink.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
|
||
|---|---|---|
| .. | ||
| atheros.c | ||
| broadcom.c | ||
| davicom.c | ||
| et1011c.c | ||
| generic_10g.c | ||
| icplus.c | ||
| lxt.c | ||
| Makefile | ||
| marvell.c | ||
| micrel.c | ||
| miiphybb.c | ||
| mv88e61xx.c | ||
| mv88e61xx.h | ||
| mv88e6352.c | ||
| natsemi.c | ||
| phy.c | ||
| realtek.c | ||
| smsc.c | ||
| teranetics.c | ||
| vitesse.c | ||