Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/lib PR# kern/39726: Soekris 5501-60 boot...



details:   https://anonhg.NetBSD.org/src/rev/d9f6492b2bc6
branches:  trunk
changeset: 746907:d9f6492b2bc6
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Aug 23 12:31:05 2009 +0000

description:
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().

diffstat:

 sys/arch/i386/stand/lib/gatea20.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 62b77fbc33b9 -r d9f6492b2bc6 sys/arch/i386/stand/lib/gatea20.c
--- a/sys/arch/i386/stand/lib/gatea20.c Sun Aug 23 12:10:50 2009 +0000
+++ b/sys/arch/i386/stand/lib/gatea20.c Sun Aug 23 12:31:05 2009 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index