aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-07-17 02:50:52 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-12 06:40:54 -0400
commit57d0b7a0d77d0b770682e425ff3fa270c65a4eb5 (patch)
tree2e7181be255386fea20b21d13d92946bdb05f440
parent8c7de408fd2caa11b8b3a1ed8a1b141ce127ad4e (diff)
cirrus: Move the Cirrus network driver
Move the Cirrus Ethernet driver into drivers/net/ethernet/cirrus/ and make the necessary Kconfig and Makefile changes CC: Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--MAINTAINERS2
-rw-r--r--drivers/net/arm/Kconfig8
-rw-r--r--drivers/net/arm/Makefile1
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/cirrus/Kconfig28
-rw-r--r--drivers/net/ethernet/cirrus/Makefile5
-rw-r--r--drivers/net/ethernet/cirrus/ep93xx_eth.c (renamed from drivers/net/arm/ep93xx_eth.c)0
8 files changed, 36 insertions, 10 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 96a2d4732e3..ee4ebb47012 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1768,7 +1768,7 @@ CIRRUS LOGIC EP93XX ETHERNET DRIVER
1768M: Hartley Sweeten <hsweeten@visionengravers.com> 1768M: Hartley Sweeten <hsweeten@visionengravers.com>
1769L: netdev@vger.kernel.org 1769L: netdev@vger.kernel.org
1770S: Maintained 1770S: Maintained
1771F: drivers/net/arm/ep93xx_eth.c 1771F: drivers/net/ethernet/cirrus/ep93xx_eth.c
1772 1772
1773CIRRUS LOGIC EP93XX OHCI USB HOST DRIVER 1773CIRRUS LOGIC EP93XX OHCI USB HOST DRIVER
1774M: Lennert Buytenhek <kernel@wantstofly.org> 1774M: Lennert Buytenhek <kernel@wantstofly.org>
diff --git a/drivers/net/arm/Kconfig b/drivers/net/arm/Kconfig
index 4f748ccdefe..fc94b4bd65f 100644
--- a/drivers/net/arm/Kconfig
+++ b/drivers/net/arm/Kconfig
@@ -11,14 +11,6 @@ config ARM_AT91_ETHER
11 If you wish to compile a kernel for the AT91RM9200 and enable 11 If you wish to compile a kernel for the AT91RM9200 and enable
12 ethernet support, then you should always answer Y to this. 12 ethernet support, then you should always answer Y to this.
13 13
14config EP93XX_ETH
15 tristate "EP93xx Ethernet support"
16 depends on ARM && ARCH_EP93XX
17 select MII
18 help
19 This is a driver for the ethernet hardware included in EP93xx CPUs.
20 Say Y if you are building a kernel for EP93xx based devices.
21
22config W90P910_ETH 14config W90P910_ETH
23 tristate "Nuvoton w90p910 Ethernet support" 15 tristate "Nuvoton w90p910 Ethernet support"
24 depends on ARM && ARCH_W90X900 16 depends on ARM && ARCH_W90X900
diff --git a/drivers/net/arm/Makefile b/drivers/net/arm/Makefile
index 316b06c94af..462b3a4fe70 100644
--- a/drivers/net/arm/Makefile
+++ b/drivers/net/arm/Makefile
@@ -4,5 +4,4 @@
4# 4#
5 5
6obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o 6obj-$(CONFIG_ARM_AT91_ETHER) += at91_ether.o
7obj-$(CONFIG_EP93XX_ETH) += ep93xx_eth.o
8obj-$(CONFIG_W90P910_ETH) += w90p910_ether.o 7obj-$(CONFIG_W90P910_ETH) += w90p910_ether.o
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index b15b1e2ed39..ff074081654 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -18,6 +18,7 @@ source "drivers/net/ethernet/atheros/Kconfig"
18source "drivers/net/ethernet/broadcom/Kconfig" 18source "drivers/net/ethernet/broadcom/Kconfig"
19source "drivers/net/ethernet/brocade/Kconfig" 19source "drivers/net/ethernet/brocade/Kconfig"
20source "drivers/net/ethernet/chelsio/Kconfig" 20source "drivers/net/ethernet/chelsio/Kconfig"
21source "drivers/net/ethernet/cirrus/Kconfig"
21source "drivers/net/ethernet/cisco/Kconfig" 22source "drivers/net/ethernet/cisco/Kconfig"
22source "drivers/net/ethernet/dec/Kconfig" 23source "drivers/net/ethernet/dec/Kconfig"
23source "drivers/net/ethernet/dlink/Kconfig" 24source "drivers/net/ethernet/dlink/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 1f45ec9a9dc..3a17413a3d9 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -10,6 +10,7 @@ obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/
10obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ 10obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
11obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ 11obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
12obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ 12obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
13obj-$(CONFIG_NET_VENDOR_CIRRUS) += cirrus/
13obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/ 14obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
14obj-$(CONFIG_NET_VENDOR_DEC) += dec/ 15obj-$(CONFIG_NET_VENDOR_DEC) += dec/
15obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/ 16obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/
diff --git a/drivers/net/ethernet/cirrus/Kconfig b/drivers/net/ethernet/cirrus/Kconfig
new file mode 100644
index 00000000000..53ebe789917
--- /dev/null
+++ b/drivers/net/ethernet/cirrus/Kconfig
@@ -0,0 +1,28 @@
1#
2# Cirrus network device configuration
3#
4
5config NET_VENDOR_CIRRUS
6 bool "Cirrus devices"
7 depends on ARM && ARCH_EP93XX
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 Cirrus cards. If you say Y, you will be asked
16 for your specific card in the following questions.
17
18if NET_VENDOR_CIRRUS
19
20config EP93XX_ETH
21 tristate "EP93xx Ethernet support"
22 depends on ARM && ARCH_EP93XX
23 select MII
24 help
25 This is a driver for the ethernet hardware included in EP93xx CPUs.
26 Say Y if you are building a kernel for EP93xx based devices.
27
28endif # NET_VENDOR_CIRRUS
diff --git a/drivers/net/ethernet/cirrus/Makefile b/drivers/net/ethernet/cirrus/Makefile
new file mode 100644
index 00000000000..9905ea20f9f
--- /dev/null
+++ b/drivers/net/ethernet/cirrus/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the Cirrus network device drivers.
3#
4
5obj-$(CONFIG_EP93XX_ETH) += ep93xx_eth.o
diff --git a/drivers/net/arm/ep93xx_eth.c b/drivers/net/ethernet/cirrus/ep93xx_eth.c
index 4317af8d2f0..4317af8d2f0 100644
--- a/drivers/net/arm/ep93xx_eth.c
+++ b/drivers/net/ethernet/cirrus/ep93xx_eth.c