summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_irq.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 10:01:36 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 10:01:36 -0700
commit7be426c6e3a8ad7dcc8791589cea8af7aaafdf6f (patch)
tree0a974ac7e253bc56c02efa5e4da56ed381033bdb /drivers/acpi/pci_irq.c
parent5f70eaa0d5768775a7492f3e3841fcca94bb0d13 (diff)
downloadop-kernel-dev-7be426c6e3a8ad7dcc8791589cea8af7aaafdf6f.zip
op-kernel-dev-7be426c6e3a8ad7dcc8791589cea8af7aaafdf6f.tar.gz
ACPI: Make sure we call acpi_register_gsi() even for default PCI interrupt assignment
That's the part that keeps track of the ELCR register, and we want to make sure that the PCI interrupts are properly marked level/low.
Diffstat (limited to 'drivers/acpi/pci_irq.c')
-rw-r--r--drivers/acpi/pci_irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c
index 8093f2e..8dbf802 100644
--- a/drivers/acpi/pci_irq.c
+++ b/drivers/acpi/pci_irq.c
@@ -435,6 +435,7 @@ acpi_pci_irq_enable (
/* Interrupt Line values above 0xF are forbidden */
if (dev->irq >= 0 && (dev->irq <= 0xF)) {
printk(" - using IRQ %d\n", dev->irq);
+ acpi_register_gsi(dev->irq, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW);
return_VALUE(0);
}
else {
OpenPOWER on IntegriCloud