aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-07-31 14:27:31 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-07 09:52:01 -0400
commit9d82d8eaec032bf935144e0d5789a5cd4b95e958 (patch)
tree1489cc1e9268abb43ebae5be03233da9fd148699 /drivers/pci
parent685d87f7ccc649ab92b55e18e507a65d0e694eb9 (diff)
PCI: add Broadcom 5708S to VPD length quirk
BCM5708S wont work correctly unless VPD length truncated to 128 Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/quirks.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 0fb365074288..59667e562a74 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1756,9 +1756,12 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_VIA, 0x324e, quirk_via_cx700_pci_parking_c
1756 */ 1756 */
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 /* Only disable the VPD capability for 5706, 5708, and 5709 rev. A */ 1759 /*
1760 * Only disable the VPD capability for 5706, 5708, 5708S and 5709 rev. A
1761 */
1760 if ((dev->device == PCI_DEVICE_ID_NX2_5706) || 1762 if ((dev->device == PCI_DEVICE_ID_NX2_5706) ||
1761 (dev->device == PCI_DEVICE_ID_NX2_5708) || 1763 (dev->device == PCI_DEVICE_ID_NX2_5708) ||
1764 (dev->device == PCI_DEVICE_ID_NX2_5708S) ||
1762 ((dev->device == PCI_DEVICE_ID_NX2_5709) && 1765 ((dev->device == PCI_DEVICE_ID_NX2_5709) &&
1763 (dev->revision & 0xf0) == 0x0)) { 1766 (dev->revision & 0xf0) == 0x0)) {
1764 if (dev->vpd) 1767 if (dev->vpd)