diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 28bffdb365a2..37f7d3defb82 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h | |||
@@ -42,6 +42,9 @@ | |||
42 | #define AR_SUBVENDOR_ID_NEW_A 0x7065 | 42 | #define AR_SUBVENDOR_ID_NEW_A 0x7065 |
43 | #define AR5416_MAGIC 0x19641014 | 43 | #define AR5416_MAGIC 0x19641014 |
44 | 44 | ||
45 | #define AR5416_DEVID_AR9287_PCI 0x002D | ||
46 | #define AR5416_DEVID_AR9287_PCIE 0x002E | ||
47 | |||
45 | /* Register read/write primitives */ | 48 | /* Register read/write primitives */ |
46 | #define REG_WRITE(_ah, _reg, _val) ath9k_iowrite32((_ah), (_reg), (_val)) | 49 | #define REG_WRITE(_ah, _reg, _val) ath9k_iowrite32((_ah), (_reg), (_val)) |
47 | #define REG_READ(_ah, _reg) ath9k_ioread32((_ah), (_reg)) | 50 | #define REG_READ(_ah, _reg) ath9k_ioread32((_ah), (_reg)) |
@@ -400,6 +403,7 @@ struct ath_hw { | |||
400 | union { | 403 | union { |
401 | struct ar5416_eeprom_def def; | 404 | struct ar5416_eeprom_def def; |
402 | struct ar5416_eeprom_4k map4k; | 405 | struct ar5416_eeprom_4k map4k; |
406 | struct ar9287_eeprom_t map9287; | ||
403 | } eeprom; | 407 | } eeprom; |
404 | const struct eeprom_ops *eep_ops; | 408 | const struct eeprom_ops *eep_ops; |
405 | enum ath9k_eep_map eep_map; | 409 | enum ath9k_eep_map eep_map; |