Christian Lamparter
9065bc386f
net: emac: fix and unify emac_mdio functions
...
emac_mdio_read_link() was not copying the requested phy settings
back into the emac driver's own phy api. This has caused a link
speed mismatch issue for the AR8035 as the emac driver kept
trying to connect with 10/100MBps on a 1GBit/s link.
This patch also unifies shared code between emac_setup_aneg()
and emac_mdio_setup_forced(). And furthermore it removes
a chunk of emac_mdio_init_phy(), that was copying the same
data into itself.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com >
Reviewed-by: Andrew Lunn <andrew@lunn.ch >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-06-08 10:47:21 -04:00
..
2017-05-10 19:13:03 -07:00
2017-05-26 14:55:38 -04:00
2017-01-29 19:04:11 -05:00
2017-03-27 16:01:59 -07:00
2017-03-22 12:00:39 -07:00
2017-01-30 15:10:42 -05:00
2017-01-08 17:51:44 -05:00
2017-01-30 15:10:42 -05:00
2017-04-11 11:16:03 -04:00
2017-06-04 20:01:00 -04:00
2017-04-25 13:48:06 -04:00
2017-05-11 21:42:17 -04:00
2017-04-21 15:23:52 -04:00
2017-05-22 12:05:01 -04:00
2017-06-07 12:59:42 -04:00
2017-05-08 14:41:42 -04:00
2017-04-30 22:21:49 -04:00
2017-01-30 15:10:42 -05:00
2017-05-02 15:41:22 -04:00
2017-06-07 15:53:24 -04:00
2017-05-10 19:13:03 -07:00
2017-02-09 17:24:29 -05:00
2017-05-10 19:13:03 -07:00
2017-04-07 07:03:33 -07:00
2017-05-24 16:27:14 -04:00
2017-04-06 08:24:51 -07:00
2017-05-18 10:10:44 -04:00
2017-05-31 14:23:38 -04:00
2017-05-08 17:15:14 -07:00
2017-04-20 12:02:32 +01:00
2017-06-08 10:47:21 -04:00
2017-06-06 02:49:15 -07:00
2017-06-07 15:08:10 -04:00
2017-04-20 10:35:33 -04:00
2017-06-05 11:29:54 -04:00
2017-03-09 18:18:37 -08:00
2017-02-12 22:32:17 -05:00
2017-04-07 07:03:33 -07:00
2017-02-12 22:32:17 -05:00
2017-05-08 17:15:14 -07:00
2017-02-26 11:57:58 -05:00
2017-05-03 09:51:24 -04:00
2017-04-07 07:03:33 -07:00
2017-05-04 10:57:41 -04:00
2017-01-30 15:10:42 -05:00
2017-02-17 12:00:14 -05:00
2017-02-17 14:06:41 -05:00
2017-01-30 15:10:42 -05:00
2017-06-02 14:30:58 -04:00
2017-06-04 19:32:09 -04:00
2017-05-10 19:13:03 -07:00
2017-06-06 16:02:22 -04:00
2017-04-06 08:24:51 -07:00
2017-05-08 17:15:13 -07:00
2017-03-02 14:33:49 -08:00
2017-05-12 12:22:53 -04:00
2017-03-06 17:05:39 -08:00
2017-03-06 17:05:39 -08:00
2017-03-06 17:05:39 -08:00
2017-05-10 19:13:03 -07:00
2017-06-06 16:26:28 -04:00
2017-05-15 15:36:08 -04:00
2017-04-13 13:46:38 -04:00
2017-03-27 16:00:07 -07:00
2017-05-15 15:21:03 -04:00
2017-01-30 15:10:42 -05:00
2017-05-08 17:15:14 -07:00
2017-03-12 19:28:07 -07:00
2017-03-12 19:28:07 -07:00
2017-04-06 13:38:11 -07:00
2017-03-06 17:15:41 -08:00
2017-01-30 15:10:42 -05:00
2017-01-08 17:51:44 -05:00
2017-06-06 16:22:51 -04:00
2017-01-17 11:44:27 -05:00
2017-01-17 11:44:27 -05:00
2017-03-09 13:29:27 -08:00
2017-01-30 15:10:42 -05:00
2017-01-30 15:10:42 -05:00
2017-03-09 13:29:27 -08:00