svn commit: r192042 - head/sys/dev/bwi
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Wed May 13 14:25:56 UTC 2009
Author: nwhitehorn
Date: Wed May 13 14:25:55 2009
New Revision: 192042
URL: http://svn.freebsd.org/changeset/base/192042
Log:
Add a short delay after programming PHY registers to give some time for
the engine to catch up. This prevents a machine check exception from
illegal memory requests with a BCM4318.
Modified:
head/sys/dev/bwi/bwiphy.c
Modified: head/sys/dev/bwi/bwiphy.c
==============================================================================
--- head/sys/dev/bwi/bwiphy.c Wed May 13 13:00:52 2009 (r192041)
+++ head/sys/dev/bwi/bwiphy.c Wed May 13 14:25:55 2009 (r192042)
@@ -664,6 +664,7 @@ bwi_phy_init_11b_rev6(struct bwi_mac *ma
for (ofs = 0xa8; ofs < 0xc8; ++ofs) {
PHY_WRITE(mac, ofs, (val & 0x3f3f));
val += 0x202;
+ DELAY(10);
}
if (phy->phy_mode == IEEE80211_MODE_11G) {
More information about the svn-src-all
mailing list