1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

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.
This commit is contained in:
Pyun YongHyeon 2012-10-10 05:43:04 +00:00
parent df4db53856
commit 87b8c39061
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241393

View File

@ -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,