Module Name: src
Committed By: jmcneill
Date: Sun Aug 23 12:31:05 UTC 2009
Modified Files:
src/sys/arch/i386/stand/lib: gatea20.c
Log Message:
PR# kern/39726: Soekris 5501-60 boot/bootxx 120 second delay
PR# port-i386/41162: A20 gate legacy hook cause long pxeboot delay on Soekris
net5501
Remove calls to delay() before polling KBD registers in gateA20().
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/i386/stand/lib/gatea20.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/stand/lib/gatea20.c
diff -u src/sys/arch/i386/stand/lib/gatea20.c:1.11 src/sys/arch/i386/stand/lib/gatea20.c:1.12
--- src/sys/arch/i386/stand/lib/gatea20.c:1.11 Tue Oct 14 14:18:11 2008
+++ src/sys/arch/i386/stand/lib/gatea20.c Sun Aug 23 12:31:05 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: gatea20.c,v 1.11 2008/10/14 14:18:11 ad Exp $ */
+/* $NetBSD: gatea20.c,v 1.12 2009/08/23 12:31:05 jmcneill Exp $ */
/* extracted from freebsd:sys/i386/boot/biosboot/io.c */
@@ -67,12 +67,10 @@
outb(K_CMD, KC_CMD_WOUT);
- delay(100);
while (inb(K_STATUS) & K_IBUF_FUL);
outb(K_RDWR, x_20);
- delay(100);
while (inb(K_STATUS) & K_IBUF_FUL);
while (inb(K_STATUS) & K_OBUF_FUL)