u-boot/drivers/net/phy
Cormier, Jonathan 08be2836df phy: fix create_phy_by_mask for when its given an actual search mask
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>
2014-06-05 14:44:56 -04:00
..
atheros.c AR8035/phy: Enable autonegotiation function for ar8035 2014-05-12 15:19:45 -04:00
broadcom.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
davicom.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
et1011c.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
generic_10g.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
icplus.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
lxt.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile drivers: net: convert makefiles to Kbuild style 2013-10-31 13:22:13 -04:00
marvell.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
micrel.c net: add function to read/write extended registers in Micrel Phy 2013-11-22 16:50:52 -06:00
miiphybb.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mv88e61xx.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mv88e61xx.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mv88e6352.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
natsemi.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
phy.c phy: fix create_phy_by_mask for when its given an actual search mask 2014-06-05 14:44:56 -04:00
realtek.c net/phy: realtek: Fix the PHY ID mask to ensure the correct Realtek PHY is detected 2013-11-22 16:50:51 -06:00
smsc.c phy: Use general phy code for smsc lan8720a 2013-11-22 17:03:20 -06:00
teranetics.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
vitesse.c net: phy/vitesse: Add support for VSC8664 phy module 2014-05-16 16:24:05 -05:00