Allow the Faraday vendor menu and FTGMAC100 driver to be selected on ARM64 so AST2700 platforms can enable the MAC. The driver now programs the upper DMA address fields, so it no longer needs to be marked BROKEN for 64-bit builds. Keep selecting the Aspeed MDIO controller for MACH_ASPEED_G6 and also select it for ARCH_ASPEED. This preserves the existing AST2600 dependency while covering newer Aspeed SoCs that use the common ARCH symbol. Signed-off-by: Jacky Chou --- drivers/net/ethernet/faraday/Kconfig | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/faraday/Kconfig b/drivers/net/ethernet/faraday/Kconfig index 474073c7f94d..dea6dcfc9ab5 100644 --- a/drivers/net/ethernet/faraday/Kconfig +++ b/drivers/net/ethernet/faraday/Kconfig @@ -6,7 +6,7 @@ config NET_VENDOR_FARADAY bool "Faraday devices" default y - depends on ARM || COMPILE_TEST + depends on ARM || ARM64 || COMPILE_TEST help If you have a network (Ethernet) card belonging to this class, say Y. @@ -28,11 +28,10 @@ config FTMAC100 config FTGMAC100 tristate "Faraday FTGMAC100 Gigabit Ethernet support" - depends on ARM || COMPILE_TEST - depends on !64BIT || BROKEN + depends on ARM || ARM64 || COMPILE_TEST select PHYLIB select FIXED_PHY - select MDIO_ASPEED if MACH_ASPEED_G6 + select MDIO_ASPEED if MACH_ASPEED_G6 || ARCH_ASPEED select CRC32 help This driver supports the FTGMAC100 Gigabit Ethernet controller -- 2.34.1