Add missing delay after card reset.

This fixes randoms lockups when probing the card at boot time, when
more than 1 similar card is found in the machine.

Reviewed by:	semenu
This commit is contained in:
pb 2000-11-09 17:25:49 +00:00
parent 82e691e492
commit 5bdaf1e43b
2 changed files with 2 additions and 0 deletions

View File

@ -768,6 +768,7 @@ epic_common_attach(sc)
/* Bring the chip out of low-power mode. */
CSR_WRITE_4( sc, GENCTL, GENCTL_SOFT_RESET);
DELAY(500);
/* Workaround for Application Note 7-15 */
for (i=0; i<16; i++) CSR_WRITE_4(sc, TEST1, TEST1_CLOCK_TEST);

View File

@ -768,6 +768,7 @@ epic_common_attach(sc)
/* Bring the chip out of low-power mode. */
CSR_WRITE_4( sc, GENCTL, GENCTL_SOFT_RESET);
DELAY(500);
/* Workaround for Application Note 7-15 */
for (i=0; i<16; i++) CSR_WRITE_4(sc, TEST1, TEST1_CLOCK_TEST);