Increase previously added delays from 2us to 10us.

This commit is contained in:
thorpej 2002-06-28 01:10:06 +00:00
parent 90bf67b885
commit 6abec8e2a2
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_bge.c,v 1.8 2002/06/28 00:55:20 thorpej Exp $ */
/* $NetBSD: if_bge.c,v 1.9 2002/06/28 01:10:06 thorpej Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@ -428,7 +428,7 @@ bge_miibus_readreg(dev, phy, reg)
val = CSR_READ_4(sc, BGE_MI_COMM);
if (!(val & BGE_MICOMM_BUSY))
break;
delay(2);
delay(10);
}
if (i == BGE_TIMEOUT) {
@ -458,7 +458,7 @@ bge_miibus_writereg(dev, phy, reg, val)
for (i = 0; i < BGE_TIMEOUT; i++) {
if (!(CSR_READ_4(sc, BGE_MI_COMM) & BGE_MICOMM_BUSY))
break;
delay(2);
delay(10);
}
if (i == BGE_TIMEOUT) {