• karl beldan's avatar
    net: davinci_emac: Restore the internal MDIO accessors return values · 05237f73
    karl beldan authored
    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: default avatarKarl Beldan <karl.beldan+oss@gmail.com>
    Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
    05237f73
Name
Last commit
Last update
..
fm Loading commit data...
fsl-mc Loading commit data...
ldpaa_eth Loading commit data...
phy Loading commit data...
4xx_enet.c Loading commit data...
8390.h Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
ag7xxx.c Loading commit data...
altera_tse.c Loading commit data...
altera_tse.h Loading commit data...
armada100_fec.c Loading commit data...
armada100_fec.h Loading commit data...
at91_emac.c Loading commit data...
ax88180.c Loading commit data...
ax88180.h Loading commit data...
ax88796.c Loading commit data...
ax88796.h Loading commit data...
bcm-sf2-eth-gmac.c Loading commit data...
bcm-sf2-eth-gmac.h Loading commit data...
bcm-sf2-eth.c Loading commit data...
bcm-sf2-eth.h Loading commit data...
bfin_mac.c Loading commit data...
bfin_mac.h Loading commit data...
calxedaxgmac.c Loading commit data...
cpsw-common.c Loading commit data...
cpsw.c Loading commit data...
cs8900.c Loading commit data...
cs8900.h Loading commit data...
davinci_emac.c Loading commit data...
davinci_emac.h Loading commit data...
dc2114x.c Loading commit data...
designware.c Loading commit data...
designware.h Loading commit data...
dm9000x.c Loading commit data...
dm9000x.h Loading commit data...
dnet.c Loading commit data...
dnet.h Loading commit data...
e1000.c Loading commit data...
e1000.h Loading commit data...
e1000_spi.c Loading commit data...
eepro100.c Loading commit data...
enc28j60.c Loading commit data...
enc28j60.h Loading commit data...
ep93xx_eth.c Loading commit data...
ep93xx_eth.h Loading commit data...
ethoc.c Loading commit data...
fec_mxc.c Loading commit data...
fec_mxc.h Loading commit data...
fsl_mcdmafec.c Loading commit data...
fsl_mdio.c Loading commit data...
ftgmac100.c Loading commit data...
ftgmac100.h Loading commit data...
ftmac100.c Loading commit data...
ftmac100.h Loading commit data...
ftmac110.c Loading commit data...
ftmac110.h Loading commit data...
greth.c Loading commit data...
greth.h Loading commit data...
keystone_net.c Loading commit data...
ks8851_mll.c Loading commit data...
ks8851_mll.h Loading commit data...
lan91c96.c Loading commit data...
lan91c96.h Loading commit data...
lpc32xx_eth.c Loading commit data...
macb.c Loading commit data...
macb.h Loading commit data...
mcffec.c Loading commit data...
mcfmii.c Loading commit data...
mpc512x_fec.c Loading commit data...
mpc512x_fec.h Loading commit data...
mpc5xxx_fec.c Loading commit data...
mpc5xxx_fec.h Loading commit data...
mvgbe.c Loading commit data...
mvgbe.h Loading commit data...
mvneta.c Loading commit data...
mvpp2.c Loading commit data...
natsemi.c Loading commit data...
ne2000.c Loading commit data...
ne2000.h Loading commit data...
ne2000_base.c Loading commit data...
ne2000_base.h Loading commit data...
netconsole.c Loading commit data...
ns8382x.c Loading commit data...
pch_gbe.c Loading commit data...
pch_gbe.h Loading commit data...
pcnet.c Loading commit data...
pic32_eth.c Loading commit data...
pic32_eth.h Loading commit data...
pic32_mdio.c Loading commit data...
rtl8139.c Loading commit data...
rtl8169.c Loading commit data...
sandbox-raw.c Loading commit data...
sandbox.c Loading commit data...
sh_eth.c Loading commit data...
sh_eth.h Loading commit data...
smc91111.c Loading commit data...
smc91111.h Loading commit data...
smc911x.c Loading commit data...
smc911x.h Loading commit data...
sun8i_emac.c Loading commit data...
sunxi_emac.c Loading commit data...
tsec.c Loading commit data...
tsi108_eth.c Loading commit data...
uli526x.c Loading commit data...
vsc7385.c Loading commit data...
vsc9953.c Loading commit data...
xilinx_axi_emac.c Loading commit data...
xilinx_emaclite.c Loading commit data...
xilinx_ll_temac.c Loading commit data...
xilinx_ll_temac.h Loading commit data...
xilinx_ll_temac_fifo.c Loading commit data...
xilinx_ll_temac_fifo.h Loading commit data...
xilinx_ll_temac_mdio.c Loading commit data...
xilinx_ll_temac_mdio.h Loading commit data...
xilinx_ll_temac_sdma.c Loading commit data...
xilinx_ll_temac_sdma.h Loading commit data...
zynq_gem.c Loading commit data...