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
- Lines: 18
- Date:
Tue Jan 2 16:49:27 1996
- Orig file:
v1.3.53/linux/arch/alpha/kernel/bios32.c
- Orig date:
Tue Dec 26 04:45:34 1995
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