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
..
2016-01-14 22:11:34 -05:00
2016-02-06 12:00:59 +01:00
2016-01-27 08:13:11 -08:00
2016-02-18 11:32:03 -06:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2015-11-12 08:26:59 +08:00
2015-04-18 11:11:33 -06:00
2013-07-24 09:44:38 -04:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2014-08-30 07:46:39 -04:00
2014-08-30 07:46:39 -04:00
2015-05-19 13:33:21 -05:00
2014-08-30 07:46:39 -04:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:33 -06:00
2013-07-24 09:44:38 -04:00
2016-02-06 16:39:31 +01:00
2013-07-24 09:44:38 -04:00
2015-04-18 11:11:33 -06:00
2016-02-05 12:47:23 +08:00
2016-01-28 12:32:44 -06:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:33 -06:00
2015-12-21 20:01:57 -06:00
2016-02-08 09:48:04 -05:00
2016-02-05 12:47:23 +08:00
2016-01-25 10:40:01 -05:00
2015-04-18 11:11:33 -06:00
2013-07-24 09:44:38 -04:00
2015-04-18 11:11:33 -06:00
2013-07-24 09:44:38 -04:00
2015-04-18 11:11:33 -06:00
2016-01-03 15:28:06 +01:00
2013-09-20 17:55:36 +02:00
2015-04-18 11:11:33 -06:00
2016-01-28 18:42:10 -05:00
2016-01-14 22:11:34 -05:00
2013-07-24 09:44:38 -04:00
2016-01-14 22:11:34 -05:00
2013-07-24 09:44:38 -04:00
2015-05-20 11:07:27 -05:00
2013-08-19 12:34:21 -05:00
2016-01-14 22:11:34 -05:00
2013-07-24 09:44:38 -04:00
2016-02-01 22:14:02 +01:00
2016-02-08 10:10:46 -05:00
2015-04-18 11:11:33 -06:00
2013-06-24 19:11:14 -05:00
2016-02-06 12:00:59 +01:00
2014-04-18 10:42:30 -04:00
2016-01-14 22:11:34 -05:00
2016-01-27 13:58:58 +01:00
2015-08-11 13:27:15 -05:00
2016-02-01 22:14:02 +01:00
2015-04-18 11:11:33 -06:00
2013-08-19 12:34:18 -05:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2013-07-24 09:44:38 -04:00
2016-01-14 14:08:59 +01:00
2015-04-18 11:11:33 -06:00
2016-02-06 12:00:59 +01:00
2013-04-01 16:33:52 -04:00
2013-08-19 12:34:18 -05:00
2015-11-05 08:22:21 +01:00
2015-04-18 11:11:33 -06:00
2016-02-05 12:47:23 +08:00
2016-02-05 12:47:23 +08:00
2016-01-16 21:06:46 +01:00
2016-02-01 22:14:02 +01:00
2016-02-01 22:14:02 +01:00
2016-02-01 22:14:02 +01:00
2015-04-18 11:11:33 -06:00
2016-01-12 10:19:09 -07:00
2015-07-21 17:39:40 -06:00
2016-01-07 12:18:58 -07:00
2016-01-14 22:11:34 -05:00
2014-11-04 09:27:40 +09:00
2015-04-18 11:11:33 -06:00
2013-07-24 09:44:38 -04:00
2015-09-11 17:14:43 -04:00
2015-09-11 17:14:43 -04:00
2015-07-21 17:39:40 -06:00
2016-01-28 18:42:10 -05:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2015-11-19 20:27:50 -07:00
2016-01-28 12:22:19 -06:00
2016-01-27 15:55:51 +01:00
2016-01-27 15:55:52 +01:00
2015-04-18 11:11:33 -06:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2015-04-18 11:11:33 -06:00
2013-07-24 09:44:38 -04:00
2016-01-27 15:57:20 +01:00
2013-07-24 09:44:38 -04:00
2016-01-27 15:55:54 +01:00