]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
[PATCH] ACPI: Make sure we call acpi_register_gsi() even for default PCI interrupt...
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 18:16:41 +0000 (11:16 -0700)
committerChris Wright <chrisw@osdl.org>
Wed, 29 Jun 2005 23:00:39 +0000 (16:00 -0700)
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.

Signed-off-by: Chris Wright <chrisw@osdl.org>
drivers/acpi/pci_irq.c

index 8093f2e003215156d376c9a8c086e8d9dfaf9d30..8dbf802ee7f819d9c885247a35d0d736ca4a5979 100644 (file)
@@ -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 {