Increased delay time while waiting for acknowledgement following the
sending of a keyboard reset code. This fixes a problem on some machine where the reset code ends is a long loop continually trying to reset the keyboard.
This commit is contained in:
parent
0b59ea6fbd
commit
4a03434386
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kbd.c,v 1.8 1996/05/06 00:35:05 mark Exp $ */
|
||||
/* $NetBSD: kbd.c,v 1.9 1996/05/16 19:32:25 mark Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Mark Brinicombe.
|
||||
|
@ -1032,7 +1032,7 @@ retry:
|
|||
break;
|
||||
if (c == KBR_RESEND)
|
||||
goto retry;
|
||||
delay(100);
|
||||
delay(1000);
|
||||
}
|
||||
if (i == 0)
|
||||
return(2);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: kbd.c,v 1.8 1996/05/06 00:35:05 mark Exp $ */
|
||||
/* $NetBSD: kbd.c,v 1.9 1996/05/16 19:32:25 mark Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Mark Brinicombe.
|
||||
|
@ -1032,7 +1032,7 @@ retry:
|
|||
break;
|
||||
if (c == KBR_RESEND)
|
||||
goto retry;
|
||||
delay(100);
|
||||
delay(1000);
|
||||
}
|
||||
if (i == 0)
|
||||
return(2);
|
||||
|
|
Loading…
Reference in New Issue