Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35405f25 authored by Dean Hildebrand's avatar Dean Hildebrand Committed by Jesse Barnes
Browse files

PCI: Limit VPD length for Broadcom 5708S



BCM5706S wont work correctly unless VPD length truncated to 128

Signed-off-by: default avatarDean Hildebrand <dhildeb@us.ibm.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 5a6c9b60
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1757,9 +1757,11 @@ 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, 5708S and 5709 rev. A
	 * Only disable the VPD capability for 5706, 5706S, 5708,
	 * 5708S and 5709 rev. A
	 */
	if ((dev->device == PCI_DEVICE_ID_NX2_5706) ||
	    (dev->device == PCI_DEVICE_ID_NX2_5706S) ||
	    (dev->device == PCI_DEVICE_ID_NX2_5708) ||
	    (dev->device == PCI_DEVICE_ID_NX2_5708S) ||
	    ((dev->device == PCI_DEVICE_ID_NX2_5709) &&