]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
bna: Move the Brocade driver
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 13 May 2011 08:00:03 +0000 (01:00 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 11 Aug 2011 09:41:14 +0000 (02:41 -0700)
Moves the Brocade driver into drivers/net/ethernet/brocade/ and make
the necessary Kconfig and Makefile changes.

CC: Rasesh Mody <rmody@brocade.com>
CC: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
33 files changed:
MAINTAINERS
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ethernet/Kconfig
drivers/net/ethernet/Makefile
drivers/net/ethernet/brocade/Kconfig [new file with mode: 0644]
drivers/net/ethernet/brocade/Makefile [new file with mode: 0644]
drivers/net/ethernet/brocade/bna/Kconfig [new file with mode: 0644]
drivers/net/ethernet/brocade/bna/Makefile [moved from drivers/net/bna/Makefile with 100% similarity]
drivers/net/ethernet/brocade/bna/bfa_cee.c [moved from drivers/net/bna/bfa_cee.c with 100% similarity]
drivers/net/ethernet/brocade/bna/bfa_cee.h [moved from drivers/net/bna/bfa_cee.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bfa_cs.h [moved from drivers/net/bna/bfa_cs.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bfa_defs.h [moved from drivers/net/bna/bfa_defs.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bfa_defs_cna.h [moved from drivers/net/bna/bfa_defs_cna.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bfa_defs_mfg_comm.h [moved from drivers/net/bna/bfa_defs_mfg_comm.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bfa_defs_status.h [moved from drivers/net/bna/bfa_defs_status.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bfa_ioc.c [moved from drivers/net/bna/bfa_ioc.c with 100% similarity]
drivers/net/ethernet/brocade/bna/bfa_ioc.h [moved from drivers/net/bna/bfa_ioc.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bfa_ioc_ct.c [moved from drivers/net/bna/bfa_ioc_ct.c with 100% similarity]
drivers/net/ethernet/brocade/bna/bfi.h [moved from drivers/net/bna/bfi.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bfi_cna.h [moved from drivers/net/bna/bfi_cna.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bfi_ll.h [moved from drivers/net/bna/bfi_ll.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bfi_reg.h [moved from drivers/net/bna/bfi_reg.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bna.h [moved from drivers/net/bna/bna.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bna_ctrl.c [moved from drivers/net/bna/bna_ctrl.c with 100% similarity]
drivers/net/ethernet/brocade/bna/bna_hw.h [moved from drivers/net/bna/bna_hw.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bna_txrx.c [moved from drivers/net/bna/bna_txrx.c with 100% similarity]
drivers/net/ethernet/brocade/bna/bna_types.h [moved from drivers/net/bna/bna_types.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bnad.c [moved from drivers/net/bna/bnad.c with 100% similarity]
drivers/net/ethernet/brocade/bna/bnad.h [moved from drivers/net/bna/bnad.h with 100% similarity]
drivers/net/ethernet/brocade/bna/bnad_ethtool.c [moved from drivers/net/bna/bnad_ethtool.c with 100% similarity]
drivers/net/ethernet/brocade/bna/cna.h [moved from drivers/net/bna/cna.h with 100% similarity]
drivers/net/ethernet/brocade/bna/cna_fwimg.c [moved from drivers/net/bna/cna_fwimg.c with 100% similarity]

index 7e51969ee05b1d45c3250da9919cf5568a6cbd56..0613e60fa6457a3c1c57521ae6bf58114d643830 100644 (file)
@@ -1576,7 +1576,7 @@ M:        Rasesh Mody <rmody@brocade.com>
 M:     Debashis Dutt <ddutt@brocade.com>
 L:     netdev@vger.kernel.org
 S:     Supported
-F:     drivers/net/bna/
+F:     drivers/net/ethernet/brocade/bna/
 
 BSG (block layer generic sg v4 driver)
 M:     FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
index db03c21af203f6797db0d0b3d1c302716b7c10b9..2701ee9190a18a665314b820e3c8e5c3b81160c1 100644 (file)
@@ -1584,20 +1584,6 @@ config TEHUTI
        help
          Tehuti Networks 10G Ethernet NIC
 
-config BNA
-       tristate "Brocade 1010/1020 10Gb Ethernet Driver support"
-       depends on PCI
-       ---help---
-         This driver supports Brocade 1010/1020 10Gb CEE capable Ethernet
-         cards.
-         To compile this driver as a module, choose M here: the module
-         will be called bna.
-
-         For general information and support, go to the Brocade support
-         website at:
-
-         <http://support.brocade.com>
-
 endif # NETDEV_10000
 
 source "drivers/net/tokenring/Kconfig"
index 39b04e071af0fb532ea4973e0b954b9bb2f43602..c8a176f585a3688ba68b65c91994d962f24edfe4 100644 (file)
@@ -25,7 +25,6 @@ obj-$(CONFIG_TEHUTI) += tehuti.o
 obj-$(CONFIG_ENIC) += enic/
 obj-$(CONFIG_JME) += jme.o
 obj-$(CONFIG_VMXNET3) += vmxnet3/
-obj-$(CONFIG_BNA) += bna/
 
 gianfar_driver-objs := gianfar.o \
                gianfar_ethtool.o \
index 9c003f363a9d1c243f0c8bfdc9d95bdf6d5f1e66..225918df224d13a708764eb1db5ba8bbc8e39027 100644 (file)
@@ -15,6 +15,7 @@ source "drivers/net/ethernet/3com/Kconfig"
 source "drivers/net/ethernet/8390/Kconfig"
 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/emulex/Kconfig"
 source "drivers/net/ethernet/intel/Kconfig"
index 2ac05bacab8fa2a308a8ffddcea110d3c0697595..734f7c9d6649eadde0bc76a8dd8b637cdbffa19d 100644 (file)
@@ -6,6 +6,7 @@ obj-$(CONFIG_NET_VENDOR_3COM) += 3com/
 obj-$(CONFIG_NET_VENDOR_8390) += 8390/
 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_EMULEX) += emulex/
 obj-$(CONFIG_NET_VENDOR_INTEL) += intel/
diff --git a/drivers/net/ethernet/brocade/Kconfig b/drivers/net/ethernet/brocade/Kconfig
new file mode 100644 (file)
index 0000000..03f0b17
--- /dev/null
@@ -0,0 +1,22 @@
+#
+# Brocade device configuration
+#
+
+config NET_VENDOR_BROCADE
+       bool "Brocade devices"
+       depends on PCI
+       ---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 Brocade cards. If you say Y, you will be asked for
+         your specific card in the following questions.
+
+if NET_VENDOR_BROCADE
+
+source "drivers/net/ethernet/brocade/bna/Kconfig"
+
+endif # NET_VENDOR_BROCADE
diff --git a/drivers/net/ethernet/brocade/Makefile b/drivers/net/ethernet/brocade/Makefile
new file mode 100644 (file)
index 0000000..b58238d
--- /dev/null
@@ -0,0 +1,5 @@
+#
+# Makefile for the Brocade device drivers.
+#
+
+obj-$(CONFIG_BNA) += bna/
diff --git a/drivers/net/ethernet/brocade/bna/Kconfig b/drivers/net/ethernet/brocade/bna/Kconfig
new file mode 100644 (file)
index 0000000..dc2eb52
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Brocade network device configuration
+#
+
+config BNA
+       tristate "Brocade 1010/1020 10Gb Ethernet Driver support"
+       depends on PCI
+       ---help---
+         This driver supports Brocade 1010/1020 10Gb CEE capable Ethernet
+         cards.
+         To compile this driver as a module, choose M here: the module
+         will be called bna.
+
+         For general information and support, go to the Brocade support
+         website at:
+
+         <http://support.brocade.com>