patch-1.3.54 linux/arch/alpha/kernel/bios32.c

Next file: linux/arch/alpha/mm/init.c
Previous file: linux/arch/alpha/defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.53/linux/arch/alpha/kernel/bios32.c linux/arch/alpha/kernel/bios32.c
@@ -643,10 +643,13 @@
 					  PCI_INTERRUPT_LINE, dev->irq);
 #endif
 	}
-	/* now, set any level-triggered IRQs */
-	if (level_bits)
-		outw(level_bits, 0x4d0);
-
+	/*
+	 * Now, make all PCI interrupts level sensitive.  Notice:
+	 * these registers must be accessed byte-wise.  outw() doesn't
+	 * work, for some reason.
+	 */
+	outb((level_bits >> 0) & 0xff, 0x4d0);
+	outb((level_bits >> 8) & 0xff, 0x4d1);
 
 #if PCI_MODIFY
 	{

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this