Files
u-boot-tk1-som/drivers/net
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-08-15 15:29:03 -05:00
2010-07-12 00:14:29 -07:00
2016-08-12 16:00:50 -04:00
2016-02-05 12:47:23 +08: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-08-15 15:29:03 -05:00
2016-01-14 14:08:59 +01:00
2016-05-02 18:37:09 -04: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
2016-08-15 15:29:03 -05:00
2015-09-11 17:14:43 -04:00
2015-09-11 17:14:43 -04:00