aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-02-20 08:58:59 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:50 -0500
commit8821905cfb65504f64e6beb014133bd2a998f5dc (patch)
treedf017d775d0eed9d2e347ae3b7d98becbf356473 /drivers/net/wireless/b43/main.c
parent1cc8f476f1260758a364b68d299796a9edb9ac41 (diff)
b43: Enable PCI slow clock workaround, if needed.
Enable the PCI slow clock workaround, if we're running a PCI core rev <= 10. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r--drivers/net/wireless/b43/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 3ad3a6c447c0..ef514827a8d5 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -4179,6 +4179,9 @@ static int b43_wireless_core_init(struct b43_wldev *dev)
4179 } 4179 }
4180 if (sprom->boardflags_lo & B43_BFL_XTAL_NOSLOW) 4180 if (sprom->boardflags_lo & B43_BFL_XTAL_NOSLOW)
4181 hf |= B43_HF_DSCRQ; /* Disable slowclock requests from ucode. */ 4181 hf |= B43_HF_DSCRQ; /* Disable slowclock requests from ucode. */
4182 if ((bus->bustype == SSB_BUSTYPE_PCI) &&
4183 (bus->pcicore.dev->id.revision <= 10))
4184 hf |= B43_HF_PCISCW; /* PCI slow clock workaround. */
4182 b43_hf_write(dev, hf); 4185 b43_hf_write(dev, hf);
4183 4186
4184 b43_set_retry_limits(dev, B43_DEFAULT_SHORT_RETRY_LIMIT, 4187 b43_set_retry_limits(dev, B43_DEFAULT_SHORT_RETRY_LIMIT,