Skip to contentSkip to conversation

bna: Brocade 10Gb Ethernet device driver

PATCH Applied Rasesh Mody 1 participant 1 message Aug 23, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 6/6 bna: Brocade 10Gb Ethernet device driver

From: Rasesh Mody <[email protected]>

This is patch 6/6 which contains linux driver source for Brocade's BR1010/BR1020 10Gb CEE capable ethernet adapter. Source is based against net-next-2.6.

We wish this patch to be considered for inclusion in net-next-2.6

---
 MAINTAINERS              |    7 +++++++
 drivers/net/Kconfig      |   14 ++++++++++++++
 drivers/net/Makefile     |    1 +
 drivers/net/bna/Makefile |   11 +++++++++++
 include/linux/pci_ids.h  |    3 +++
 5 files changed, 36 insertions(+)
MAINTAINERS +7 -0
diff -ruP net-next-2.6.35-rc1-orig/MAINTAINERS net-next-2.6.35-rc1-mod/MAINTAINERS
@@ -1380,6 +1380,13 @@
 S:	Supported
 F:	drivers/scsi/bfa/
 
+BROCADE BNA 10 GIGABIT ETHERNET DRIVER
+M:	Rasesh Mody <[email protected]>
+M:	Debashis Dutt <[email protected]>
+L:	[email protected]
+S:	Supported
+F:	drivers/net/bna/
+
 BSG (block layer generic sg v4 driver)
 M:	FUJITA Tomonori <[email protected]>
 L:	[email protected]
drivers/net/Kconfig +14 -0
diff -ruP net-next-2.6.35-rc1-orig/drivers/net/Kconfig net-next-2.6.35-rc1-mod/drivers/net/Kconfig
@@ -2859,6 +2859,20 @@
 	  To compile this driver as a module, choose M here: the module
 	  will be called qlge.
 
+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>
+
 source "drivers/net/sfc/Kconfig"
 
 source "drivers/net/benet/Kconfig"
drivers/net/Makefile +1 -0
diff -ruP net-next-2.6.35-rc1-orig/drivers/net/Makefile net-next-2.6.35-rc1-mod/drivers/net/Makefile
@@ -34,6 +34,7 @@
 obj-$(CONFIG_JME) += jme.o
 obj-$(CONFIG_BE2NET) += benet/
 obj-$(CONFIG_VMXNET3) += vmxnet3/
+obj-$(CONFIG_BNA) += bna/
 
 gianfar_driver-objs := gianfar.o \
 		gianfar_ethtool.o \
drivers/net/bna/Makefile +11 -0
diff -ruP net-next-2.6.35-rc1-orig/drivers/net/bna/Makefile net-next-2.6.35-rc1-mod/drivers/net/bna/Makefile
@@ -0,0 +1,11 @@
+#
+# Copyright (c) 2005-2010 Brocade Communications Systems, Inc.
+# All rights reserved.
+#
+
+obj-$(CONFIG_BNA) += bna.o
+
+bna-objs := bnad.o bnad_ethtool.o bna_ctrl.o bna_txrx.o
+bna-objs += bfa_ioc.o bfa_ioc_ct.o bfa_cee.o cna_fwimg.o
+
+EXTRA_CFLAGS := -Idrivers/net/bna
include/linux/pci_ids.h +3 -0
diff -ruP net-next-2.6.35-rc1-orig/include/linux/pci_ids.h net-next-2.6.35-rc1-mod/include/linux/pci_ids.h
@@ -2188,6 +2188,9 @@
 #define PCI_VENDOR_ID_ARIMA		0x161f
 
 #define PCI_VENDOR_ID_BROCADE		0x1657
+#define PCI_DEVICE_ID_BROCADE_CT	0x0014
+#define PCI_DEVICE_ID_BROCADE_FC_8G1P	0x0017
+#define PCI_DEVICE_ID_BROCADE_CT_FC	0x0021
 
 #define PCI_VENDOR_ID_SIBYTE		0x166d
 #define PCI_DEVICE_ID_BCM1250_PCI	0x0001