]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Fixed link does not need MDIO Bus
authorJose Abreu <Jose.Abreu@synopsys.com>
Tue, 7 Jan 2020 12:35:42 +0000 (13:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2020 21:40:29 +0000 (13:40 -0800)
commit3e333561e8eb52d45f9c4279270e69645d35ef01
tree70c0987bbeb51f3169fd2df0b0f74a43cff02cf0
parent1bacda5ce94d03aba141b9576545e112c234e48a
net: stmmac: Fixed link does not need MDIO Bus

When using fixed link we don't need the MDIO bus support.

Reported-by: Heiko Stuebner <heiko@sntech.de>
Reported-by: kernelci.org bot <bot@kernelci.org>
Fixes: 4534b843f7c8 ("net: stmmac: platform: Fix MDIO init for platforms without PHY")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Acked-by: Sriram Dash <Sriram.dash@samsung.com>
Tested-by: Patrice Chotard <patrice.chotard@st.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail> # Lamobo R1 (fixed-link + MDIO sub node for roboswitch).
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c