[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#565353: linux-2.6: Update bnx2 PCI IDs



Package: linux-2.6.26-2-amd64
Severity: important
Tags: patch, lenny
Version: 2.6.26-2

Hi,

The BCM5716 network chipset from Broadcom works perfectly well with the bnx2
driver in 2.6.26 (including the existing firmware), but it has an
unrecognised PCI ID, so the kernel doesn't detect it.

The attached patch adds the relevant PCI ID.  We've built patched kernels
locally and verified that it works OK on a Dell PowerEdge R410.

Thanks,
- Matt
diff -urpN linux-source-2.6.26.orig/drivers/net/bnx2.c linux-source-2.6.26/drivers/net/bnx2.c
--- linux-source-2.6.26.orig/drivers/net/bnx2.c	2008-07-13 21:51:29.000000000 +0000
+++ linux-source-2.6.26/drivers/net/bnx2.c	2010-01-14 01:54:09.000000000 +0000
@@ -56,7 +56,7 @@
 
 #define DRV_MODULE_NAME		"bnx2"
 #define PFX DRV_MODULE_NAME	": "
-#define DRV_MODULE_VERSION	"1.7.5"
+#define DRV_MODULE_VERSION	"1.7.5-1"
 #define DRV_MODULE_RELDATE	"April 29, 2008"
 #define FW_FILE_06		"bnx2-06-4.0.5.fw"
 #define FW_FILE_09		"bnx2-09-4.0.5.fw"
@@ -87,6 +87,7 @@ typedef enum {
 	BCM5708S,
 	BCM5709,
 	BCM5709S,
+	BCM5716,
 } board_t;
 
 /* indexed by board_t, above */
@@ -102,6 +103,7 @@ static struct {
 	{ "Broadcom NetXtreme II BCM5708 1000Base-SX" },
 	{ "Broadcom NetXtreme II BCM5709 1000Base-T" },
 	{ "Broadcom NetXtreme II BCM5709 1000Base-SX" },
+	{ "Broadcom NetXtreme II BCM5716 1000Base-T" },
 	};
 
 static struct pci_device_id bnx2_pci_tbl[] = {
@@ -123,6 +125,8 @@ static struct pci_device_id bnx2_pci_tbl
 	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5709 },
 	{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_5709S,
 	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5709S },
+	{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_5716,
+	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5716 },
 	{ 0, }
 };
 
diff -urpN linux-source-2.6.26.orig/include/linux/pci_ids.h linux-source-2.6.26/include/linux/pci_ids.h
--- linux-source-2.6.26.orig/include/linux/pci_ids.h	2008-07-13 21:51:29.000000000 +0000
+++ linux-source-2.6.26/include/linux/pci_ids.h	2010-01-14 01:55:44.000000000 +0000
@@ -1940,6 +1940,7 @@
 #define PCI_DEVICE_ID_TIGON3_5752M	0x1601
 #define PCI_DEVICE_ID_NX2_5709		0x1639
 #define PCI_DEVICE_ID_NX2_5709S		0x163a
+#define PCI_DEVICE_ID_NX2_5716		0x163b
 #define PCI_DEVICE_ID_TIGON3_5700	0x1644
 #define PCI_DEVICE_ID_TIGON3_5701	0x1645
 #define PCI_DEVICE_ID_TIGON3_5702	0x1646

Reply to: