mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-23 17:31:43 +01:00
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>
This commit is contained in:
parent
66ff6a3c1b
commit
c80383505d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20102
@ -42,7 +42,7 @@
|
|||||||
*
|
*
|
||||||
* This grody hack brought to you by Bill Paul (wpaul@ctr.columbia.edu)
|
* 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
|
#ifdef PROBE_KEYBOARD
|
||||||
@ -71,8 +71,8 @@ probe_keyboard(void)
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("%d ", retries);
|
printf("%d ", retries);
|
||||||
#endif
|
#endif
|
||||||
while ((inb(IO_KBD + KBD_STATUS_PORT) & KBDS_CONTROLLER_BUSY) ==
|
while ((inb(IO_KBD + KBD_STATUS_PORT) & KBDS_INPUT_BUFFER_FULL)
|
||||||
KBDS_CONTROLLER_BUSY)
|
== KBDS_INPUT_BUFFER_FULL)
|
||||||
delay1ms();
|
delay1ms();
|
||||||
outb(IO_KBD + KBD_DATA_PORT, KBDC_RESET_KBD);
|
outb(IO_KBD + KBD_DATA_PORT, KBDC_RESET_KBD);
|
||||||
for (i=0; i<1000; i++) {
|
for (i=0; i<1000; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user