dpaa2-eth: select XGMAC_MDIO for MDIO bus support

[ Upstream commit d2624e70a2 ]

Explicitly enable the FSL_XGMAC_MDIO Kconfig option in order to have
MDIO access to internal and external PHYs.

Fixes: 7194792308 ("dpaa2-eth: add MAC/PHY support through phylink")
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20201119145106.712761-1-ciorneiioana@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Ioana Ciornei
2020-11-19 16:51:06 +02:00
committed by Greg Kroah-Hartman
parent db7fdde050
commit 9ad73b2c79

View File

@@ -3,6 +3,7 @@ config FSL_DPAA2_ETH
tristate "Freescale DPAA2 Ethernet" tristate "Freescale DPAA2 Ethernet"
depends on FSL_MC_BUS && FSL_MC_DPIO depends on FSL_MC_BUS && FSL_MC_DPIO
select PHYLINK select PHYLINK
select FSL_XGMAC_MDIO
help help
This is the DPAA2 Ethernet driver supporting Freescale SoCs This is the DPAA2 Ethernet driver supporting Freescale SoCs
with DPAA2 (DataPath Acceleration Architecture v2). with DPAA2 (DataPath Acceleration Architecture v2).