Date: Wed, 13 May 2009 14:25:55 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192042 - head/sys/dev/bwi Message-ID: <200905131425.n4DEPthr058774@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905131425.n4DEPthr058774>