]> Zhao Yanbai Git Server - minix.git/commitdiff
Make timeouts more tolerant, even in strict timeout mode
authorBen Gras <ben@minix3.org>
Tue, 9 Aug 2005 16:59:29 +0000 (16:59 +0000)
committerBen Gras <ben@minix3.org>
Tue, 9 Aug 2005 16:59:29 +0000 (16:59 +0000)
drivers/at_wini/at_wini.c

index 30580eae62041735da8009dd75f948801abe5cf7..5138b593cb0cab8bde53dcf63e7eb6b63f494dbf 100644 (file)
@@ -570,9 +570,9 @@ PRIVATE int w_io_test(void)
        save_wakeup = wakeup_ticks;
 
        if(!w_standard_timeouts) {
-               timeout_ticks = HZ * 2;
-               wakeup_ticks = HZ * 5;
-               max_errors = 2;
+               timeout_ticks = HZ * 4;
+               wakeup_ticks = HZ * 6;
+               max_errors = 3;
        }
 
        w_testing = 1;
@@ -1291,7 +1291,7 @@ message *m;
                         * tolerance and set silent mode.
                         */
                        wakeup_ticks = timeout;
-                       max_errors = 2;
+                       max_errors = 3;
                        w_silent = 1;
 
                        if(timeout_ticks > timeout)