PCI: add Broadcom 5708S to VPD length quirk
authorEric Dumazet <dada1@cosmosbay.com>
Thu, 31 Jul 2008 18:27:31 +0000 (20:27 +0200)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 7 Aug 2008 13:52:01 +0000 (06:52 -0700)
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>
drivers/pci/quirks.c

index 0fb365074288f20d40a2bf954cb9b42a848c479d..59667e562a74e1dbf18326d60cf52a0f89c7b559 100644 (file)
@@ -1756,9 +1756,12 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_VIA, 0x324e, quirk_via_cx700_pci_parking_c
  */
 static void __devinit quirk_brcm_570x_limit_vpd(struct pci_dev *dev)
 {
-       /*  Only disable the VPD capability for 5706, 5708, and 5709 rev. A */
+       /*
+        * Only disable the VPD capability for 5706, 5708, 5708S and 5709 rev. A
+        */
        if ((dev->device == PCI_DEVICE_ID_NX2_5706) ||
            (dev->device == PCI_DEVICE_ID_NX2_5708) ||
+           (dev->device == PCI_DEVICE_ID_NX2_5708S) ||
            ((dev->device == PCI_DEVICE_ID_NX2_5709) &&
             (dev->revision & 0xf0) == 0x0)) {
                if (dev->vpd)