patch-2.4.15 linux/arch/sparc64/kernel/isa.c

Next file: linux/arch/sparc64/kernel/setup.c
Previous file: linux/arch/sparc64/kernel/irq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/arch/sparc64/kernel/isa.c linux/arch/sparc64/kernel/isa.c
@@ -74,7 +74,7 @@
 	irq_prop = prom_getintdefault(isa_dev->prom_node,
 				      "interrupts", -1);
 	if (irq_prop <= 0) {
-		isa_dev->irq = 0;
+		isa_dev->irq = PCI_IRQ_NONE;
 	} else {
 		int i;
 
@@ -85,7 +85,7 @@
 				int ino = grover_irq_table[i].pci_ino;
 
 				if (ino == 0) {
-					isa_dev->irq = 0;
+					isa_dev->irq = PCI_IRQ_NONE;
 				} else {
 					pbm = isa_dev->bus->parent;
 					pcic = pbm->parent;

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