enic: Move the Cisco driver
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 14 May 2011 05:20:35 +0000 (22:20 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 11 Aug 2011 09:42:06 +0000 (02:42 -0700)
Move the Cisco driver into drivers/net/ethernet/cisco/ and make the
necessary Kconfig and Makefile changes.

CC: Christian Benvenuti <benve@cisco.com>
CC: Vasanthy Kolluri <vkolluri@cisco.com>
CC: Roopa Prabhu <roprabhu@cisco.com>
CC: David Wang <dwang2@cisco.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
39 files changed:
MAINTAINERS
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ethernet/Kconfig
drivers/net/ethernet/Makefile
drivers/net/ethernet/cisco/Kconfig [new file with mode: 0644]
drivers/net/ethernet/cisco/Makefile [new file with mode: 0644]
drivers/net/ethernet/cisco/enic/Kconfig [new file with mode: 0644]
drivers/net/ethernet/cisco/enic/Makefile [moved from drivers/net/enic/Makefile with 100% similarity]
drivers/net/ethernet/cisco/enic/cq_desc.h [moved from drivers/net/enic/cq_desc.h with 100% similarity]
drivers/net/ethernet/cisco/enic/cq_enet_desc.h [moved from drivers/net/enic/cq_enet_desc.h with 100% similarity]
drivers/net/ethernet/cisco/enic/enic.h [moved from drivers/net/enic/enic.h with 100% similarity]
drivers/net/ethernet/cisco/enic/enic_dev.c [moved from drivers/net/enic/enic_dev.c with 100% similarity]
drivers/net/ethernet/cisco/enic/enic_dev.h [moved from drivers/net/enic/enic_dev.h with 100% similarity]
drivers/net/ethernet/cisco/enic/enic_main.c [moved from drivers/net/enic/enic_main.c with 100% similarity]
drivers/net/ethernet/cisco/enic/enic_pp.c [moved from drivers/net/enic/enic_pp.c with 100% similarity]
drivers/net/ethernet/cisco/enic/enic_pp.h [moved from drivers/net/enic/enic_pp.h with 100% similarity]
drivers/net/ethernet/cisco/enic/enic_res.c [moved from drivers/net/enic/enic_res.c with 100% similarity]
drivers/net/ethernet/cisco/enic/enic_res.h [moved from drivers/net/enic/enic_res.h with 100% similarity]
drivers/net/ethernet/cisco/enic/rq_enet_desc.h [moved from drivers/net/enic/rq_enet_desc.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_cq.c [moved from drivers/net/enic/vnic_cq.c with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_cq.h [moved from drivers/net/enic/vnic_cq.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_dev.c [moved from drivers/net/enic/vnic_dev.c with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_dev.h [moved from drivers/net/enic/vnic_dev.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_devcmd.h [moved from drivers/net/enic/vnic_devcmd.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_enet.h [moved from drivers/net/enic/vnic_enet.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_intr.c [moved from drivers/net/enic/vnic_intr.c with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_intr.h [moved from drivers/net/enic/vnic_intr.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_nic.h [moved from drivers/net/enic/vnic_nic.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_resource.h [moved from drivers/net/enic/vnic_resource.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_rq.c [moved from drivers/net/enic/vnic_rq.c with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_rq.h [moved from drivers/net/enic/vnic_rq.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_rss.h [moved from drivers/net/enic/vnic_rss.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_stats.h [moved from drivers/net/enic/vnic_stats.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_vic.c [moved from drivers/net/enic/vnic_vic.c with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_vic.h [moved from drivers/net/enic/vnic_vic.h with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_wq.c [moved from drivers/net/enic/vnic_wq.c with 100% similarity]
drivers/net/ethernet/cisco/enic/vnic_wq.h [moved from drivers/net/enic/vnic_wq.h with 100% similarity]
drivers/net/ethernet/cisco/enic/wq_enet_desc.h [moved from drivers/net/enic/wq_enet_desc.h with 100% similarity]

index 2fcfa8b..c54e736 100644 (file)
@@ -1761,7 +1761,7 @@ M:        Vasanthy Kolluri <vkolluri@cisco.com>
 M:     Roopa Prabhu <roprabhu@cisco.com>
 M:     David Wang <dwang2@cisco.com>
 S:     Supported
-F:     drivers/net/enic/
+F:     drivers/net/ethernet/cisco/enic/
 
 CIRRUS LOGIC EP93XX ETHERNET DRIVER
 M:     Hartley Sweeten <hsweeten@visionengravers.com>
index 116f744..08ce280 100644 (file)
@@ -1457,12 +1457,6 @@ if NETDEV_10000
 config MDIO
        tristate
 
-config ENIC
-       tristate "Cisco VIC Ethernet NIC Support"
-       depends on PCI && INET
-       help
-         This enables the support for the Cisco VIC Ethernet card.
-
 config PASEMI_MAC
        tristate "PA Semi 1/10Gbit MAC"
        depends on PPC_PASEMI && PCI && INET
index 54146ed..cf1d5a2 100644 (file)
@@ -20,7 +20,6 @@ obj-$(CONFIG_ATL1C) += atl1c/
 obj-$(CONFIG_GIANFAR) += gianfar_driver.o
 obj-$(CONFIG_PTP_1588_CLOCK_GIANFAR) += gianfar_ptp.o
 obj-$(CONFIG_TEHUTI) += tehuti.o
-obj-$(CONFIG_ENIC) += enic/
 obj-$(CONFIG_JME) += jme.o
 obj-$(CONFIG_VMXNET3) += vmxnet3/
 
index f23f1b2..18b634e 100644 (file)
@@ -17,6 +17,7 @@ source "drivers/net/ethernet/amd/Kconfig"
 source "drivers/net/ethernet/broadcom/Kconfig"
 source "drivers/net/ethernet/brocade/Kconfig"
 source "drivers/net/ethernet/chelsio/Kconfig"
+source "drivers/net/ethernet/cisco/Kconfig"
 source "drivers/net/ethernet/emulex/Kconfig"
 source "drivers/net/ethernet/neterion/Kconfig"
 source "drivers/net/ethernet/ibm/Kconfig"
index 27e4da6..288179b 100644 (file)
@@ -8,6 +8,7 @@ obj-$(CONFIG_NET_VENDOR_AMD) += amd/
 obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/
 obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/
 obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/
+obj-$(CONFIG_NET_VENDOR_CISCO) += cisco/
 obj-$(CONFIG_NET_VENDOR_EMULEX) += emulex/
 obj-$(CONFIG_NET_VENDOR_EXAR) += neterion/
 obj-$(CONFIG_NET_VENDOR_IBM) += ibm/
diff --git a/drivers/net/ethernet/cisco/Kconfig b/drivers/net/ethernet/cisco/Kconfig
new file mode 100644 (file)
index 0000000..bbd5348
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# Cisco device configuration
+#
+
+config NET_VENDOR_CISCO
+       bool "Cisco devices"
+       depends on PCI && INET
+       ---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 Cisco cards. If you say Y, you will be asked for
+         your specific card in the following questions.
+
+if NET_VENDOR_CISCO
+
+source "drivers/net/ethernet/cisco/enic/Kconfig"
+
+endif # NET_VENDOR_CISCO
diff --git a/drivers/net/ethernet/cisco/Makefile b/drivers/net/ethernet/cisco/Makefile
new file mode 100644 (file)
index 0000000..6c7437b
--- /dev/null
@@ -0,0 +1,5 @@
+#
+# Makefile for the Cisco device drivers.
+#
+
+obj-$(CONFIG_ENIC) += enic/
diff --git a/drivers/net/ethernet/cisco/enic/Kconfig b/drivers/net/ethernet/cisco/enic/Kconfig
new file mode 100644 (file)
index 0000000..9cc706a
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# Cisco device configuration
+#
+
+config ENIC
+       tristate "Cisco VIC Ethernet NIC Support"
+       depends on PCI && INET
+       ---help---
+         This enables the support for the Cisco VIC Ethernet card.