diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2011-04-19 09:58:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-25 14:50:07 -0400 |
commit | b99a7be47dc37c60b6524d761ecfce432de84c01 (patch) | |
tree | 4d7b1a471d9c180765d53f1ab367fe3916827dbb /drivers/net/wireless/ath/ath9k/reg.h | |
parent | 534f0e29282a007a589a659d31baa1ef828c22da (diff) |
ath9k_hw: Define devid and mac version for AR9340
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/reg.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/reg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h index 6acbf0e2240..1bf540561c4 100644 --- a/drivers/net/wireless/ath/ath9k/reg.h +++ b/drivers/net/wireless/ath/ath9k/reg.h | |||
@@ -790,6 +790,7 @@ | |||
790 | #define AR_SREV_VERSION_9485 0x240 | 790 | #define AR_SREV_VERSION_9485 0x240 |
791 | #define AR_SREV_REVISION_9485_10 0 | 791 | #define AR_SREV_REVISION_9485_10 0 |
792 | #define AR_SREV_REVISION_9485_11 1 | 792 | #define AR_SREV_REVISION_9485_11 1 |
793 | #define AR_SREV_VERSION_9340 0x300 | ||
793 | 794 | ||
794 | #define AR_SREV_5416(_ah) \ | 795 | #define AR_SREV_5416(_ah) \ |
795 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCI) || \ | 796 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCI) || \ |
@@ -869,6 +870,9 @@ | |||
869 | (AR_SREV_9485(_ah) && \ | 870 | (AR_SREV_9485(_ah) && \ |
870 | ((_ah)->hw_version.macRev == AR_SREV_REVISION_9485_11)) | 871 | ((_ah)->hw_version.macRev == AR_SREV_REVISION_9485_11)) |
871 | 872 | ||
873 | #define AR_SREV_9340(_ah) \ | ||
874 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9340)) | ||
875 | |||
872 | #define AR_SREV_9285E_20(_ah) \ | 876 | #define AR_SREV_9285E_20(_ah) \ |
873 | (AR_SREV_9285_12_OR_LATER(_ah) && \ | 877 | (AR_SREV_9285_12_OR_LATER(_ah) && \ |
874 | ((REG_READ(_ah, AR_AN_SYNTH9) & 0x7) == 0x1)) | 878 | ((REG_READ(_ah, AR_AN_SYNTH9) & 0x7) == 0x1)) |