OSDN Git Service

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)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Nov 2020 23:21:54 +0000 (15:21 -0800)
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>
drivers/net/ethernet/freescale/dpaa2/Kconfig

index cfd369c..c0e05f7 100644 (file)
@@ -4,6 +4,7 @@ config FSL_DPAA2_ETH
        depends on FSL_MC_BUS && FSL_MC_DPIO
        select PHYLINK
        select PCS_LYNX
+       select FSL_XGMAC_MDIO
        help
          This is the DPAA2 Ethernet driver supporting Freescale SoCs
          with DPAA2 (DataPath Acceleration Architecture v2).