diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-06-21 20:55:27 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-11 19:29:35 -0400 |
commit | baf0fbfe7ea34cd676e3362a62033d8ca1c52d99 (patch) | |
tree | 339eac61055d73c8301169ca46591eb7717b93a9 /drivers | |
parent | b47da97728c045a8fd75f36e59ba08cddc8f2292 (diff) |
ftgmac100/ftmac100: Move the Faraday drivers
Move the Faraday driver into drivers/net/ethernet/faraday/ and
make the necessary Kconfig and Makefile changes.
CC: "Po-Yu Chuang" <ratbert@faraday-tech.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Po-Yu Chuang <ratbert@faraday-tech.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/Kconfig | 18 | ||||
-rw-r--r-- | drivers/net/Makefile | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/faraday/Kconfig | 38 | ||||
-rw-r--r-- | drivers/net/ethernet/faraday/Makefile | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/faraday/ftgmac100.c (renamed from drivers/net/ftgmac100.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/faraday/ftgmac100.h (renamed from drivers/net/ftgmac100.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/faraday/ftmac100.c (renamed from drivers/net/ftmac100.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/faraday/ftmac100.h (renamed from drivers/net/ftmac100.h) | 0 |
10 files changed, 46 insertions, 20 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 7f09cd541c3b..8da9f9620680 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -922,15 +922,6 @@ config XILINX_EMACLITE | |||
922 | help | 922 | help |
923 | This driver supports the 10/100 Ethernet Lite from Xilinx. | 923 | This driver supports the 10/100 Ethernet Lite from Xilinx. |
924 | 924 | ||
925 | config FTMAC100 | ||
926 | tristate "Faraday FTMAC100 10/100 Ethernet support" | ||
927 | depends on ARM | ||
928 | select MII | ||
929 | help | ||
930 | This driver supports the FTMAC100 10/100 Ethernet controller | ||
931 | from Faraday. It is used on Faraday A320, Andes AG101 and some | ||
932 | other ARM/NDS32 SoC's. | ||
933 | |||
934 | config LANTIQ_ETOP | 925 | config LANTIQ_ETOP |
935 | tristate "Lantiq SoC ETOP driver" | 926 | tristate "Lantiq SoC ETOP driver" |
936 | depends on SOC_TYPE_XWAY | 927 | depends on SOC_TYPE_XWAY |
@@ -1286,15 +1277,6 @@ config PCH_GBE | |||
1286 | ML7223 is companion chip for Intel Atom E6xx series. | 1277 | ML7223 is companion chip for Intel Atom E6xx series. |
1287 | ML7223 is completely compatible for Intel EG20T PCH. | 1278 | ML7223 is completely compatible for Intel EG20T PCH. |
1288 | 1279 | ||
1289 | config FTGMAC100 | ||
1290 | tristate "Faraday FTGMAC100 Gigabit Ethernet support" | ||
1291 | depends on ARM | ||
1292 | select PHYLIB | ||
1293 | help | ||
1294 | This driver supports the FTGMAC100 Gigabit Ethernet controller | ||
1295 | from Faraday. It is used on Faraday A369, Andes AG102 and some | ||
1296 | other ARM/NDS32 SoC's. | ||
1297 | |||
1298 | endif # NETDEV_1000 | 1280 | endif # NETDEV_1000 |
1299 | 1281 | ||
1300 | # | 1282 | # |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index ffcb6090e40f..0b341dc04c13 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -79,8 +79,6 @@ ifeq ($(CONFIG_FEC_MPC52xx_MDIO),y) | |||
79 | obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx_phy.o | 79 | obj-$(CONFIG_FEC_MPC52xx) += fec_mpc52xx_phy.o |
80 | endif | 80 | endif |
81 | obj-$(CONFIG_FORCEDETH) += forcedeth.o | 81 | obj-$(CONFIG_FORCEDETH) += forcedeth.o |
82 | obj-$(CONFIG_FTGMAC100) += ftgmac100.o | ||
83 | obj-$(CONFIG_FTMAC100) += ftmac100.o | ||
84 | 82 | ||
85 | obj-$(CONFIG_TSI108_ETH) += tsi108_eth.o | 83 | obj-$(CONFIG_TSI108_ETH) += tsi108_eth.o |
86 | obj-$(CONFIG_MV643XX_ETH) += mv643xx_eth.o | 84 | obj-$(CONFIG_MV643XX_ETH) += mv643xx_eth.o |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index 45d3eff86baa..110071ec4ce6 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -20,6 +20,7 @@ source "drivers/net/ethernet/chelsio/Kconfig" | |||
20 | source "drivers/net/ethernet/cisco/Kconfig" | 20 | source "drivers/net/ethernet/cisco/Kconfig" |
21 | source "drivers/net/ethernet/emulex/Kconfig" | 21 | source "drivers/net/ethernet/emulex/Kconfig" |
22 | source "drivers/net/ethernet/neterion/Kconfig" | 22 | source "drivers/net/ethernet/neterion/Kconfig" |
23 | source "drivers/net/ethernet/faraday/Kconfig" | ||
23 | source "drivers/net/ethernet/ibm/Kconfig" | 24 | source "drivers/net/ethernet/ibm/Kconfig" |
24 | source "drivers/net/ethernet/intel/Kconfig" | 25 | source "drivers/net/ethernet/intel/Kconfig" |
25 | source "drivers/net/ethernet/i825xx/Kconfig" | 26 | source "drivers/net/ethernet/i825xx/Kconfig" |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index 09536de3a366..4a6edf7141d2 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -12,6 +12,7 @@ obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ | |||
12 | obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/ | 12 | obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/ |
13 | obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ | 13 | obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/ |
14 | obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/ | 14 | obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/ |
15 | obj-$(CONFIG_NET_VENDOR_FARADAY) += faraday/ | ||
15 | obj-$(CONFIG_NET_VENDOR_IBM) += ibm/ | 16 | obj-$(CONFIG_NET_VENDOR_IBM) += ibm/ |
16 | obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ | 17 | obj-$(CONFIG_NET_VENDOR_INTEL) += intel/ |
17 | obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ | 18 | obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/ |
diff --git a/drivers/net/ethernet/faraday/Kconfig b/drivers/net/ethernet/faraday/Kconfig new file mode 100644 index 000000000000..b0d76f01d47b --- /dev/null +++ b/drivers/net/ethernet/faraday/Kconfig | |||
@@ -0,0 +1,38 @@ | |||
1 | # | ||
2 | # Faraday device configuration | ||
3 | # | ||
4 | |||
5 | config NET_VENDOR_FARADAY | ||
6 | bool "Faraday devices" | ||
7 | depends on ARM | ||
8 | ---help--- | ||
9 | If you have a network (Ethernet) card belonging to this class, say Y | ||
10 | and read the Ethernet-HOWTO, available from | ||
11 | <http://www.tldp.org/docs.html#howto>. | ||
12 | |||
13 | Note that the answer to this question doesn't directly affect the | ||
14 | kernel: saying N will just cause the configurator to skip all | ||
15 | the questions about Faraday cards. If you say Y, you will be asked for | ||
16 | your specific card in the following questions. | ||
17 | |||
18 | if NET_VENDOR_FARADAY | ||
19 | |||
20 | config FTMAC100 | ||
21 | tristate "Faraday FTMAC100 10/100 Ethernet support" | ||
22 | depends on ARM | ||
23 | select MII | ||
24 | ---help--- | ||
25 | This driver supports the FTMAC100 10/100 Ethernet controller | ||
26 | from Faraday. It is used on Faraday A320, Andes AG101 and some | ||
27 | other ARM/NDS32 SoC's. | ||
28 | |||
29 | config FTGMAC100 | ||
30 | tristate "Faraday FTGMAC100 Gigabit Ethernet support" | ||
31 | depends on ARM | ||
32 | select PHYLIB | ||
33 | ---help--- | ||
34 | This driver supports the FTGMAC100 Gigabit Ethernet controller | ||
35 | from Faraday. It is used on Faraday A369, Andes AG102 and some | ||
36 | other ARM/NDS32 SoC's. | ||
37 | |||
38 | endif # NET_VENDOR_FARADAY | ||
diff --git a/drivers/net/ethernet/faraday/Makefile b/drivers/net/ethernet/faraday/Makefile new file mode 100644 index 000000000000..408b53980d53 --- /dev/null +++ b/drivers/net/ethernet/faraday/Makefile | |||
@@ -0,0 +1,6 @@ | |||
1 | # | ||
2 | # Makefile for the Faraday device drivers. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_FTGMAC100) += ftgmac100.o | ||
6 | obj-$(CONFIG_FTMAC100) += ftmac100.o | ||
diff --git a/drivers/net/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index 54709af917e9..54709af917e9 100644 --- a/drivers/net/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c | |||
diff --git a/drivers/net/ftgmac100.h b/drivers/net/ethernet/faraday/ftgmac100.h index 13408d448b05..13408d448b05 100644 --- a/drivers/net/ftgmac100.h +++ b/drivers/net/ethernet/faraday/ftgmac100.h | |||
diff --git a/drivers/net/ftmac100.c b/drivers/net/ethernet/faraday/ftmac100.c index 9bd7746cbfcf..9bd7746cbfcf 100644 --- a/drivers/net/ftmac100.c +++ b/drivers/net/ethernet/faraday/ftmac100.c | |||
diff --git a/drivers/net/ftmac100.h b/drivers/net/ethernet/faraday/ftmac100.h index 46a0c47b1ee1..46a0c47b1ee1 100644 --- a/drivers/net/ftmac100.h +++ b/drivers/net/ethernet/faraday/ftmac100.h | |||