diff options
author | Mohamed Abbas <mohamed.abbas@intel.com> | 2009-05-22 14:01:50 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-22 14:06:05 -0400 |
commit | ef850d7cb301bda9155c096269557a4586b58071 (patch) | |
tree | e9dc0190a2a575a9515511043805fbdb73ac02e6 /drivers/net/wireless/iwlwifi/iwl-3945.c | |
parent | a2b0f02e4795bfde5f11720a10af8923cb98b654 (diff) |
iwlcore: support ICT interrupt
Add ICT interrupt handler support, ICT should improve CPU utilization
since it does not require target read which is very expensive. This
interrupt handler only added to 5000 cards and newer. Device will write
interrupts to ICT shared table to inform driver about its interrupts.
These patches will not touch 3945 and 4965 interrupt handlers and tasklet.
Signed-off-by: Mohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 8bed0445ff5d..fd65e1c3e055 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -2838,6 +2838,7 @@ static struct iwl_lib_ops iwl3945_lib = { | |||
2838 | .send_tx_power = iwl3945_send_tx_power, | 2838 | .send_tx_power = iwl3945_send_tx_power, |
2839 | .is_valid_rtc_data_addr = iwl3945_hw_valid_rtc_data_addr, | 2839 | .is_valid_rtc_data_addr = iwl3945_hw_valid_rtc_data_addr, |
2840 | .post_associate = iwl3945_post_associate, | 2840 | .post_associate = iwl3945_post_associate, |
2841 | .isr = iwl_isr_legacy, | ||
2841 | .config_ap = iwl3945_config_ap, | 2842 | .config_ap = iwl3945_config_ap, |
2842 | }; | 2843 | }; |
2843 | 2844 | ||
@@ -2871,7 +2872,8 @@ static struct iwl_cfg iwl3945_bg_cfg = { | |||
2871 | .eeprom_size = IWL3945_EEPROM_IMG_SIZE, | 2872 | .eeprom_size = IWL3945_EEPROM_IMG_SIZE, |
2872 | .eeprom_ver = EEPROM_3945_EEPROM_VERSION, | 2873 | .eeprom_ver = EEPROM_3945_EEPROM_VERSION, |
2873 | .ops = &iwl3945_ops, | 2874 | .ops = &iwl3945_ops, |
2874 | .mod_params = &iwl3945_mod_params | 2875 | .mod_params = &iwl3945_mod_params, |
2876 | .use_isr_legacy = true | ||
2875 | }; | 2877 | }; |
2876 | 2878 | ||
2877 | static struct iwl_cfg iwl3945_abg_cfg = { | 2879 | static struct iwl_cfg iwl3945_abg_cfg = { |
@@ -2883,7 +2885,8 @@ static struct iwl_cfg iwl3945_abg_cfg = { | |||
2883 | .eeprom_size = IWL3945_EEPROM_IMG_SIZE, | 2885 | .eeprom_size = IWL3945_EEPROM_IMG_SIZE, |
2884 | .eeprom_ver = EEPROM_3945_EEPROM_VERSION, | 2886 | .eeprom_ver = EEPROM_3945_EEPROM_VERSION, |
2885 | .ops = &iwl3945_ops, | 2887 | .ops = &iwl3945_ops, |
2886 | .mod_params = &iwl3945_mod_params | 2888 | .mod_params = &iwl3945_mod_params, |
2889 | .use_isr_legacy = true | ||
2887 | }; | 2890 | }; |
2888 | 2891 | ||
2889 | struct pci_device_id iwl3945_hw_card_ids[] = { | 2892 | struct pci_device_id iwl3945_hw_card_ids[] = { |