From c80383505da86e6ec592e919086a3f75d48a61cd Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Tue, 3 Dec 1996 03:32:15 +0000 Subject: [PATCH] Update the bootblocks to use the new definitions that changed in the recent psm/syscons/kbdio code update. Submitted by: Kazutaka YOKOTA --- sys/i386/boot/biosboot/probe_keyboard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/i386/boot/biosboot/probe_keyboard.c b/sys/i386/boot/biosboot/probe_keyboard.c index 0a2941453ba8..42fdeaddac95 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.8 1996/11/23 07:38:24 peter Exp $ + * $Id: probe_keyboard.c,v 1.9 1996/11/24 08:06:01 peter Exp $ */ #ifdef PROBE_KEYBOARD @@ -71,8 +71,8 @@ probe_keyboard(void) #ifdef DEBUG printf("%d ", retries); #endif - while ((inb(IO_KBD + KBD_STATUS_PORT) & KBDS_CONTROLLER_BUSY) == - KBDS_CONTROLLER_BUSY) + while ((inb(IO_KBD + KBD_STATUS_PORT) & KBDS_INPUT_BUFFER_FULL) + == KBDS_INPUT_BUFFER_FULL) delay1ms(); outb(IO_KBD + KBD_DATA_PORT, KBDC_RESET_KBD); for (i=0; i<1000; i++) {