6c672c9bf4
Originally, most of the platforms using this driver did not define an mdio subnode
in the devicetree. Commit e34d65 ("stmmac: create of compatible mdio bus for stmmac driver")
introduced a backward compatibily issue by using of_mdiobus_register explicitly
with an mdio subnode. This patch fixes the issue by calling the function
mdiobus_register, when mdio subnode is not found. The driver is now compatible
with both modes.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
chain_mode.c | ||
common.h | ||
descs.h | ||
descs_com.h | ||
dwmac-generic.c | ||
dwmac-ipq806x.c | ||
dwmac-lpc18xx.c | ||
dwmac-meson.c | ||
dwmac-rk.c | ||
dwmac-socfpga.c | ||
dwmac-sti.c | ||
dwmac-sunxi.c | ||
dwmac100.h | ||
dwmac100_core.c | ||
dwmac100_dma.c | ||
dwmac1000.h | ||
dwmac1000_core.c | ||
dwmac1000_dma.c | ||
dwmac_dma.h | ||
dwmac_lib.c | ||
enh_desc.c | ||
mmc.h | ||
mmc_core.c | ||
norm_desc.c | ||
ring_mode.c | ||
stmmac.h | ||
stmmac_ethtool.c | ||
stmmac_hwtstamp.c | ||
stmmac_main.c | ||
stmmac_mdio.c | ||
stmmac_pci.c | ||
stmmac_platform.c | ||
stmmac_platform.h | ||
stmmac_ptp.c | ||
stmmac_ptp.h |