aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/tx/if_tx.c
diff options
context:
space:
mode:
authorSemen Ustimenko <semenu@FreeBSD.org>2002-08-19 20:24:13 +0000
committerSemen Ustimenko <semenu@FreeBSD.org>2002-08-19 20:24:13 +0000
commit714087a2acb5ed11e587fb90f0d462866ff7f490 (patch)
tree06c1a890613b4631e8d4ee57d4a00ab3b32d9c18 /sys/dev/tx/if_tx.c
parent853c779d876c599895f7537a823796ecb867ef89 (diff)
downloadsrc-714087a2acb5ed11e587fb90f0d462866ff7f490.tar.gz
src-714087a2acb5ed11e587fb90f0d462866ff7f490.zip
Do not reset card in epic_freebsd_attach() as reset is done in
epic_common_attach().
Notes
Notes: svn path=/head/; revision=102135
Diffstat (limited to 'sys/dev/tx/if_tx.c')
-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 bb44a87b82a1..106ede8fa652 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");