WSL2-Linux-Kernel/drivers/net/ethernet/stmicro/stmmac
Romain Perier 6c672c9bf4 stmmac: Don't exit mdio registration when mdio subnode is not found in the DTS
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: e34d65696d ("stmmac: create of compatible mdio bus for stmmac driver")
Signed-off-by: Romain Perier <romain.perier@gmail.com>
Tested-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-01-10 18:02:33 -05:00
..
Kconfig
Makefile
chain_mode.c
common.h stmmac: Fix calculations for ptp counters when clock input = 50Mhz. 2015-12-15 23:20:56 -05:00
descs.h
descs_com.h
dwmac-generic.c
dwmac-ipq806x.c stmmac: ipq806x: Return error values instead of pointers 2015-12-03 15:24:42 -05:00
dwmac-lpc18xx.c
dwmac-meson.c
dwmac-rk.c net: stmmac: fix double-initialization of phy_iface 2015-11-05 14:09:26 -05:00
dwmac-socfpga.c stmmac: socfpga: Provide dt node to config ptp clk source. 2015-12-15 23:20:56 -05:00
dwmac-sti.c stmmac: dwmac-sti: fix st,tx-retime-src check 2015-11-30 14:52:51 -05:00
dwmac-sunxi.c stmmac: dwmac-sunxi: Call exit cleanup function in probe error path 2015-12-14 16:11:59 -05:00
dwmac100.h
dwmac100_core.c
dwmac100_dma.c
dwmac1000.h stmmac: support Reg_9 to get HW level information 2015-12-01 16:06:14 -05:00
dwmac1000_core.c stmmac: support Reg_9 to get HW level information 2015-12-01 16:06:14 -05:00
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: support Reg_9 to get HW level information 2015-12-01 16:06:14 -05:00
stmmac_hwtstamp.c stmmac: Fix calculations for ptp counters when clock input = 50Mhz. 2015-12-15 23:20:56 -05:00
stmmac_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-12-17 22:08:28 -05:00
stmmac_mdio.c stmmac: Don't exit mdio registration when mdio subnode is not found in the DTS 2016-01-10 18:02:33 -05:00
stmmac_pci.c
stmmac_platform.c stmmac: create of compatible mdio bus for stmmac driver 2015-12-15 23:20:56 -05:00
stmmac_platform.h
stmmac_ptp.c
stmmac_ptp.h