From: Philip Homburg Date: Mon, 11 Jul 2005 13:09:44 +0000 (+0000) Subject: Increased mii_read timeout. X-Git-Tag: v3.1.0~628 X-Git-Url: http://zhaoyanbai.com/repos/migration-4to9?a=commitdiff_plain;h=ed66b0ff025a0f09fbd8066525fb36134326e9b1;p=minix.git Increased mii_read timeout. --- diff --git a/drivers/fxp/fxp.c b/drivers/fxp/fxp.c index da629c50f..14a7e6a60 100644 --- a/drivers/fxp/fxp.c +++ b/drivers/fxp/fxp.c @@ -2341,7 +2341,7 @@ int reg; v= fxp_inl(port, CSR_MDI_CTL); if (v & CM_READY) break; - } while (getuptime(&t1)==OK && (t1-t0) < MICROS_TO_TICKS(1000)); + } while (getuptime(&t1)==OK && (t1-t0) < MICROS_TO_TICKS(100000)); if (!(v & CM_READY)) panic("FXP","mii_read: MDI not ready after command", NO_NUM);