u-boot-brain/drivers/net/phy
Karsten Merker 563d8d9358 net: phy: Realtek RTL8211B/C PHY ID fix
The RTL8211B_driver structure in drivers/net/phy/realtek.c contains a
wrong PHY ID (0x1cc910 instead of 0x1cc912) in the uid field.

The lowest four bits of the PHY ID encode the chip revision (B+C/D/E/F)
of the RTL8211 and the code originally applied a mask of 0xfffff0 to
the PHY ID, so that matching the PHY ID to the appropriate driver code
was only done on the chip type (RTL8211), but not on a specific
revision.

After introduction of support for the RTL8211E, which needed another
startup function than the older chip revisions, commit
4220504767 changed the mask to 0xffffff
to make the chip revision relevant for the match, but didn't provide
the now-relevant lower bits of the uid field for the RTL8211B/C.

Fix this by setting the full PHY ID in the RTL8211B_driver uid field.

Fixes: 4220504767 ("net/phy: realtek: Fix the PHY ID mask to ensure the correct Realtek PHY is detected")
Signed-off-by: Karsten Merker <merker@debian.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-04-02 19:26:08 -04:00
..
aquantia.c net: phy: added aquantia PHY AQR405 support 2015-11-30 09:11:13 -08:00
atheros.c net: phy: atheros: Fix problem with phy_reset() clearing BMCR 2016-02-26 13:32:37 -06:00
broadcom.c net: phy: broadcom: Add BCM Cygnus PHY 2015-08-11 13:49:17 -05:00
cortina.c Merge branch 'master' of git://git.denx.de/u-boot-net 2016-01-28 18:42:10 -05: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: phy: marvell: Fix problem with phy_reset() clearing BMCR 2016-02-18 11:32:03 -06:00
micrel.c drivers: net: phy: micrel: fix build errors with CONFIG_DM_ETH 2016-02-08 10:10:45 -05: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 net: phy: introduce a quirk PHY_FLAG_BROKEN_RESET 2016-01-28 13:20:30 -06:00
realtek.c net: phy: Realtek RTL8211B/C PHY ID fix 2016-04-02 19:26:08 -04:00
smsc.c drivers: net: phy: add SMSC LAN8740 Phy support. 2016-02-01 22:14:02 +01: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: ti: Enable automatic crossover mode 2016-01-27 15:55:54 +01:00
vitesse.c net: phy/vitesse: Add support for VSC8584 phy 2015-09-01 21:38:39 -05:00