From 714087a2acb5ed11e587fb90f0d462866ff7f490 Mon Sep 17 00:00:00 2001 From: Semen Ustimenko Date: Mon, 19 Aug 2002 20:24:13 +0000 Subject: [PATCH] Do not reset card in epic_freebsd_attach() as reset is done in epic_common_attach(). --- sys/dev/tx/if_tx.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c index bb44a87b82a..106ede8fa65 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");