diff options
author | nate <nate@FreeBSD.org> | 1996-12-03 03:32:15 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-12-03 03:32:15 +0000 |
commit | 688d702d4b6e585823e5481218e19cdf2f1557ed (patch) | |
tree | d3d8e74741cee2465183a9c0673440570bb42fd6 /sys | |
parent | 0c67934fafa58a5271cfa2c381752fdeb4696353 (diff) | |
download | FreeBSD-src-688d702d4b6e585823e5481218e19cdf2f1557ed.zip FreeBSD-src-688d702d4b6e585823e5481218e19cdf2f1557ed.tar.gz |
Update the bootblocks to use the new definitions that changed in the
recent psm/syscons/kbdio code update.
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/boot/biosboot/probe_keyboard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/boot/biosboot/probe_keyboard.c b/sys/i386/boot/biosboot/probe_keyboard.c index 0a29414..42fdead 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++) { |