From e0e5e6223041735705c863adefffc514466ec4bc Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 13 Jul 2005 11:50:30 +0000 Subject: [PATCH] Increased timeout to avoid 'CU does not accept command' panic.. --- drivers/fxp/fxp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);