diff options
author | Zhu, Yi <yi.zhu@intel.com> | 2008-12-11 10:33:36 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-12 14:45:33 -0500 |
commit | 3d5717ade01ce22511f2992f150bf6644b21c377 (patch) | |
tree | 03d223be4bdd43cad502b59e8d8dc5ddf5873754 /drivers/net/wireless/iwlwifi/iwl-csr.h | |
parent | 9c5f89b3f6580cca21dca4ede940900c5b3c3a81 (diff) | |
download | kernel_samsung_smdk4412-3d5717ade01ce22511f2992f150bf6644b21c377.zip kernel_samsung_smdk4412-3d5717ade01ce22511f2992f150bf6644b21c377.tar.gz kernel_samsung_smdk4412-3d5717ade01ce22511f2992f150bf6644b21c377.tar.bz2 |
iwlwifi: use iwl_poll_direct_bit in EEPROM reading
The patch replaces the current reading EEPROM loop iterations with
iwl_poll_direct_bit(). It also fixes some comment error.
Signed-off-by: Zhu Yi <yi.zhu@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-csr.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-csr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-csr.h b/drivers/net/wireless/iwlwifi/iwl-csr.h index b834e21..f34ede4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-csr.h +++ b/drivers/net/wireless/iwlwifi/iwl-csr.h @@ -216,6 +216,8 @@ /* EEPROM REG */ #define CSR_EEPROM_REG_READ_VALID_MSK (0x00000001) #define CSR_EEPROM_REG_BIT_CMD (0x00000002) +#define CSR_EEPROM_REG_MSK_ADDR (0x0000FFFC) +#define CSR_EEPROM_REG_MSK_DATA (0xFFFF0000) /* EEPROM GP */ #define CSR_EEPROM_GP_VALID_MSK (0x00000006) |