summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2006-12-13 20:51:51 +0000
committerscottl <scottl@FreeBSD.org>2006-12-13 20:51:51 +0000
commite506efd7ce04d93714480635bdd7790c7d21352f (patch)
treec7456baf23fd6d8354a152a42ede50d645162cb1 /sys/dev
parentf91f9bc30c692ac3bd85955ee04c8b9102f4ecaa (diff)
downloadFreeBSD-src-e506efd7ce04d93714480635bdd7790c7d21352f.zip
FreeBSD-src-e506efd7ce04d93714480635bdd7790c7d21352f.tar.gz
Remove a redundant write of the firmware reset magic number. It looks to
have been added erroneously, and it causes problems on some chips. A larger change is needed to do this write at a more appropriate place, but that change requires reworking the ASF logic. That will be worked on in the future. Submitted by: Bruce Evans
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/bge/if_bge.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index 760d7f0..c03d2c2 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -2563,12 +2563,6 @@ bge_reset(struct bge_softc *sc)
}
}
- /*
- * Write the magic number to the firmware mailbox at 0xb50
- * so that the driver can synchronize with the firmware.
- */
- bge_writemem_ind(sc, BGE_SOFTWARE_GENCOMM, BGE_MAGIC_NUMBER);
-
/*
* Set GPHY Power Down Override to leave GPHY
* powered up in D0 uninitialized.
OpenPOWER on IntegriCloud