From 34429f3d2daecc9c0954d418663df794fb5bca73 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 24 Nov 1996 08:06:01 +0000 Subject: [PATCH] Fix my previous (untested) commit. The probe routine now appears to work again. Something needs to be done about this in 2.2, since the code there doesn't even compile anymore since the syscons/kbdio/psm merge into 2.2. --- sys/i386/boot/biosboot/probe_keyboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/i386/boot/biosboot/probe_keyboard.c b/sys/i386/boot/biosboot/probe_keyboard.c index d7df3941daa..0a2941453ba 100644 --- a/sys/i386/boot/biosboot/probe_keyboard.c +++ b/sys/i386/boot/biosboot/probe_keyboard.c @@ -42,7 +42,7 @@ * * This grody hack brought to you by Bill Paul (wpaul@ctr.columbia.edu) * - * $Id: probe_keyboard.c,v 1.7 1996/09/26 20:52:13 pst Exp $ + * $Id: probe_keyboard.c,v 1.8 1996/11/23 07:38:24 peter Exp $ */ #ifdef PROBE_KEYBOARD @@ -96,7 +96,7 @@ gotres: } gotack: delay1ms(); - while ((inb(IO_KBD + KBD_STATUS_PORT) & KBDS_CONTROLLER_BUSY) == 0) + while ((inb(IO_KBD + KBD_STATUS_PORT) & KBDS_KBD_BUFFER_FULL) == 0) delay1ms(); delay1ms(); #ifdef DEBUG