From: Ben Gras Date: Wed, 13 Jul 2005 11:50:30 +0000 (+0000) Subject: Increased timeout to avoid 'CU does not accept command' panic.. X-Git-Tag: v3.1.0~623 X-Git-Url: http://zhaoyanbai.com/repos/README?a=commitdiff_plain;h=e0e5e6223041735705c863adefffc514466ec4bc;p=minix.git Increased timeout to avoid 'CU does not accept command' panic.. --- diff --git a/drivers/fxp/fxp.c b/drivers/fxp/fxp.c index 14a7e6a60..ca589dc86 100644 --- a/drivers/fxp/fxp.c +++ b/drivers/fxp/fxp.c @@ -1427,7 +1427,7 @@ int check_idle; scb_cmd= fxp_inb(port, SCB_CMD); if ((scb_cmd & SC_CUC_MASK) == SC_CU_NOP) break; - } while (getuptime(&t1)==OK && (t1-t0) < MICROS_TO_TICKS(1000)); + } while (getuptime(&t1)==OK && (t1-t0) < MICROS_TO_TICKS(100000)); if ((scb_cmd & SC_CUC_MASK) != SC_CU_NOP) panic("FXP","fxp_cu_ptr_cmd: CU does not accept command", NO_NUM);