On Tue, Jul 01, 2008 at 07:37:11PM -0700, Benjamin Li wrote: > +static void __devinit quirk_brcm_570x_limit_vpd(struct pci_dev *dev) > +{ > + u8 rev; > + > + pci_read_config_byte(dev, PCI_REVISION_ID, &rev); Do we have pdev->revision filled in at this point? > + /* Only disable the VPD capability for 5706, 5708, 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_5709) && > + (rev & 0xf0) == 0x0)) { > + if(dev->vpd) > + dev->vpd->len = 0x80; > + } > +} -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html