diff options
author | yongari <yongari@FreeBSD.org> | 2012-10-10 05:43:04 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2012-10-10 05:43:04 +0000 |
commit | c88713bcea5c98dce43bbbaee2f92b006fa2b6fe (patch) | |
tree | 29ee36e68019a0b9a48220979616b2f2b8e45451 /sys/dev | |
parent | 85fe294b274058d67c9754e34941cd93675acc69 (diff) | |
download | FreeBSD-src-c88713bcea5c98dce43bbbaee2f92b006fa2b6fe.zip FreeBSD-src-c88713bcea5c98dce43bbbaee2f92b006fa2b6fe.tar.gz |
Remove unnecessary delay. I don't see any comments in data sheet
that requires 10ms delay after device reset. Because that code was
there from day 1, I guess it was added to give enough settlement
time after updating BGE_MAC_MODE register.
The recommended delay time for BGE_MAC_MODE after updating is 40us
and it was already done in r241219.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/bge/if_bge.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index ce6ad21..2c4ad77 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -3784,7 +3784,6 @@ bge_reset(struct bge_softc *sc) val = CSR_READ_4(sc, 0x7C00); CSR_WRITE_4(sc, 0x7C00, val | (1 << 25)); } - DELAY(10000); if (sc->bge_asicrev == BGE_ASICREV_BCM5720) BGE_CLRBIT(sc, BGE_CPMU_CLCK_ORIDE, |