dpaa2-eth: select XGMAC_MDIO for MDIO bus support
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 19 Nov 2020 14:51:06 +0000 (16:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Dec 2020 07:51:55 +0000 (08:51 +0100)
[ Upstream commit d2624e70a2f53b6f402fdaeabe7db798148618c5 ]

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

Fixes: 719479230893 ("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>
drivers/net/ethernet/freescale/dpaa2/Kconfig

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