mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do not reset card in epic_freebsd_attach() as reset is done in
epic_common_attach().
This commit is contained in:
parent
853c779d87
commit
714087a2ac
1 changed files with 0 additions and 7 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue