u-boot-brain/drivers/net/phy
Alexandre Messier 79e3efd5e5 net: phy: micrel: Disable B_CAST on config
Micrel PHYs KSZ8021/31 and KSZ8081 have a feature where MDIO address 0
is considered as a broadcast address; the PHY will respond even if it
is not its configured (pinstrapped) address. This feature is enabled
by default.

The Linux kernel disables that feature at initialisation, but not
before it probes the MDIO bus. This causes an issue, because a PHY
at address 3 will be discovered at addresses 0 and 3, but will then
only respond at address 3. Because Linux attaches the first PHY it
discovers on 'eth0', it will attach the PHY from address 0, which
will never answer again.

Fix the issue by disabling the broadcast feature in U-Boot, before
Linux is started.

Signed-off-by: Alexandre Messier <amessier@tycoint.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-01-28 13:20:21 -06:00
..
aquantia.c net: phy: added aquantia PHY AQR405 support 2015-11-30 09:11:13 -08:00
atheros.c phy: atheros: Use ar8035_config for AR8031 2016-01-07 17:46:47 +01:00
broadcom.c net: phy: broadcom: Add BCM Cygnus PHY 2015-08-11 13:49:17 -05:00
cortina.c net/phy/cortina: Fix compilation warning 2015-04-23 08:55:57 -07: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
lxt.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile net: phy: Add support for Texas Instruments DP83867 2015-11-19 13:09:21 +01:00
marvell.c net: Add support for Marvell 88E1510 PHY 2015-08-11 13:29:01 -05:00
micrel.c net: phy: micrel: Disable B_CAST on config 2016-01-28 13:20:21 -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 pengwyn: nand and ethernet fixes 2015-11-12 18:13:19 -05:00
phy.c drivers/net/phy: introduce phy_set_supported() 2016-01-28 12:32:42 -06:00
realtek.c net/phy: set led for rtl8211f phy 2015-08-11 13:20:34 -05: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
ti.c net: phy: Add support for Texas Instruments DP83867 2015-11-19 13:09:21 +01:00
vitesse.c net: phy/vitesse: Add support for VSC8584 phy 2015-09-01 21:38:39 -05:00