History

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: PCI: remove unused resource assignment in pci_read_bridge_bases() PCI hotplug: shpchp: message refinement PCI hotplug: shpchp: replace printk with dev_printk PCI: add routines for debugging and handling lost interrupts PCI hotplug: pciehp: message refinement PCI: fix ARI code to be compatible with mixed ARI/non-ARI systems PCI hotplug: cpqphp: fix kernel NULL pointer dereference

Linus Torvalds committed 18 years ago

Commit 3a2c5da2 parents 2242d5e a49191316 files · +376 −263Browse files

Showing the changes to include/linux (1 of 16 files). Show all

Unified · Split

include/linux/pci.h+7−0
@@ -546,6 +546,13 @@ struct pci_dev __deprecated *pci_find_slot(unsigned int bus, · 545 unmodified lines
546546 unsigned int devfn);
547547 #endif /* CONFIG_PCI_LEGACY */
548548
549+enum pci_lost_interrupt_reason {
550+ PCI_LOST_IRQ_NO_INFORMATION = 0,
551+ PCI_LOST_IRQ_DISABLE_MSI,
552+ PCI_LOST_IRQ_DISABLE_MSIX,
553+ PCI_LOST_IRQ_DISABLE_ACPI,
554+};
555+enum pci_lost_interrupt_reason pci_lost_interrupt(struct pci_dev *dev);
549556 int pci_find_capability(struct pci_dev *dev, int cap);
550557 int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap);
551558 int pci_find_ext_capability(struct pci_dev *dev, int cap);