net: ftgmac100: Select ASPEED MDIO driver for the AST2600
authorAndrew Jeffery <andrew@aj.id.au>
Wed, 31 Jul 2019 05:39:59 +0000 (15:09 +0930)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Aug 2019 00:56:28 +0000 (17:56 -0700)
Ensures we can talk to a PHY via MDIO on the AST2600, as the MDIO
controller is now separate from the MAC.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/faraday/Kconfig

index a9b105803fb7dc3a8032f5b81d01b44b7781ade4..73e4f2648e495bf255ba7ddc2c71cd81d5ffdde1 100644 (file)
@@ -32,6 +32,7 @@ config FTGMAC100
        depends on ARM || NDS32 || COMPILE_TEST
        depends on !64BIT || BROKEN
        select PHYLIB
+       select MDIO_ASPEED if MACH_ASPEED_G6
        ---help---
          This driver supports the FTGMAC100 Gigabit Ethernet controller
          from Faraday. It is used on Faraday A369, Andes AG102 and some