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) {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to