diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-02-19 17:05:33 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:13 -0500 |
commit | 9f6adf23d87ad394ed03c038409550ca37029154 (patch) | |
tree | 411befa5122d1e751199f2089ddf991f0a8d0dd1 | |
parent | 4a9a66e9a87a8346129d557c7ec2303173318012 (diff) |
iwlwifi: remove twice defined CSR register
This patch removes twice defined CSR register. It was confusing
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-hw.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965-hw.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 7 |
3 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-hw.h b/drivers/net/wireless/iwlwifi/iwl-3945-hw.h index 571815d7e8b..6693767adc9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945-hw.h | |||
@@ -324,7 +324,6 @@ struct iwl3945_eeprom { | |||
324 | /*=== CSR (control and status registers) ===*/ | 324 | /*=== CSR (control and status registers) ===*/ |
325 | #define CSR_BASE (0x000) | 325 | #define CSR_BASE (0x000) |
326 | 326 | ||
327 | #define CSR_SW_VER (CSR_BASE+0x000) | ||
328 | #define CSR_HW_IF_CONFIG_REG (CSR_BASE+0x000) /* hardware interface config */ | 327 | #define CSR_HW_IF_CONFIG_REG (CSR_BASE+0x000) /* hardware interface config */ |
329 | #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ | 328 | #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ |
330 | #define CSR_INT (CSR_BASE+0x008) /* host interrupt status/ack */ | 329 | #define CSR_INT (CSR_BASE+0x008) /* host interrupt status/ack */ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h index ffe1e9dfdec..cc726215ab9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965-hw.h | |||
@@ -413,7 +413,6 @@ struct iwl4965_eeprom { | |||
413 | /*=== CSR (control and status registers) ===*/ | 413 | /*=== CSR (control and status registers) ===*/ |
414 | #define CSR_BASE (0x000) | 414 | #define CSR_BASE (0x000) |
415 | 415 | ||
416 | #define CSR_SW_VER (CSR_BASE+0x000) | ||
417 | #define CSR_HW_IF_CONFIG_REG (CSR_BASE+0x000) /* hardware interface config */ | 416 | #define CSR_HW_IF_CONFIG_REG (CSR_BASE+0x000) /* hardware interface config */ |
418 | #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ | 417 | #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ |
419 | #define CSR_INT (CSR_BASE+0x008) /* host interrupt status/ack */ | 418 | #define CSR_INT (CSR_BASE+0x008) /* host interrupt status/ack */ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 237d3b24dd2..a9c30bcb65b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -545,9 +545,10 @@ int iwl4965_hw_nic_init(struct iwl4965_priv *priv) | |||
545 | 545 | ||
546 | /* set CSR_HW_CONFIG_REG for uCode use */ | 546 | /* set CSR_HW_CONFIG_REG for uCode use */ |
547 | 547 | ||
548 | iwl4965_set_bit(priv, CSR_SW_VER, CSR_HW_IF_CONFIG_REG_BIT_KEDRON_R | | 548 | iwl4965_set_bit(priv, CSR_HW_IF_CONFIG_REG, |
549 | CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI | | 549 | CSR_HW_IF_CONFIG_REG_BIT_KEDRON_R | |
550 | CSR_HW_IF_CONFIG_REG_BIT_MAC_SI); | 550 | CSR_HW_IF_CONFIG_REG_BIT_RADIO_SI | |
551 | CSR_HW_IF_CONFIG_REG_BIT_MAC_SI); | ||
551 | 552 | ||
552 | rc = iwl4965_grab_nic_access(priv); | 553 | rc = iwl4965_grab_nic_access(priv); |
553 | if (rc < 0) { | 554 | if (rc < 0) { |