aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-5000.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-11-10 12:56:40 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 13:26:45 -0500
commite39fdee1d7856817619326fa114438c146d74510 (patch)
treefb3730df3164aa6239571c2f39348afe74744fd9 /drivers/net/wireless/iwlwifi/iwl-5000.c
parent81baf6ec9c190ae128748cf2a026bff5cb811b70 (diff)
iwlwifi: put all the isr related function under ops
There were two type of isr supported by iwlwifi devices. legacy isr - only used by legacy devices (3945 & 4965) ict isr - used by all new generation of iwlwifi devices Move all the isr related functions into ops, the ict type of isr supports only needed for newer devices. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c
index e1f412f915ae..ad43f0fdf919 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-5000.c
@@ -385,7 +385,13 @@ static struct iwl_lib_ops iwl5000_lib = {
385 .calib_version = iwlagn_eeprom_calib_version, 385 .calib_version = iwlagn_eeprom_calib_version,
386 .query_addr = iwlagn_eeprom_query_addr, 386 .query_addr = iwlagn_eeprom_query_addr,
387 }, 387 },
388 .isr = iwl_isr_ict, 388 .isr_ops = {
389 .isr = iwl_isr_ict,
390 .free = iwl_free_isr_ict,
391 .alloc = iwl_alloc_isr_ict,
392 .reset = iwl_reset_ict,
393 .disable = iwl_disable_ict,
394 },
389 .temp_ops = { 395 .temp_ops = {
390 .temperature = iwlagn_temperature, 396 .temperature = iwlagn_temperature,
391 }, 397 },
@@ -449,7 +455,13 @@ static struct iwl_lib_ops iwl5150_lib = {
449 .calib_version = iwlagn_eeprom_calib_version, 455 .calib_version = iwlagn_eeprom_calib_version,
450 .query_addr = iwlagn_eeprom_query_addr, 456 .query_addr = iwlagn_eeprom_query_addr,
451 }, 457 },
452 .isr = iwl_isr_ict, 458 .isr_ops = {
459 .isr = iwl_isr_ict,
460 .free = iwl_free_isr_ict,
461 .alloc = iwl_alloc_isr_ict,
462 .reset = iwl_reset_ict,
463 .disable = iwl_disable_ict,
464 },
453 .temp_ops = { 465 .temp_ops = {
454 .temperature = iwl5150_temperature, 466 .temperature = iwl5150_temperature,
455 }, 467 },