summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-11-24 08:06:01 +0000
committerpeter <peter@FreeBSD.org>1996-11-24 08:06:01 +0000
commitb1b54080a83e00c1635298ded4dcaf73f778f251 (patch)
treea96a11a47b531b92efb0e1cc177b7a99347850c7 /sys
parentbb3ea76fd31fccaa50a3fe47d2122ad5c2c5f89b (diff)
downloadFreeBSD-src-b1b54080a83e00c1635298ded4dcaf73f778f251.zip
FreeBSD-src-b1b54080a83e00c1635298ded4dcaf73f778f251.tar.gz
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/boot/biosboot/probe_keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/boot/biosboot/probe_keyboard.c b/sys/i386/boot/biosboot/probe_keyboard.c
index d7df394..0a29414 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
OpenPOWER on IntegriCloud