• 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
..
adc Loading commit data...
bios_emulator Loading commit data...
block Loading commit data...
bootcount Loading commit data...
clk Loading commit data...
core Loading commit data...
cpu Loading commit data...
crypto Loading commit data...
ddr Loading commit data...
demo Loading commit data...
dfu Loading commit data...
dma Loading commit data...
fpga Loading commit data...
gpio Loading commit data...
hwmon Loading commit data...
i2c Loading commit data...
input Loading commit data...
led Loading commit data...
mailbox Loading commit data...
memory Loading commit data...
misc Loading commit data...
mmc Loading commit data...
mtd Loading commit data...
net Loading commit data...
pch Loading commit data...
pci Loading commit data...
pcmcia Loading commit data...
pinctrl Loading commit data...
power Loading commit data...
pwm Loading commit data...
qe Loading commit data...
ram Loading commit data...
remoteproc Loading commit data...
reset Loading commit data...
rtc Loading commit data...
serial Loading commit data...
soc Loading commit data...
sound Loading commit data...
spi Loading commit data...
spmi Loading commit data...
sysreset Loading commit data...
thermal Loading commit data...
timer Loading commit data...
tpm Loading commit data...
twserial Loading commit data...
usb Loading commit data...
video Loading commit data...
watchdog Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...