If ACPI doesn't find an irq listed, don't accept 0 as a valid PCI irq.
PATCH 1/11 If ACPI doesn't find an irq listed, don't accept 0 as a valid PCI irq.
-stable review patch. If anyone has any objections, please let us know.
------------------
If ACPI doesn't find an irq listed, don't accept 0 as a valid PCI irq. That zero just means that nothing else found any irq information either.
Fixes http://bugme.osdl.org/show_bug.cgi?id=4824
Signed-off-by Chris Wright <[email protected]>
Signed-off-by Greg Kroah-Hartman <[email protected]>
--- drivers/acpi/pci_irq.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/pci_irq.c +1 -1
@@ -433,7 +433,7 @@ printk(KERN_WARNING PREFIX "PCI Interrupt %s[%c]: no GSI", pci_name(dev), ('A' + pin));/* Interrupt Line values above 0xF are forbidden */ -if (dev->irq >=0 && (dev->irq <=0xF )) { +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 );
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar