summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-02-07 02:14:27 +0000
committerdg <dg@FreeBSD.org>1994-02-07 02:14:27 +0000
commit4b7235d634e44354be3ff9c435862e37d7344e8b (patch)
tree21b21b64b73cc2cf14cfa321084d4844162b7aa3 /sys
parent9e053b094d9320c528bf2a6cc17c0240b103613f (diff)
downloadFreeBSD-src-4b7235d634e44354be3ff9c435862e37d7344e8b.zip
FreeBSD-src-4b7235d634e44354be3ff9c435862e37d7344e8b.tar.gz
From: Chris Wiener <cwiener@CRLABS.COM>
When the keyboard is probed, the LED's blink quickly and "Keyboard reset failed" is printed on the console. The init routine keeps trying endlessly with the same behavior as above. I got the latest -current sup sources (06-Feb-94 12:00 GMT) to work using the old syscons.c. The following patch makes the new syscons work:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/syscons/syscons.c4
-rw-r--r--sys/i386/isa/syscons.c4
-rw-r--r--sys/isa/syscons.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index a9f1705..5eb10af 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from:@(#)syscons.c 1.3 940129
- * $Id: syscons.c,v 1.33 1994/02/02 23:10:55 ache Exp $
+ * $Id: syscons.c,v 1.34 1994/02/04 10:36:15 chmr Exp $
*
*/
@@ -2470,7 +2470,7 @@ static int kbd_reply()
int i;
kbd_wait();
- for (i=0; i<50000; i++) { /* at least 300 msec, 500 msec enough */
+ for (i=0; i<60000; i++) { /* at least 300 msec, 600 msec enough */
if (inb(KB_STAT) & KB_BUF_FULL)
return ((u_char) inb(KB_DATA));
DELAY (10);
diff --git a/sys/i386/isa/syscons.c b/sys/i386/isa/syscons.c
index a9f1705..5eb10af 100644
--- a/sys/i386/isa/syscons.c
+++ b/sys/i386/isa/syscons.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from:@(#)syscons.c 1.3 940129
- * $Id: syscons.c,v 1.33 1994/02/02 23:10:55 ache Exp $
+ * $Id: syscons.c,v 1.34 1994/02/04 10:36:15 chmr Exp $
*
*/
@@ -2470,7 +2470,7 @@ static int kbd_reply()
int i;
kbd_wait();
- for (i=0; i<50000; i++) { /* at least 300 msec, 500 msec enough */
+ for (i=0; i<60000; i++) { /* at least 300 msec, 600 msec enough */
if (inb(KB_STAT) & KB_BUF_FULL)
return ((u_char) inb(KB_DATA));
DELAY (10);
diff --git a/sys/isa/syscons.c b/sys/isa/syscons.c
index a9f1705..5eb10af 100644
--- a/sys/isa/syscons.c
+++ b/sys/isa/syscons.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from:@(#)syscons.c 1.3 940129
- * $Id: syscons.c,v 1.33 1994/02/02 23:10:55 ache Exp $
+ * $Id: syscons.c,v 1.34 1994/02/04 10:36:15 chmr Exp $
*
*/
@@ -2470,7 +2470,7 @@ static int kbd_reply()
int i;
kbd_wait();
- for (i=0; i<50000; i++) { /* at least 300 msec, 500 msec enough */
+ for (i=0; i<60000; i++) { /* at least 300 msec, 600 msec enough */
if (inb(KB_STAT) & KB_BUF_FULL)
return ((u_char) inb(KB_DATA));
DELAY (10);
OpenPOWER on IntegriCloud