]> Zhao Yanbai Git Server - minix.git/commitdiff
Increased timeout to avoid 'CU does not accept command' panic..
authorBen Gras <ben@minix3.org>
Wed, 13 Jul 2005 11:50:30 +0000 (11:50 +0000)
committerBen Gras <ben@minix3.org>
Wed, 13 Jul 2005 11:50:30 +0000 (11:50 +0000)
drivers/fxp/fxp.c

index 14a7e6a60d58a7a5936ea4b9c4a5ba9df06cce28..ca589dc86cf1ca163ab9162e48e5ec07247dbad3 100644 (file)
@@ -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);