karl beldan
05237f735e
net: davinci_emac: Restore the internal MDIO accessors return values
...
The spatch series converting legacy drivers from miiphy_register to
mdio_register changed the return convention of the davinci_emac internal
MDIO accessors, making the internal code relying on it misbehaving:
no mdiodev get registered and U-Boot crashes when using net cmds in the
context of the old legacy net API.
ATM davinci_emac_initialize and cpu_eth_init don't return a proper value
in that case but fixing them would not avoid the crash.
This change is just a follow-up to the spatch pass, the MDIO accessors
of the mdiodev introduced by the spatch pass retain their proper values.
Signed-off-by: Karl Beldan <karl.beldan+oss@gmail.com >
Acked-by: Joe Hershberger <joe.hershberger@ni.com >
2016-08-22 14:21:20 -05:00
..
2016-08-22 14:21:16 -05:00
2016-04-06 10:26:46 -07:00
2016-05-03 17:52:11 -05:00
2016-08-15 15:29:03 -05:00
2016-08-15 15:29:03 -05:00
2016-05-31 09:38:11 +02:00
2016-01-14 22:11:34 -05:00
2015-11-12 08:26:59 +08:00
2016-08-15 15:26:33 -05:00
2013-07-24 09:44:38 -04:00
2016-08-15 15:26:33 -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
2016-08-15 15:29:03 -05:00
2014-08-30 07:46:39 -04:00
2016-08-15 15:29:03 -05:00
2016-08-15 15:29:03 -05:00
2016-08-15 15:29:03 -05:00
2012-05-23 14:19:21 -05:00
2015-04-18 11:11:33 -06:00
2016-05-24 11:42:03 -05:00
2016-08-12 16:00:50 -04:00
2015-04-18 11:11:33 -06:00
2013-07-24 09:44:38 -04:00
2016-08-22 14:21:20 -05:00
2013-07-24 09:44:38 -04:00
2015-04-18 11:11:33 -06:00
2016-07-06 10:45:00 -05:00
2016-07-06 10:45:00 -05:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:33 -06:00
2016-08-15 13:34:45 -05:00
2016-08-15 13:34:45 -05:00
2016-02-05 12:47:23 +08:00
2016-08-15 15:26:33 -05:00
2016-08-15 15:26:33 -05:00
2013-07-24 09:44:38 -04:00
2016-08-15 15:29:03 -05:00
2013-07-24 09:44:38 -04:00
2016-08-15 13:34:49 -05:00
2016-07-12 17:58:48 +02:00
2013-09-20 17:55:36 +02:00
2016-08-15 15:26:33 -05: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
2016-08-15 15:26:33 -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-08-15 13:34:46 -05:00
2016-08-08 13:32:57 -04: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-08-15 15:29:03 -05:00
2016-08-15 15:26:33 -05:00
2015-08-11 13:27:15 -05:00
2016-07-15 08:34:34 +02:00
2016-08-15 15:26:33 -05:00
2016-08-15 15:29:03 -05:00
2016-08-15 15:26:33 -05:00
2016-08-15 15:26:33 -05:00
2016-08-15 15:26:33 -05:00
2013-07-24 09:44:38 -04:00
2016-01-14 14:08:59 +01:00
2016-04-04 11:21:40 +02:00
2015-04-18 11:11:33 -06:00
2016-05-02 18:37:09 -04: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-05-31 09:38:11 +02: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-07-06 10:45:11 -05:00
2015-07-21 17:39:40 -06:00
2016-01-07 12:18:58 -07:00
2016-08-15 15:26:33 -05:00
2016-05-05 21:39:26 -04:00
2016-08-15 15:29:03 -05: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
2016-07-31 21:45:46 +02: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-04-06 08:34:44 -07:00
2016-04-04 20:28:38 +02:00
2016-05-24 13:17:55 +02: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-05-24 11:42:04 -05:00