Module Name: src
Committed By: riz
Date: Sun Oct 16 23:38:52 UTC 2011
Modified Files:
src/sys/arch/i386/stand/lib [netbsd-5]: gatea20.c
Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #923):
sys/arch/i386/stand/lib/gatea20.c: revision 1.12
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.11.4.1 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.11.4.1
--- 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 Oct 16 23:38:52 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: gatea20.c,v 1.11 2008/10/14 14:18:11 ad Exp $ */
+/* $NetBSD: gatea20.c,v 1.11.4.1 2011/10/16 23:38:52 riz Exp $ */
/* extracted from freebsd:sys/i386/boot/biosboot/io.c */
@@ -67,12 +67,10 @@ gateA20(void)
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)