From 5bdaf1e43b8c085c5956bd07c13d5d25e4492d3b Mon Sep 17 00:00:00 2001 From: pb Date: Thu, 9 Nov 2000 17:25:49 +0000 Subject: 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 --- sys/pci/if_tx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/pci') diff --git a/sys/pci/if_tx.c b/sys/pci/if_tx.c index 8c5a8df..0080611 100644 --- a/sys/pci/if_tx.c +++ b/sys/pci/if_tx.c @@ -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); -- cgit v1.1