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.
This commit is contained in:
Nathan Whitehorn 2009-05-13 14:25:55 +00:00
parent 1de3b2ff03
commit 0a594d9ecc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192042

View File

@ -664,6 +664,7 @@ bwi_phy_init_11b_rev6(struct bwi_mac *mac)
for (ofs = 0xa8; ofs < 0xc8; ++ofs) {
PHY_WRITE(mac, ofs, (val & 0x3f3f));
val += 0x202;
DELAY(10);
}
if (phy->phy_mode == IEEE80211_MODE_11G) {