source: branches/backfire/target/linux/generic-2.6/patches-2.6.32/030-pci_disable_common_quirks.patch @ 23712

Last change on this file since 23712 was 23712, checked in by jow, 6 years ago

[backfire] merge r23058, refresh patches

File size: 1.4 KB
  • drivers/pci/Kconfig

    a b config PCI_STUB 
    5151 
    5252          When in doubt, say N. 
    5353 
     54config PCI_DISABLE_COMMON_QUIRKS 
     55        bool "PCI disable common quirks" 
     56        depends on PCI 
     57        help 
     58          If you don't know what to do here, say N. 
     59 
    5460config HT_IRQ 
    5561        bool "Interrupts on hypertransport devices" 
    5662        default y 
  • drivers/pci/quirks.c

    a b static void __devinit quirk_resource_ali 
    9696} 
    9797DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, quirk_resource_alignment); 
    9898 
     99#ifndef CONFIG_PCI_DISABLE_COMMON_QUIRKS 
    99100/* The Mellanox Tavor device gives false positive parity errors 
    100101 * Mark this device with a broken_parity_status, to allow 
    101102 * PCI scanning code to "skip" this now blacklisted device. 
    static void __devinit fixup_rev1_53c810( 
    18871888        } 
    18881889} 
    18891890DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_NCR, PCI_DEVICE_ID_NCR_53C810, fixup_rev1_53c810); 
     1891#endif /* !CONFIG_PCI_DISABLE_COMMON_QUIRKS */ 
    18901892 
     1893#ifndef CONFIG_PCI_DISABLE_COMMON_QUIRKS 
    18911894/* Enable 1k I/O space granularity on the Intel P64H2 */ 
    18921895static void __devinit quirk_p64h2_1k_io(struct pci_dev *dev) 
    18931896{ 
    DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_I 
    25222525DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x1518, quirk_i82576_sriov); 
    25232526 
    25242527#endif  /* CONFIG_PCI_IOV */ 
     2528#endif /* !CONFIG_PCI_DISABLE_COMMON_QUIRKS */ 
    25252529 
    25262530static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, 
    25272531                          struct pci_fixup *end) 
Note: See TracBrowser for help on using the repository browser.