summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/phy_g.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2009-09-04 20:51:29 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-09-08 20:31:06 (GMT)
commit36dbd9548e92268127b0c31b0e121e63e9207108 (patch)
tree41d95c5dd824ea43c5f0055bd790b64d7ba8a33a /drivers/net/wireless/b43/phy_g.h
parentb275f28535fc774325bb8ad5f664e6c44a8fbc9b (diff)
downloadlinux-fsl-qoriq-36dbd9548e92268127b0c31b0e121e63e9207108.tar.xz
b43: Use a threaded IRQ handler
Use a threaded IRQ handler to allow locking the mutex and sleeping while executing an interrupt. This removes usage of the irq_lock spinlock, but introduces a new hardirq_lock, which is _only_ used for the PCI/SSB lowlevel hard-irq handler. Sleeping busses (SDIO) will use mutex instead. Signed-off-by: Michael Buesch <mb@bu3sch.de> Tested-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_g.h')
-rw-r--r--drivers/net/wireless/b43/phy_g.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/phy_g.h b/drivers/net/wireless/b43/phy_g.h
index 718947f..8569fdd 100644
--- a/drivers/net/wireless/b43/phy_g.h
+++ b/drivers/net/wireless/b43/phy_g.h
@@ -141,8 +141,7 @@ struct b43_phy_g {
int tgt_idle_tssi;
/* Current idle TSSI */
int cur_idle_tssi;
- /* The current average TSSI.
- * Needs irq_lock, as it's updated in the IRQ path. */
+ /* The current average TSSI. */
u8 average_tssi;
/* Current TX power level attenuation control values */
struct b43_bbatt bbatt;