From: Ben Gras Date: Wed, 28 Apr 2010 11:50:54 +0000 (+0000) Subject: tty: try more often to get the config byte. X-Git-Tag: v3.1.7~109 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/named-checkconf.html?a=commitdiff_plain;h=5d870f020d70602427f09557549491b9c8e3c87e;p=minix.git tty: try more often to get the config byte. --- diff --git a/drivers/tty/keyboard.c b/drivers/tty/keyboard.c index cf58c628c..aece6f9f8 100644 --- a/drivers/tty/keyboard.c +++ b/drivers/tty/keyboard.c @@ -897,7 +897,7 @@ PRIVATE int kbc_read() /* Wait at most 1 second for a byte from the keyboard or * the kbd controller, return -1 on a timeout. */ - for (i= 0; i<1000; i++) + for (i= 0; i<1000000; i++) #if 0 micro_start(&ms); do