support other Broadcom NetXtreme II BCM 5709 dual GbE variants
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Fri, 9 Jul 2010 13:59:30 +0000 (09:59 -0400)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Fri, 9 Jul 2010 13:59:30 +0000 (09:59 -0400)
kernel-2.6.spec
linux-2.6-017-bnx2.patch [new file with mode: 0644]

index de3df9b..6f21b28 100644 (file)
@@ -150,6 +150,7 @@ Patch000: ftp://ftp.kernel.org/pub/linux/kernel/v2.6/patch-%{rpmversion}.bz2
 %endif
 
 Patch010: linux-2.6-010-e1000e-ich10lan.patch
+Patch017: linux-2.6-017-bnx2.patch
 
 Patch100: linux-2.6-100-build-nonintconfig.patch
 
@@ -355,6 +356,7 @@ KERNEL_PREVIOUS=vanilla
 %endif
 
 %ApplyPatch 10
+%ApplyPatch 17
 
 %ApplyPatch 100
 
diff --git a/linux-2.6-017-bnx2.patch b/linux-2.6-017-bnx2.patch
new file mode 100644 (file)
index 0000000..4cb4f13
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
+index ba91aee..56f2a33 100644
+--- a/drivers/net/bnx2.c
++++ b/drivers/net/bnx2.c
+@@ -128,6 +128,8 @@ static DEFINE_PCI_DEVICE_TABLE(bnx2_pci_tbl) = {
+         PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5709S },
+       { PCI_VENDOR_ID_BROADCOM, 0x163b,
+         PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5716 },
++      { PCI_VENDOR_ID_BROADCOM, 0x163c,
++        PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5716S },
+       { 0, }
+ };