]> Zhao Yanbai Git Server - minix.git/commitdiff
tty: try more often to get the config byte.
authorBen Gras <ben@minix3.org>
Wed, 28 Apr 2010 11:50:54 +0000 (11:50 +0000)
committerBen Gras <ben@minix3.org>
Wed, 28 Apr 2010 11:50:54 +0000 (11:50 +0000)
drivers/tty/keyboard.c

index cf58c628ccf47d3716997f2ac22206badae7aa2a..aece6f9f86ed25248beba386064c64901d465493 100644 (file)
@@ -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