patch-2.3.11 linux/arch/alpha/kernel/es1888.c
Next file: linux/arch/alpha/kernel/irq.c
Previous file: linux/arch/alpha/kernel/core_pyxis.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Jul 12 07:49:36 1999
- Orig file:
v2.3.10/linux/arch/alpha/kernel/es1888.c
- Orig date:
Sun Aug 9 12:09:05 1998
diff -u --recursive --new-file v2.3.10/linux/arch/alpha/kernel/es1888.c linux/arch/alpha/kernel/es1888.c
@@ -32,6 +32,7 @@
continue;
inb(0x022a); /* pause */
outb(0xc6, 0x022c); /* enable extended mode */
+ inb(0x022a); /* pause, also forces the write */
while (inb(0x022c) & 0x80) /* wait for bit 7 to deassert */
continue;
outb(0xb1, 0x022c); /* setup for write to Interrupt CR */
@@ -44,4 +45,5 @@
while (inb(0x022c) & 0x80) /* wait for bit 7 to deassert */
continue;
outb(0x18, 0x022c); /* set DMA channel 1 */
+ inb(0x022c); /* force the write */
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)