Subject: [PATCH 6/6] bna: Brocade 10Gb Ethernet device driver
From: Rasesh Mody <hidden>
Date: 2009-11-01 05:03:10
From: Rasesh Mody <redacted> This is patch 6/6 which contains linux driver source for Brocade's BR1010/BR1020 10Gb CEE capable ethernet adapter. Re-based source against net-next-2.6 and re-submitting the patch with few fixes. We wish this patch to be considered for inclusion in net-next-2.6 Signed-off-by: Rasesh Mody <redacted> --- Kconfig | 15 +++++++++++++++ Makefile | 1 + bna/Makefile | 17 +++++++++++++++++ 3 files changed, 33 insertions(+) diff -ruP net-next-2.6-orig/drivers/net/Kconfig net-next-2.6-mod/drivers/net/Kconfig
--- net-next-2.6-orig/drivers/net/Kconfig 2009-10-31 00:44:29.000000000 -0700
+++ net-next-2.6-mod/drivers/net/Kconfig 2009-10-31 21:40:54.515921000 -0700@@ -2757,6 +2757,21 @@ 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"
diff -ruP net-next-2.6-orig/drivers/net/Makefile net-next-2.6-mod/drivers/net/Makefile
--- net-next-2.6-orig/drivers/net/Makefile 2009-10-31 00:44:29.000000000 -0700
+++ net-next-2.6-mod/drivers/net/Makefile 2009-10-31 21:40:54.533912000 -0700@@ -31,6 +31,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 \
diff -ruP net-next-2.6-orig/drivers/net/bna/Makefile net-next-2.6-mod/drivers/net/bna/Makefile
--- net-next-2.6-orig/drivers/net/bna/Makefile 1969-12-31 16:00:00.000000000 -0800
+++ net-next-2.6-mod/drivers/net/bna/Makefile 2009-10-31 21:40:54.561914000 -0700@@ -0,0 +1,17 @@ +# +# Copyright (c) 2005-2008 Brocade Communications Systems, Inc. +# All rights reserved. +# + +obj-$(CONFIG_BNA) += bna.o + +bna-objs := bnad.o bnad_ethtool.o bna_fn.o bna_if.o bna_queue.o \ + bfad_fwimg.o bfa_csdebug.o bfa_sm.o \ + bfa_ioc.o bfa_timer.o \ + bfa_cee.o + +EXTRA_CFLAGS += -Idrivers/net/bna \ + -Idrivers/net/bna/include \ + -Idrivers/net/bna/include/cee \ + -Idrivers/net/bna/include/cna/pstats \ + -Idrivers/net/bna/include/cs