From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasesh Mody Subject: Subject: [PATCH 6/6] bna: Brocade 10Gb Ethernet device driver Date: Sat, 31 Oct 2009 22:03:14 -0700 Message-ID: <200911010503.nA153ExZ019078@blc-10-10.brocade.com> Mime-Version: 1.0 Content-Type: text/plain Cc: To: Return-path: Received: from hq-exedge.brocade.com ([66.243.153.82]:38686 "EHLO hq-exedge.brocade.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750969AbZKAFDK (ORCPT ); Sun, 1 Nov 2009 01:03:10 -0400 Sender: netdev-owner@vger.kernel.org List-ID: From: Rasesh Mody 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 --- 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: + + + 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