summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsemenu <semenu@FreeBSD.org>2002-08-19 20:24:13 +0000
committersemenu <semenu@FreeBSD.org>2002-08-19 20:24:13 +0000
commit00ceeee606c14eca4fddd0767f2150fc8f01b111 (patch)
tree06c1a890613b4631e8d4ee57d4a00ab3b32d9c18 /sys
parent53166ba7d82cad3a6b666a6d00d2de0a1c8ce188 (diff)
downloadFreeBSD-src-00ceeee606c14eca4fddd0767f2150fc8f01b111.zip
FreeBSD-src-00ceeee606c14eca4fddd0767f2150fc8f01b111.tar.gz
Do not reset card in epic_freebsd_attach() as reset is done in
epic_common_attach().
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/tx/if_tx.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c
index bb44a87..106ede8 100644
--- a/sys/dev/tx/if_tx.c
+++ b/sys/dev/tx/if_tx.c
@@ -508,13 +508,6 @@ epic_freebsd_attach(dev)
goto fail;
}
- /* Bring the chip out of low-power mode and reset it. */
- 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);
-
/* Do OS independent part, including chip wakeup and reset */
if (epic_common_attach(sc)) {
device_printf(dev, "memory distribution error\n");
OpenPOWER on IntegriCloud