]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
xscale: Move the Intel XScale IXP drivers
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 15 Jul 2011 05:13:23 +0000 (22:13 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 11 Aug 2011 23:29:28 +0000 (16:29 -0700)
Move the Intel XScale IXP drivers into drivers/net/ethernet/xscale/
and make the necessary Kconfig and Makefile changes.

CC: Krzysztof Halasa <khc@pm.waw.pl>
CC: Lennert Buytenhek <kernel@wantstofly.org>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
26 files changed:
MAINTAINERS
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/arm/Kconfig
drivers/net/arm/Makefile
drivers/net/ethernet/Kconfig
drivers/net/ethernet/Makefile
drivers/net/ethernet/xscale/Kconfig [new file with mode: 0644]
drivers/net/ethernet/xscale/Makefile [new file with mode: 0644]
drivers/net/ethernet/xscale/ixp2000/Kconfig [moved from drivers/net/ixp2000/Kconfig with 94% similarity]
drivers/net/ethernet/xscale/ixp2000/Makefile [moved from drivers/net/ixp2000/Makefile with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/caleb.c [moved from drivers/net/ixp2000/caleb.c with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/caleb.h [moved from drivers/net/ixp2000/caleb.h with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/enp2611.c [moved from drivers/net/ixp2000/enp2611.c with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/ixp2400-msf.c [moved from drivers/net/ixp2000/ixp2400-msf.c with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/ixp2400-msf.h [moved from drivers/net/ixp2000/ixp2400-msf.h with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/ixp2400_rx.uc [moved from drivers/net/ixp2000/ixp2400_rx.uc with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/ixp2400_rx.ucode [moved from drivers/net/ixp2000/ixp2400_rx.ucode with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/ixp2400_tx.uc [moved from drivers/net/ixp2000/ixp2400_tx.uc with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/ixp2400_tx.ucode [moved from drivers/net/ixp2000/ixp2400_tx.ucode with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/ixpdev.c [moved from drivers/net/ixp2000/ixpdev.c with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/ixpdev.h [moved from drivers/net/ixp2000/ixpdev.h with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/ixpdev_priv.h [moved from drivers/net/ixp2000/ixpdev_priv.h with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/pm3386.c [moved from drivers/net/ixp2000/pm3386.c with 100% similarity]
drivers/net/ethernet/xscale/ixp2000/pm3386.h [moved from drivers/net/ixp2000/pm3386.h with 100% similarity]
drivers/net/ethernet/xscale/ixp4xx_eth.c [moved from drivers/net/arm/ixp4xx_eth.c with 100% similarity]

index 554529d11e99fc6f495e13ff0101e0d7d4ec4e3a..39607a99f9694d7679ae5ccd28cc8db9282c29c9 100644 (file)
@@ -3319,7 +3319,7 @@ F:        arch/arm/mach-ixp4xx/include/mach/qmgr.h
 F:     arch/arm/mach-ixp4xx/include/mach/npe.h
 F:     arch/arm/mach-ixp4xx/ixp4xx_qmgr.c
 F:     arch/arm/mach-ixp4xx/ixp4xx_npe.c
-F:     drivers/net/arm/ixp4xx_eth.c
+F:     drivers/net/ethernet/xscale/ixp4xx_eth.c
 F:     drivers/net/wan/ixp4xx_hss.c
 
 INTEL IXP4XX RANDOM NUMBER GENERATOR SUPPORT
@@ -3331,7 +3331,7 @@ INTEL IXP2000 ETHERNET DRIVER
 M:     Lennert Buytenhek <kernel@wantstofly.org>
 L:     netdev@vger.kernel.org
 S:     Maintained
-F:     drivers/net/ixp2000/
+F:     drivers/net/ethernet/xscale/ixp2000/
 
 INTEL ETHERNET DRIVERS (e100/e1000/e1000e/igb/igbvf/ixgb/ixgbe/ixgbevf)
 M:     Jeff Kirsher <jeffrey.t.kirsher@intel.com>
index 8b1fae89898d3515cce7fba7027a494206f04de2..7f09cd541c3b42c37862ce76b26af6ee53702377 100644 (file)
@@ -989,8 +989,6 @@ config IP1000
          To compile this driver as a module, choose M here: the module
          will be called ipg.  This is recommended.
 
-source "drivers/net/ixp2000/Kconfig"
-
 config HAMACHI
        tristate "Packet Engines Hamachi GNIC-II support"
        depends on PCI
index 843edb3eded763592c8ee564ac4affe594e4a6af..ffcb6090e40f4408c853c000b828c9bf8ab948a8 100644 (file)
@@ -166,7 +166,6 @@ obj-$(CONFIG_NET_TULIP) += tulip/
 obj-$(CONFIG_HAMRADIO) += hamradio/
 obj-$(CONFIG_IRDA) += irda/
 obj-$(CONFIG_ETRAX_ETHERNET) += cris/
-obj-$(CONFIG_ENP2611_MSF_NET) += ixp2000/
 
 obj-$(CONFIG_NETCONSOLE) += netconsole.o
 
index 7848b5f670131e35d1bda98db0dfadbf66333666..4320e88b2ac24f2e83352c1a2af6ba4441b017df 100644 (file)
@@ -34,14 +34,6 @@ config EP93XX_ETH
          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 IXP4XX_ETH
-       tristate "Intel IXP4xx Ethernet support"
-       depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR
-       select PHYLIB
-       help
-         Say Y here if you want to use built-in Ethernet ports
-         on IXP4xx processor.
-
 config W90P910_ETH
        tristate "Nuvoton w90p910 Ethernet support"
        depends on ARM && ARCH_W90X900
index 6cca728b8094aca3f6c27a958dc336646d75b602..5a0f14196cb902658a6fa79ad7be89238bd4860b 100644 (file)
@@ -7,5 +7,4 @@ obj-$(CONFIG_ARM_ETHER3)        += ether3.o
 obj-$(CONFIG_ARM_AT91_ETHER)   += at91_ether.o
 obj-$(CONFIG_ARM_KS8695_ETHER) += ks8695net.o
 obj-$(CONFIG_EP93XX_ETH)       += ep93xx_eth.o
-obj-$(CONFIG_IXP4XX_ETH)       += ixp4xx_eth.o
 obj-$(CONFIG_W90P910_ETH)      += w90p910_ether.o
index efc36651a2b94de635f6022487809088db04eb98..45d3eff86baa1bfd4bcdd70998969fd68b031a08 100644 (file)
@@ -23,6 +23,7 @@ source "drivers/net/ethernet/neterion/Kconfig"
 source "drivers/net/ethernet/ibm/Kconfig"
 source "drivers/net/ethernet/intel/Kconfig"
 source "drivers/net/ethernet/i825xx/Kconfig"
+source "drivers/net/ethernet/xscale/Kconfig"
 source "drivers/net/ethernet/mellanox/Kconfig"
 source "drivers/net/ethernet/myricom/Kconfig"
 source "drivers/net/ethernet/natsemi/Kconfig"
index 668ca92b486312f6901a83f1db11d9b59fb3132e..09536de3a36624858303b597b354adb5c06fe773 100644 (file)
@@ -15,6 +15,7 @@ obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/
 obj-$(CONFIG_NET_VENDOR_IBM) += ibm/
 obj-$(CONFIG_NET_VENDOR_INTEL) += intel/
 obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
+obj-$(CONFIG_NET_VENDOR_XSCALE) += xscale/
 obj-$(CONFIG_NET_VENDOR_MELLANOX) += mellanox/
 obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
 obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
diff --git a/drivers/net/ethernet/xscale/Kconfig b/drivers/net/ethernet/xscale/Kconfig
new file mode 100644 (file)
index 0000000..6bbcc54
--- /dev/null
@@ -0,0 +1,31 @@
+#
+# Intel XScale IXP device configuration
+#
+
+config NET_VENDOR_XSCALE
+       bool "Intel XScale IXP devices"
+       depends on NET_VENDOR_INTEL && ((ARM && ARCH_IXP4XX && \
+                  IXP4XX_NPE && IXP4XX_QMGR) || ARCH_ENP2611)
+       ---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 does not directly affect the
+         kernel: saying N will just cause the configurator to skip all
+         the questions about XSacle IXP devices. If you say Y, you will be
+         asked for your specific card in the following questions.
+
+if NET_VENDOR_XSCALE
+
+config IXP4XX_ETH
+       tristate "Intel IXP4xx Ethernet support"
+       depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR
+       select PHYLIB
+       ---help---
+         Say Y here if you want to use built-in Ethernet ports
+         on IXP4xx processor.
+
+source "drivers/net/ethernet/xscale/ixp2000/Kconfig"
+
+endif # NET_VENDOR_XSCALE
diff --git a/drivers/net/ethernet/xscale/Makefile b/drivers/net/ethernet/xscale/Makefile
new file mode 100644 (file)
index 0000000..b195b9d
--- /dev/null
@@ -0,0 +1,6 @@
+#
+# Makefile for the Intel XScale IXP device drivers.
+#
+
+obj-$(CONFIG_ENP2611_MSF_NET) += ixp2000/
+obj-$(CONFIG_IXP4XX_ETH) += ixp4xx_eth.o
similarity index 94%
rename from drivers/net/ixp2000/Kconfig
rename to drivers/net/ethernet/xscale/ixp2000/Kconfig
index 2fec2415651f16e7ea75fd527a03a0b6c4bb19c7..58dbc5b876bc6b9228d33e3c0c3f5bd8ee304af7 100644 (file)
@@ -1,6 +1,6 @@
 config ENP2611_MSF_NET
        tristate "Radisys ENP2611 MSF network interface support"
        depends on ARCH_ENP2611
-       help
+       ---help---
          This is a driver for the MSF network interface unit in
          the IXP2400 on the Radisys ENP2611 platform.