diff options
| author | 2014-05-28 16:21:25 -0600 | |
|---|---|---|
| committer | 2014-05-28 16:21:25 -0600 | |
| commit | fdaf36bd360fe1e74b34262ad705ef39d52c12de (patch) | |
| tree | b686d69b0c5bf74ac0cd704123d64bfcdb3c10f5 /drivers/pci/pci.c | |
| parent | Merge branches 'pci/hotplug', 'pci/pci_is_bridge' and 'pci/virtualization' into next (diff) | |
| parent | PCI: Fix return value from pci_user_{read,write}_config_*() (diff) | |
| download | linux-dev-fdaf36bd360fe1e74b34262ad705ef39d52c12de.tar.xz linux-dev-fdaf36bd360fe1e74b34262ad705ef39d52c12de.zip | |
Merge branch 'pci/misc' into next
* pci/misc:
PCI: Fix return value from pci_user_{read,write}_config_*()
PCI: Turn pcibios_penalize_isa_irq() into a weak function
PCI: Test for std config alias when testing extended config space
Diffstat (limited to 'drivers/pci/pci.c')
| -rw-r--r-- | drivers/pci/pci.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index f988bb18eba5..fd958c8ebd83 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -1468,6 +1468,17 @@ void __weak pcibios_release_device(struct pci_dev *dev) {} */ void __weak pcibios_disable_device (struct pci_dev *dev) {} +/** + * pcibios_penalize_isa_irq - penalize an ISA IRQ + * @irq: ISA IRQ to penalize + * @active: IRQ active or not + * + * Permits the platform to provide architecture-specific functionality when + * penalizing ISA IRQs. This is the default implementation. Architecture + * implementations can override this. + */ +void __weak pcibios_penalize_isa_irq(int irq, int active) {} + static void do_pci_disable_device(struct pci_dev *dev) { u16 pci_command; |
