diff options
author | Bruno Randolf <br1@einfach.org> | 2010-03-25 01:49:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-31 14:39:08 -0400 |
commit | e65e1d7713da89d98f01c3f4267b2c9ecb03c16f (patch) | |
tree | 4df0ab05508bf9d55b7a065dc284861ed0685da9 /drivers/net/wireless/ath/ath5k/ath5k.h | |
parent | 1063b176c072b936c43d0e6270168b19881ecb72 (diff) |
ath5k: remove the use of SWI interrupt
We don't need to generate a software interrupt (SWI) just to schedule a tasklet
- we can just schedule the tasklet directly.
Rename constants, names, etc to reflect the fact that we don't use SWI any more.
Also move the flag handling into the tasklet and prepare it to behave correctly
when there are multiple flags present.
Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ath5k.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index a3019ee4f2f..d84ccde1117 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h | |||
@@ -890,10 +890,10 @@ enum ath5k_int { | |||
890 | AR5K_INT_NOCARD = 0xffffffff | 890 | AR5K_INT_NOCARD = 0xffffffff |
891 | }; | 891 | }; |
892 | 892 | ||
893 | /* Software interrupts used for calibration */ | 893 | /* mask which calibration is active at the moment */ |
894 | enum ath5k_software_interrupt { | 894 | enum ath5k_calibration_mask { |
895 | AR5K_SWI_FULL_CALIBRATION = 0x01, | 895 | AR5K_CALIBRATION_FULL = 0x01, |
896 | AR5K_SWI_SHORT_CALIBRATION = 0x02, | 896 | AR5K_CALIBRATION_SHORT = 0x02, |
897 | }; | 897 | }; |
898 | 898 | ||
899 | /* | 899 | /* |
@@ -1102,8 +1102,8 @@ struct ath5k_hw { | |||
1102 | /* Calibration timestamp */ | 1102 | /* Calibration timestamp */ |
1103 | unsigned long ah_cal_tstamp; | 1103 | unsigned long ah_cal_tstamp; |
1104 | 1104 | ||
1105 | /* Software interrupt mask */ | 1105 | /* Calibration mask */ |
1106 | u8 ah_swi_mask; | 1106 | u8 ah_cal_mask; |
1107 | 1107 | ||
1108 | /* | 1108 | /* |
1109 | * Function pointers | 1109 | * Function pointers |