aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-06-15 14:23:00 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-12 06:41:30 -0400
commitb13ad8f498793dc582b7f42f27b8f44490bd608d (patch)
treed0a1acf3e2d89fbc3bbf0d11fd2b60a41057a55c /drivers/net
parent63d24a0eb71b1ec5ed302816379aaf76eecb053c (diff)
xilinx/ll_temac: Move the Xilinx drivers
Move the Xilinx drivers into drivers/net/ethernet/xilinx/ and make the necessary Kconfig and Makefile changes. CC: John Williams <john.williams@petalogix.com> CC: "David H. Lynch Jr." <dhlii@dlasys.net> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/Kconfig15
-rw-r--r--drivers/net/Makefile4
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/xilinx/Kconfig35
-rw-r--r--drivers/net/ethernet/xilinx/Makefile7
-rw-r--r--drivers/net/ethernet/xilinx/ll_temac.h (renamed from drivers/net/ll_temac.h)0
-rw-r--r--drivers/net/ethernet/xilinx/ll_temac_main.c (renamed from drivers/net/ll_temac_main.c)0
-rw-r--r--drivers/net/ethernet/xilinx/ll_temac_mdio.c (renamed from drivers/net/ll_temac_mdio.c)0
-rw-r--r--drivers/net/ethernet/xilinx/xilinx_emaclite.c (renamed from drivers/net/xilinx_emaclite.c)0
10 files changed, 44 insertions, 19 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 996bae006fc..2607a44a270 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -493,13 +493,6 @@ config NET_POCKET
493 the questions about this class of network devices. If you say Y, you 493 the questions about this class of network devices. If you say Y, you
494 will be asked for your specific device in the following questions. 494 will be asked for your specific device in the following questions.
495 495
496config XILINX_EMACLITE
497 tristate "Xilinx 10/100 Ethernet Lite support"
498 depends on PPC32 || MICROBLAZE
499 select PHYLIB
500 help
501 This driver supports the 10/100 Ethernet Lite from Xilinx.
502
503config LANTIQ_ETOP 496config LANTIQ_ETOP
504 tristate "Lantiq SoC ETOP driver" 497 tristate "Lantiq SoC ETOP driver"
505 depends on SOC_TYPE_XWAY 498 depends on SOC_TYPE_XWAY
@@ -539,14 +532,6 @@ config IP1000
539 To compile this driver as a module, choose M here: the module 532 To compile this driver as a module, choose M here: the module
540 will be called ipg. This is recommended. 533 will be called ipg. This is recommended.
541 534
542config XILINX_LL_TEMAC
543 tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver"
544 depends on PPC || MICROBLAZE
545 select PHYLIB
546 help
547 This driver supports the Xilinx 10/100/1000 LocalLink TEMAC
548 core used in Xilinx Spartan and Virtex FPGAs
549
550endif # NETDEV_1000 535endif # NETDEV_1000
551 536
552# 537#
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 271fc52138d..4c7af0286cc 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -33,10 +33,6 @@ obj-$(CONFIG_NET_SB1000) += sb1000.o
33obj-$(CONFIG_HP100) += hp100.o 33obj-$(CONFIG_HP100) += hp100.o
34obj-$(CONFIG_FORCEDETH) += forcedeth.o 34obj-$(CONFIG_FORCEDETH) += forcedeth.o
35 35
36ll_temac-objs := ll_temac_main.o ll_temac_mdio.o
37obj-$(CONFIG_XILINX_LL_TEMAC) += ll_temac.o
38obj-$(CONFIG_XILINX_EMACLITE) += xilinx_emaclite.o
39
40obj-$(CONFIG_PPP) += ppp_generic.o 36obj-$(CONFIG_PPP) += ppp_generic.o
41obj-$(CONFIG_PPP_ASYNC) += ppp_async.o 37obj-$(CONFIG_PPP_ASYNC) += ppp_async.o
42obj-$(CONFIG_PPP_SYNC_TTY) += ppp_synctty.o 38obj-$(CONFIG_PPP_SYNC_TTY) += ppp_synctty.o
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index c29c1457aa9..922f4d1243a 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -82,5 +82,6 @@ source "drivers/net/ethernet/ti/Kconfig"
82source "drivers/net/ethernet/toshiba/Kconfig" 82source "drivers/net/ethernet/toshiba/Kconfig"
83source "drivers/net/ethernet/tundra/Kconfig" 83source "drivers/net/ethernet/tundra/Kconfig"
84source "drivers/net/ethernet/via/Kconfig" 84source "drivers/net/ethernet/via/Kconfig"
85source "drivers/net/ethernet/xilinx/Kconfig"
85 86
86endif # ETHERNET 87endif # ETHERNET
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 8495c507725..fcecd5f474b 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -50,3 +50,4 @@ obj-$(CONFIG_NET_VENDOR_TI) += ti/
50obj-$(CONFIG_NET_VENDOR_TOSHIBA) += toshiba/ 50obj-$(CONFIG_NET_VENDOR_TOSHIBA) += toshiba/
51obj-$(CONFIG_NET_VENDOR_TUNDRA) += tundra/ 51obj-$(CONFIG_NET_VENDOR_TUNDRA) += tundra/
52obj-$(CONFIG_NET_VENDOR_VIA) += via/ 52obj-$(CONFIG_NET_VENDOR_VIA) += via/
53obj-$(CONFIG_NET_VENDOR_XILINX) += xilinx/
diff --git a/drivers/net/ethernet/xilinx/Kconfig b/drivers/net/ethernet/xilinx/Kconfig
new file mode 100644
index 00000000000..4e3aad401cd
--- /dev/null
+++ b/drivers/net/ethernet/xilinx/Kconfig
@@ -0,0 +1,35 @@
1#
2# Xilink device configuration
3#
4
5config NET_VENDOR_XILINX
6 bool "Xilinx devices"
7 depends on PPC || PPC32 || MICROBLAZE
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 Xilinx devices. If you say Y, you will be asked
16 for your specific card in the following questions.
17
18if NET_VENDOR_XILINX
19
20config XILINX_EMACLITE
21 tristate "Xilinx 10/100 Ethernet Lite support"
22 depends on (PPC32 || MICROBLAZE)
23 select PHYLIB
24 ---help---
25 This driver supports the 10/100 Ethernet Lite from Xilinx.
26
27config XILINX_LL_TEMAC
28 tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver"
29 depends on (PPC || MICROBLAZE)
30 select PHYLIB
31 ---help---
32 This driver supports the Xilinx 10/100/1000 LocalLink TEMAC
33 core used in Xilinx Spartan and Virtex FPGAs
34
35endif # NET_VENDOR_XILINX
diff --git a/drivers/net/ethernet/xilinx/Makefile b/drivers/net/ethernet/xilinx/Makefile
new file mode 100644
index 00000000000..5feac734ea4
--- /dev/null
+++ b/drivers/net/ethernet/xilinx/Makefile
@@ -0,0 +1,7 @@
1#
2# Makefile for the Xilink network device drivers.
3#
4
5ll_temac-objs := ll_temac_main.o ll_temac_mdio.o
6obj-$(CONFIG_XILINX_LL_TEMAC) += ll_temac.o
7obj-$(CONFIG_XILINX_EMACLITE) += xilinx_emaclite.o
diff --git a/drivers/net/ll_temac.h b/drivers/net/ethernet/xilinx/ll_temac.h
index 522abe2ff25..522abe2ff25 100644
--- a/drivers/net/ll_temac.h
+++ b/drivers/net/ethernet/xilinx/ll_temac.h
diff --git a/drivers/net/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c
index 728fe414147..728fe414147 100644
--- a/drivers/net/ll_temac_main.c
+++ b/drivers/net/ethernet/xilinx/ll_temac_main.c
diff --git a/drivers/net/ll_temac_mdio.c b/drivers/net/ethernet/xilinx/ll_temac_mdio.c
index 8cf9d4f56bb..8cf9d4f56bb 100644
--- a/drivers/net/ll_temac_mdio.c
+++ b/drivers/net/ethernet/xilinx/ll_temac_mdio.c
diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c
index 8018d7d045b..8018d7d045b 100644
--- a/drivers/net/xilinx_emaclite.c
+++ b/drivers/net/ethernet/xilinx/xilinx_emaclite.c