summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/bcm43xx/bcm43xx.h
diff options
context:
space:
mode:
authorMichael Buesch <mbuesch@freenet.de>2006-02-12 22:40:39 +0100
committerJohn W. Linville <linville@tuxdriver.com>2006-03-27 11:18:35 -0500
commitab4977f881fc23cb02ef6f20d1e8ebbdcfef75ad (patch)
tree3889653e5a05fb129fd5b185eb6b192f5b356804 /drivers/net/wireless/bcm43xx/bcm43xx.h
parentdcfd720bd733544606b053e8e68b7419211ace72 (diff)
downloadblackbird-op-linux-ab4977f881fc23cb02ef6f20d1e8ebbdcfef75ad.tar.gz
blackbird-op-linux-ab4977f881fc23cb02ef6f20d1e8ebbdcfef75ad.zip
[PATCH] bcm43xx: rewrite and simplify the periodic task handling.
Signed-off-by: Michael Buesch <mbuesch@freenet.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx.h')
-rw-r--r--drivers/net/wireless/bcm43xx/bcm43xx.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx.h b/drivers/net/wireless/bcm43xx/bcm43xx.h
index 3d8ac7e952cc..99b2e72281ea 100644
--- a/drivers/net/wireless/bcm43xx/bcm43xx.h
+++ b/drivers/net/wireless/bcm43xx/bcm43xx.h
@@ -418,7 +418,6 @@ enum {
struct net_device;
struct pci_dev;
-struct workqueue_struct;
struct bcm43xx_dmaring;
struct bcm43xx_pioqueue;
@@ -706,18 +705,10 @@ struct bcm43xx_private {
/* Interrupt Service Routine tasklet (bottom-half) */
struct tasklet_struct isr_tasklet;
- /* Custom driver work queue. */
- struct workqueue_struct *workqueue;
/* Periodic tasks */
- struct work_struct periodic_work0;
-#define BCM43xx_PERIODIC_0_DELAY (HZ * 15)
- struct work_struct periodic_work1;
-#define BCM43xx_PERIODIC_1_DELAY ((HZ * 60) + HZ / 2)
- struct work_struct periodic_work2;
-#define BCM43xx_PERIODIC_2_DELAY ((HZ * 120) + HZ)
- struct work_struct periodic_work3;
-#define BCM43xx_PERIODIC_3_DELAY ((HZ * 30) + HZ / 5)
+ struct timer_list periodic_tasks;
+ unsigned int periodic_state;
struct work_struct restart_work;
OpenPOWER on IntegriCloud