From: Ben Gras Date: Tue, 9 Aug 2005 16:59:29 +0000 (+0000) Subject: Make timeouts more tolerant, even in strict timeout mode X-Git-Tag: v3.1.0~386 X-Git-Url: http://zhaoyanbai.com/repos/doc/html/static/gitweb.css?a=commitdiff_plain;h=58218775b6ba3ff1ace37fa6756441d1d80b34be;p=minix.git Make timeouts more tolerant, even in strict timeout mode --- diff --git a/drivers/at_wini/at_wini.c b/drivers/at_wini/at_wini.c index 30580eae6..5138b593c 100644 --- a/drivers/at_wini/at_wini.c +++ b/drivers/at_wini/at_wini.c @@ -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)