Alison Wang 903d384d40 net: phy: atheros: Fix problem with phy_reset() clearing BMCR
In commit <a058052c358c> [net: phy: do not read configuration register on
reset], phy_reset() will clear the BMCR register. Bit 12(AUTO_NEGOTIATION)
is cleared too. It causes auto-negotiation timeout error on Atheros's
PHY AR8033.

To fix this problem, genphy_config_aneg() and genphy_restart_aneg()
needs to be called in ar8035_config() to enable and restart
auto-negotiation.

Signed-off-by: Alison Wang <alison.wang@nxp.com>
Acked-by: Stefan Agner <stefan@agner.ch>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2016-02-26 13:32:37 -06:00
..
2016-02-06 12:00:59 +01:00
2010-07-12 00:14:29 -07:00
2016-02-05 12:47:23 +08:00
2016-01-25 10:40:01 -05:00
2016-02-06 12:00:59 +01:00
2014-04-18 10:42:30 -04:00
2015-08-11 13:27:15 -05:00
2016-01-14 14:08:59 +01:00
2016-02-06 12:00:59 +01:00
2013-04-01 16:33:52 -04:00
2015-11-05 08:22:21 +01:00
2016-01-07 12:18:58 -07:00
2015-09-11 17:14:43 -04:00
2015-09-11 17:14:43 -04:00
2016-01-27 15:55:51 +01:00