source: trunk/target/linux/generic/patches-2.6.38/030-pci_disable_common_quirks.patch @ 26332

Last change on this file since 26332 was 26332, checked in by mb, 5 years ago

Update 2.6.38 to 2.6.38.2

File size: 1.8 KB
  • drivers/pci/Kconfig

    old new config XEN_PCIDEV_FE_DEBUG 
    6262 
    6363          When in doubt, say N. 
    6464 
     65config PCI_DISABLE_COMMON_QUIRKS 
     66        bool "PCI disable common quirks" 
     67        depends on PCI 
     68        help 
     69          If you don't know what to do here, say N. 
     70 
    6571config HT_IRQ 
    6672        bool "Interrupts on hypertransport devices" 
    6773        default y 
  • drivers/pci/quirks.c

    old new static void __devinit quirk_mmio_always_ 
    104104} 
    105105DECLARE_PCI_FIXUP_EARLY(PCI_ANY_ID, PCI_ANY_ID, quirk_mmio_always_on); 
    106106 
     107#ifndef CONFIG_PCI_DISABLE_COMMON_QUIRKS 
    107108/* The Mellanox Tavor device gives false positive parity errors 
    108109 * Mark this device with a broken_parity_status, to allow 
    109110 * PCI scanning code to "skip" this now blacklisted device. 
    static void __devinit fixup_rev1_53c810( 
    19891990        } 
    19901991} 
    19911992DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_NCR, PCI_DEVICE_ID_NCR_53C810, fixup_rev1_53c810); 
     1993#endif /* !CONFIG_PCI_DISABLE_COMMON_QUIRKS */ 
    19921994 
     1995#ifndef CONFIG_PCI_DISABLE_COMMON_QUIRKS 
    19931996/* Enable 1k I/O space granularity on the Intel P64H2 */ 
    19941997static void __devinit quirk_p64h2_1k_io(struct pci_dev *dev) 
    19951998{ 
    DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AT 
    26622665                        quirk_msi_intx_disable_bug); 
    26632666 
    26642667#endif /* CONFIG_PCI_MSI */ 
     2668#endif /* !CONFIG_PCI_DISABLE_COMMON_QUIRKS */ 
    26652669 
    26662670/* Allow manual resource allocation for PCI hotplug bridges 
    26672671 * via pci=hpmemsize=nnM and pci=hpiosize=nnM parameters. For 
Note: See TracBrowser for help on using the repository browser.