lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201008232129.o7NLTOP2002981@blc-10-10.brocade.com>
Date:	Mon, 23 Aug 2010 14:29:24 -0700
From:	Rasesh Mody <rmody@...cade.com>
To:	<netdev@...r.kernel.org>
CC:	<amathur@...cade.com>, <ddutt@...cade.com>, <huangj@...cade.com>,
	<rmody@...cade.com>
Subject: [PATCH 6/6] bna: Brocade 10Gb Ethernet device driver

From: Rasesh Mody <rmody@...cade.com>

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: Debashis Dutt <ddutt@...cade.com>
Signed-off-by: Rasesh Mody <rmody@...cade.com>
---
 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(+)

diff -ruP net-next-2.6.35-rc1-orig/MAINTAINERS net-next-2.6.35-rc1-mod/MAINTAINERS
--- net-next-2.6.35-rc1-orig/MAINTAINERS	2010-07-22 19:09:52.000000000 -0700
+++ net-next-2.6.35-rc1-mod/MAINTAINERS	2010-08-23 13:33:12.605094000 -0700
@@ -1380,6 +1380,13 @@
 S:	Supported
 F:	drivers/scsi/bfa/
 
+BROCADE BNA 10 GIGABIT ETHERNET DRIVER
+M:	Rasesh Mody <rmody@...cade.com>
+M:	Debashis Dutt <ddutt@...cade.com>
+L:	netdev@...r.kernel.org
+S:	Supported
+F:	drivers/net/bna/
+
 BSG (block layer generic sg v4 driver)
 M:	FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
 L:	linux-scsi@...r.kernel.org
diff -ruP net-next-2.6.35-rc1-orig/drivers/net/Kconfig net-next-2.6.35-rc1-mod/drivers/net/Kconfig
--- net-next-2.6.35-rc1-orig/drivers/net/Kconfig	2010-07-22 19:10:00.000000000 -0700
+++ net-next-2.6.35-rc1-mod/drivers/net/Kconfig	2010-08-23 13:33:12.597086000 -0700
@@ -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"
diff -ruP net-next-2.6.35-rc1-orig/drivers/net/Makefile net-next-2.6.35-rc1-mod/drivers/net/Makefile
--- net-next-2.6.35-rc1-orig/drivers/net/Makefile	2010-07-22 19:10:00.000000000 -0700
+++ net-next-2.6.35-rc1-mod/drivers/net/Makefile	2010-08-23 13:33:12.612088000 -0700
@@ -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 \
diff -ruP net-next-2.6.35-rc1-orig/drivers/net/bna/Makefile net-next-2.6.35-rc1-mod/drivers/net/bna/Makefile
--- net-next-2.6.35-rc1-orig/drivers/net/bna/Makefile	1969-12-31 16:00:00.000000000 -0800
+++ net-next-2.6.35-rc1-mod/drivers/net/bna/Makefile	2010-08-23 13:33:12.626088000 -0700
@@ -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
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
--- net-next-2.6.35-rc1-orig/include/linux/pci_ids.h	2010-07-22 19:10:10.000000000 -0700
+++ net-next-2.6.35-rc1-mod/include/linux/pci_ids.h	2010-08-23 13:33:12.621088000 -0700
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ