From: Chris Wright Date: Sat, 25 Jun 2005 23:38:34 +0000 (-0700) Subject: Add patch to make sure acpi_register_gsi is called even for default PCI X-Git-Tag: v2.6.12.2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b08beca289c034c6b093d58e49327fecead6e2f;p=thirdparty%2Fkernel%2Fstable-queue.git Add patch to make sure acpi_register_gsi is called even for default PCI irq assignment. Fowarded from jgarzik. --- diff --git a/queue/call-acpi_register_gsi-for-pci-irq.patch b/queue/call-acpi_register_gsi-for-pci-irq.patch new file mode 100644 index 00000000000..76b1c7b6787 --- /dev/null +++ b/queue/call-acpi_register_gsi-for-pci-irq.patch @@ -0,0 +1,31 @@ +From SRS0=BOxL=U7=vger.kernel.org=bk-commits-head-owner@bounce2.pobox.com Sat Jun 25 11:22:28 2005 +Date: Sat, 25 Jun 2005 11:16:41 -0700 +From: Linux Kernel Mailing List +To: bk-commits-head@vger.kernel.org +Subject: ACPI: Make sure we call acpi_register_gsi() even for default PCI + interrupt assignment + +From: Linus Torvalds + +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 +--- + + drivers/acpi/pci_irq.c | 1 + + 1 files changed, 1 insertion(+) + +diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c +--- 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 { diff --git a/queue/series b/queue/series index 1ba3ef9b43e..42d95eaaad4 100644 --- a/queue/series +++ b/queue/series @@ -3,3 +3,4 @@ qla2xxx-init-fixes.patch fix-remap_pte_range-BUG.patch e1000-fix-spinlock-bug.patch memory-clobber-on-x86.patch +call-acpi_register_gsi-for-pci-irq.patch