u-boot-brain/drivers/net/phy
Stefan Roese a8c3eca433 net: phy: marvell: Fix problem with phy_reset() clearing BMCR
With commit a058052c [net: phy: do not read configuration register on
reset], phy_reset() will clear the BMCR register. Resulting in bit 12
being cleared (A/N enable). This leads to autonegotiation link problems,
at least on the Marvell Armada ClearFog board. I suspect that other
boards using this driver will be affected as well.

At the of m88e1111s_config(), phy_reset() is called. This is not needed
for the PHY to load the changed configuration, as phy_reset() is called
a few lines before already. So lets call genphy_restart_aneg() here
instead to start the AN correctly.

Tested on clearfog.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Hao Zhang <hzhang@ti.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Andy Fleming <afleming@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-02-18 11:32:03 -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 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: set led for rtl8211f phy 2015-08-11 13:20:34 -05: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