From patchwork Tue Nov 24 03:51:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasesh Mody X-Patchwork-Id: 39145 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 4C88E1007D7 for ; Tue, 24 Nov 2009 14:51:30 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757957AbZKXDvN (ORCPT ); Mon, 23 Nov 2009 22:51:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757902AbZKXDvM (ORCPT ); Mon, 23 Nov 2009 22:51:12 -0500 Received: from hq-exedge.brocade.com ([66.243.153.82]:53783 "EHLO hq-exedge.brocade.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757948AbZKXDvA (ORCPT ); Mon, 23 Nov 2009 22:51:00 -0500 Received: from hq-exchfe-5.corp.brocade.com (192.168.39.134) by HQ-EXEDGE-1.corp.brocade.com (192.168.39.207) with Microsoft SMTP Server (TLS) id 8.1.393.1; Mon, 23 Nov 2009 19:51:00 -0800 Received: from discus.brocade.com (192.168.126.240) by SJ-hub-1.brocade.com (192.168.39.225) with Microsoft SMTP Server id 8.1.393.1; Mon, 23 Nov 2009 19:51:01 -0800 Received: from blc-10-10.brocade.com (blc-10-10.brocade.com [10.2.2.245]) by discus.brocade.com (Postfix) with ESMTP id 30361238370; Mon, 23 Nov 2009 19:51:01 -0800 (PST) Received: from blc-10-10.brocade.com (localhost.localdomain [127.0.0.1]) by blc-10-10.brocade.com (8.13.1/8.13.1) with ESMTP id nAO3p1C1025646; Mon, 23 Nov 2009 19:51:01 -0800 Received: (from rmody@localhost) by blc-10-10.brocade.com (8.13.1/8.13.1/Submit) id nAO3p1tK025640; Mon, 23 Nov 2009 19:51:01 -0800 Date: Mon, 23 Nov 2009 19:51:01 -0800 From: Rasesh Mody Message-ID: <200911240351.nAO3p1tK025640@blc-10-10.brocade.com> To: Subject: Subject: [PATCH 6/6] bna: Brocade 10Gb Ethernet device driver CC: MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Rasesh Mody 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 Signed-off-by: Rasesh Mody --- Kconfig | 15 +++++++++++++++ Makefile | 1 + bna/Makefile | 14 ++++++++++++++ 3 files changed, 30 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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-11-23 13:47:19.564704000 -0800 @@ -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-11-23 13:47:19.571696000 -0800 @@ -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-11-23 13:47:19.585698000 -0800 @@ -0,0 +1,14 @@ +# +# Copyright (c) 2006-2009 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 +bna-objs += bfad_fwimg.o bfa_csdebug.o bfa_sm.o bfa_ioc.o +bna-objs += bfa_timer.o bfa_cee.o + +EXTRA_CFLAGS := -Idrivers/net/bna -Idrivers/net/bna/include/cee +EXTRA_CFLAGS += -Idrivers/net/bna/include -Idrivers/net/bna/include/cs +EXTRA_CFLAGS += -Idrivers/net/bna/include/cna/pstats