aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDean Hildebrand <seattleplus@gmail.com>2008-08-07 20:31:45 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-07 20:47:37 -0400
commit35405f256de924be56ea5edaca4cdc627f1bb0f8 (patch)
treeff56a937897e2bc80bcd1040279881ef9cb2645f
parent5a6c9b60b4cc15b22d3102b0033e5cb842125456 (diff)
PCI: Limit VPD length for Broadcom 5708S
BCM5706S wont work correctly unless VPD length truncated to 128 Signed-off-by: Dean Hildebrand <dhildeb@us.ibm.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r--drivers/pci/quirks.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 59667e562a74..9236e7f869c8 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1757,9 +1757,11 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_VIA, 0x324e, quirk_via_cx700_pci_parking_c
1757static void __devinit quirk_brcm_570x_limit_vpd(struct pci_dev *dev) 1757static void __devinit quirk_brcm_570x_limit_vpd(struct pci_dev *dev)
1758{ 1758{
1759 /* 1759 /*
1760 * Only disable the VPD capability for 5706, 5708, 5708S and 5709 rev. A 1760 * Only disable the VPD capability for 5706, 5706S, 5708,
1761 * 5708S and 5709 rev. A
1761 */ 1762 */
1762 if ((dev->device == PCI_DEVICE_ID_NX2_5706) || 1763 if ((dev->device == PCI_DEVICE_ID_NX2_5706) ||
1764 (dev->device == PCI_DEVICE_ID_NX2_5706S) ||
1763 (dev->device == PCI_DEVICE_ID_NX2_5708) || 1765 (dev->device == PCI_DEVICE_ID_NX2_5708) ||
1764 (dev->device == PCI_DEVICE_ID_NX2_5708S) || 1766 (dev->device == PCI_DEVICE_ID_NX2_5708S) ||
1765 ((dev->device == PCI_DEVICE_ID_NX2_5709) && 1767 ((dev->device == PCI_DEVICE_ID_NX2_5709) &&