aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/faraday
diff options
context:
space:
mode:
authorGreentime Hu <greentime@andestech.com>2017-10-25 03:55:04 -0400
committerGreentime Hu <greentime@andestech.com>2018-02-21 21:44:36 -0500
commiteac8173e7b99b215a386391dc95f5e4d7e4d7085 (patch)
treef411be567462dbec3c1f11e55a5c18b6cbfc283a /drivers/net/ethernet/faraday
parentabe45fd9f1b0ff0fbc537242a6c691083e9d3ac6 (diff)
net: faraday add nds32 support.
This patch is used to support nds32 architecture to use these faraday mac IP. Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/net/ethernet/faraday')
-rw-r--r--drivers/net/ethernet/faraday/Kconfig8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/net/ethernet/faraday/Kconfig b/drivers/net/ethernet/faraday/Kconfig
index 040c7f163325..0fb8df656677 100644
--- a/drivers/net/ethernet/faraday/Kconfig
+++ b/drivers/net/ethernet/faraday/Kconfig
@@ -5,7 +5,7 @@
5config NET_VENDOR_FARADAY 5config NET_VENDOR_FARADAY
6 bool "Faraday devices" 6 bool "Faraday devices"
7 default y 7 default y
8 depends on ARM 8 depends on ARM || NDS32 || COMPILE_TEST
9 ---help--- 9 ---help---
10 If you have a network (Ethernet) card belonging to this class, say Y. 10 If you have a network (Ethernet) card belonging to this class, say Y.
11 11
@@ -18,7 +18,8 @@ if NET_VENDOR_FARADAY
18 18
19config FTMAC100 19config FTMAC100
20 tristate "Faraday FTMAC100 10/100 Ethernet support" 20 tristate "Faraday FTMAC100 10/100 Ethernet support"
21 depends on ARM 21 depends on ARM || NDS32 || COMPILE_TEST
22 depends on !64BIT || BROKEN
22 select MII 23 select MII
23 ---help--- 24 ---help---
24 This driver supports the FTMAC100 10/100 Ethernet controller 25 This driver supports the FTMAC100 10/100 Ethernet controller
@@ -27,7 +28,8 @@ config FTMAC100
27 28
28config FTGMAC100 29config FTGMAC100
29 tristate "Faraday FTGMAC100 Gigabit Ethernet support" 30 tristate "Faraday FTGMAC100 Gigabit Ethernet support"
30 depends on ARM 31 depends on ARM || NDS32 || COMPILE_TEST
32 depends on !64BIT || BROKEN
31 select PHYLIB 33 select PHYLIB
32 ---help--- 34 ---help---
33 This driver supports the FTGMAC100 Gigabit Ethernet controller 35 This driver supports the FTGMAC100 Gigabit Ethernet controller