diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/iwl-eeprom.h index 4b9de7a8537b..603c84bed630 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.h | |||
@@ -68,17 +68,14 @@ struct iwl_priv; | |||
68 | /* | 68 | /* |
69 | * EEPROM access time values: | 69 | * EEPROM access time values: |
70 | * | 70 | * |
71 | * Driver initiates EEPROM read by writing byte address << 1 to CSR_EEPROM_REG, | 71 | * Driver initiates EEPROM read by writing byte address << 1 to CSR_EEPROM_REG. |
72 | * then clearing (with subsequent read/modify/write) CSR_EEPROM_REG bit | ||
73 | * CSR_EEPROM_REG_BIT_CMD (0x2). | ||
74 | * Driver then polls CSR_EEPROM_REG for CSR_EEPROM_REG_READ_VALID_MSK (0x1). | 72 | * Driver then polls CSR_EEPROM_REG for CSR_EEPROM_REG_READ_VALID_MSK (0x1). |
75 | * When polling, wait 10 uSec between polling loops, up to a maximum 5000 uSec. | 73 | * When polling, wait 10 uSec between polling loops, up to a maximum 5000 uSec. |
76 | * Driver reads 16-bit value from bits 31-16 of CSR_EEPROM_REG. | 74 | * Driver reads 16-bit value from bits 31-16 of CSR_EEPROM_REG. |
77 | */ | 75 | */ |
78 | #define IWL_EEPROM_ACCESS_TIMEOUT 5000 /* uSec */ | 76 | #define IWL_EEPROM_ACCESS_TIMEOUT 5000 /* uSec */ |
79 | #define IWL_EEPROM_ACCESS_DELAY 10 /* uSec */ | ||
80 | 77 | ||
81 | #define IWL_EEPROM_SEM_TIMEOUT 10 /* milliseconds */ | 78 | #define IWL_EEPROM_SEM_TIMEOUT 10 /* microseconds */ |
82 | #define IWL_EEPROM_SEM_RETRY_LIMIT 1000 /* number of attempts (not time) */ | 79 | #define IWL_EEPROM_SEM_RETRY_LIMIT 1000 /* number of attempts (not time) */ |
83 | 80 | ||
84 | 81 | ||