aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/bcm43xx/bcm43xx.h
diff options
context:
space:
mode:
authorMichael Buesch <mbuesch@freenet.de>2006-02-12 16:40:39 -0500
committerJohn W. Linville <linville@tuxdriver.com>2006-03-27 11:18:35 -0500
commitab4977f881fc23cb02ef6f20d1e8ebbdcfef75ad (patch)
tree3889653e5a05fb129fd5b185eb6b192f5b356804 /drivers/net/wireless/bcm43xx/bcm43xx.h
parentdcfd720bd733544606b053e8e68b7419211ace72 (diff)
[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 {
418 418
419struct net_device; 419struct net_device;
420struct pci_dev; 420struct pci_dev;
421struct workqueue_struct;
422struct bcm43xx_dmaring; 421struct bcm43xx_dmaring;
423struct bcm43xx_pioqueue; 422struct bcm43xx_pioqueue;
424 423
@@ -706,18 +705,10 @@ struct bcm43xx_private {
706 705
707 /* Interrupt Service Routine tasklet (bottom-half) */ 706 /* Interrupt Service Routine tasklet (bottom-half) */
708 struct tasklet_struct isr_tasklet; 707 struct tasklet_struct isr_tasklet;
709 /* Custom driver work queue. */
710 struct workqueue_struct *workqueue;
711 708
712 /* Periodic tasks */ 709 /* Periodic tasks */
713 struct work_struct periodic_work0; 710 struct timer_list periodic_tasks;
714#define BCM43xx_PERIODIC_0_DELAY (HZ * 15) 711 unsigned int periodic_state;
715 struct work_struct periodic_work1;
716#define BCM43xx_PERIODIC_1_DELAY ((HZ * 60) + HZ / 2)
717 struct work_struct periodic_work2;
718#define BCM43xx_PERIODIC_2_DELAY ((HZ * 120) + HZ)
719 struct work_struct periodic_work3;
720#define BCM43xx_PERIODIC_3_DELAY ((HZ * 30) + HZ / 5)
721 712
722 struct work_struct restart_work; 713 struct work_struct restart_work;
723 714