patch-2.4.27 linux-2.4.27/drivers/acpi/pci_irq.c

Next file: linux-2.4.27/drivers/acpi/pci_link.c
Previous file: linux-2.4.27/drivers/acpi/fan.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/drivers/acpi/pci_irq.c linux-2.4.27/drivers/acpi/pci_irq.c
@@ -373,7 +373,7 @@
 	if (!irq) {
 		printk(KERN_WARNING PREFIX "No IRQ known for interrupt pin %c of device %s", ('A' + pin), dev->slot_name);
 		/* Interrupt Line values above 0xF are forbidden */
-		if (dev->irq && dev->irq >= 0xF) {
+		if (dev->irq && (dev->irq <= 0xF)) {
 			printk(" - using IRQ %d\n", dev->irq);
 			return_VALUE(dev->irq);
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)