aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-02-20 08:47:56 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:50 -0500
commit1cc8f476f1260758a364b68d299796a9edb9ac41 (patch)
treef5a09937101d63f473e425de7a0dea515bea502c /drivers
parent969d15cfab52c0af40c617fcbcc54cad6eaa4b32 (diff)
b43: Honor the no-slow-clock boardflag
Do not turn off the crystal, if the boardflags tell us so. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/b43/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 390ce140637d..3ad3a6c447c0 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -4177,6 +4177,8 @@ static int b43_wireless_core_init(struct b43_wldev *dev)
4177 if (phy->radio_rev < 6) 4177 if (phy->radio_rev < 6)
4178 hf |= B43_HF_VCORECALC; 4178 hf |= B43_HF_VCORECALC;
4179 } 4179 }
4180 if (sprom->boardflags_lo & B43_BFL_XTAL_NOSLOW)
4181 hf |= B43_HF_DSCRQ; /* Disable slowclock requests from ucode. */
4180 b43_hf_write(dev, hf); 4182 b43_hf_write(dev, hf);
4181 4183
4182 b43_set_retry_limits(dev, B43_DEFAULT_SHORT_RETRY_LIMIT, 4184 b43_set_retry_limits(dev, B43_DEFAULT_SHORT_RETRY_LIMIT,
@@ -4215,7 +4217,7 @@ static int b43_wireless_core_init(struct b43_wldev *dev)
4215 b43_set_synth_pu_delay(dev, 1); 4217 b43_set_synth_pu_delay(dev, 1);
4216 b43_bluetooth_coext_enable(dev); 4218 b43_bluetooth_coext_enable(dev);
4217 4219
4218 ssb_bus_powerup(bus, 1); /* Enable dynamic PCTL */ 4220 ssb_bus_powerup(bus, !(sprom->boardflags_lo & B43_BFL_XTAL_NOSLOW));
4219 b43_upload_card_macaddress(dev); 4221 b43_upload_card_macaddress(dev);
4220 b43_security_init(dev); 4222 b43_security_init(dev);
4221 if (!dev->suspend_in_progress) 4223 if (!dev->suspend_in_progress)