mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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.
This commit is contained in:
parent
c23a77005a
commit
34429f3d2d
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue