]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
cirrus: Move the Cirrus network driver
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 17 Jul 2011 06:50:52 +0000 (23:50 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 12 Aug 2011 10:40:54 +0000 (03:40 -0700)
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>
MAINTAINERS
drivers/net/arm/Kconfig
drivers/net/arm/Makefile
drivers/net/ethernet/Kconfig
drivers/net/ethernet/Makefile
drivers/net/ethernet/cirrus/Kconfig [new file with mode: 0644]
drivers/net/ethernet/cirrus/Makefile [new file with mode: 0644]
drivers/net/ethernet/cirrus/ep93xx_eth.c [moved from drivers/net/arm/ep93xx_eth.c with 100% similarity]

index 96a2d4732e3f52945527ff9c0f0ab91107856dda..ee4ebb470122b83af46e62bf195cc746809760f8 100644 (file)
@@ -1768,7 +1768,7 @@ CIRRUS LOGIC EP93XX ETHERNET DRIVER
 M:     Hartley Sweeten <hsweeten@visionengravers.com>
 L:     netdev@vger.kernel.org
 S:     Maintained
-F:     drivers/net/arm/ep93xx_eth.c
+F:     drivers/net/ethernet/cirrus/ep93xx_eth.c
 
 CIRRUS LOGIC EP93XX OHCI USB HOST DRIVER
 M:     Lennert Buytenhek <kernel@wantstofly.org>
index 4f748ccdefe2497176f01cdcdbf788fbf0d56e34..fc94b4bd65f715d8d86268b42d7f418b7f89342f 100644 (file)
@@ -11,14 +11,6 @@ config ARM_AT91_ETHER
          If you wish to compile a kernel for the AT91RM9200 and enable
          ethernet support, then you should always answer Y to this.
 
-config EP93XX_ETH
-       tristate "EP93xx Ethernet support"
-       depends on ARM && ARCH_EP93XX
-       select MII
-       help
-         This is a driver for the ethernet hardware included in EP93xx CPUs.
-         Say Y if you are building a kernel for EP93xx based devices.
-
 config W90P910_ETH
        tristate "Nuvoton w90p910 Ethernet support"
        depends on ARM && ARCH_W90X900
index 316b06c94af57a753a63b206ecc0ac3c22ee1cb0..462b3a4fe70a184ee2bcddd1fd2e790a1bf81395 100644 (file)
@@ -4,5 +4,4 @@
 #
 
 obj-$(CONFIG_ARM_AT91_ETHER)   += at91_ether.o
-obj-$(CONFIG_EP93XX_ETH)       += ep93xx_eth.o
 obj-$(CONFIG_W90P910_ETH)      += w90p910_ether.o
index b15b1e2ed3982a0fbf3c07643c1b8c2fbd245f25..ff0740816543b407e15d5ef7a0e85ac3176a7970 100644 (file)
@@ -18,6 +18,7 @@ source "drivers/net/ethernet/atheros/Kconfig"
 source "drivers/net/ethernet/broadcom/Kconfig"
 source "drivers/net/ethernet/brocade/Kconfig"
 source "drivers/net/ethernet/chelsio/Kconfig"
+source "drivers/net/ethernet/cirrus/Kconfig"
 source "drivers/net/ethernet/cisco/Kconfig"
 source "drivers/net/ethernet/dec/Kconfig"
 source "drivers/net/ethernet/dlink/Kconfig"
index 1f45ec9a9dcac4dea34568f449b9666506d64bd2..3a17413a3d95e6e9b18a47a3285ef6c8e7886be7 100644 (file)
@@ -10,6 +10,7 @@ obj-$(CONFIG_NET_VENDOR_ATHEROS) += atheros/
 obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
 obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
 obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
+obj-$(CONFIG_NET_VENDOR_CIRRUS) += cirrus/
 obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
 obj-$(CONFIG_NET_VENDOR_DEC) += dec/
 obj-$(CONFIG_NET_VENDOR_DLINK) += dlink/
diff --git a/drivers/net/ethernet/cirrus/Kconfig b/drivers/net/ethernet/cirrus/Kconfig
new file mode 100644 (file)
index 0000000..53ebe78
--- /dev/null
@@ -0,0 +1,28 @@
+#
+# Cirrus network device configuration
+#
+
+config NET_VENDOR_CIRRUS
+       bool "Cirrus devices"
+       depends on ARM && ARCH_EP93XX
+       ---help---
+         If you have a network (Ethernet) card belonging to this class, say Y
+         and read the Ethernet-HOWTO, available from
+         <http://www.tldp.org/docs.html#howto>.
+
+         Note that the answer to this question doesn't directly affect the
+         kernel: saying N will just cause the configurator to skip all
+         the questions about Cirrus cards. If you say Y, you will be asked
+         for your specific card in the following questions.
+
+if NET_VENDOR_CIRRUS
+
+config EP93XX_ETH
+       tristate "EP93xx Ethernet support"
+       depends on ARM && ARCH_EP93XX
+       select MII
+       help
+         This is a driver for the ethernet hardware included in EP93xx CPUs.
+         Say Y if you are building a kernel for EP93xx based devices.
+
+endif # NET_VENDOR_CIRRUS
diff --git a/drivers/net/ethernet/cirrus/Makefile b/drivers/net/ethernet/cirrus/Makefile
new file mode 100644 (file)
index 0000000..9905ea2
--- /dev/null
@@ -0,0 +1,5 @@
+#
+# Makefile for the Cirrus network device drivers.
+#
+
+obj-$(CONFIG_EP93XX_ETH) += ep93xx_eth.o