diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2015-01-28 07:24:23 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-01-29 03:33:22 -0500 |
commit | f49c90db4d2351f354c4f6902f6718637cd23393 (patch) | |
tree | 54d30ac8d8ebaad7a8caef7a426907b1b43e6767 /drivers/net/wireless | |
parent | 4f6f952b9cdd096f38d2a7dc6f560c630c91b627 (diff) |
ath9k: Add a macro to identify PCOEM chips
This can be used if we need to apply register settings
for all PCOEM solutions (in the AR9003 family).
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/reg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h index eb2bb0db297f..3c0b1807bb2b 100644 --- a/drivers/net/wireless/ath/ath9k/reg.h +++ b/drivers/net/wireless/ath/ath9k/reg.h | |||
@@ -900,10 +900,13 @@ | |||
900 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9485)) | 900 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9485)) |
901 | #define AR_SREV_9565(_ah) \ | 901 | #define AR_SREV_9565(_ah) \ |
902 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9565)) | 902 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9565)) |
903 | #define AR_SREV_9003_PCOEM(_ah) \ | ||
904 | (AR_SREV_9462(_ah) || AR_SREV_9485(_ah) || AR_SREV_9565(_ah)) | ||
903 | #else | 905 | #else |
904 | #define AR_SREV_9462(_ah) 0 | 906 | #define AR_SREV_9462(_ah) 0 |
905 | #define AR_SREV_9485(_ah) 0 | 907 | #define AR_SREV_9485(_ah) 0 |
906 | #define AR_SREV_9565(_ah) 0 | 908 | #define AR_SREV_9565(_ah) 0 |
909 | #define AR_SREV_9003_PCOEM(_ah) 0 | ||
907 | #endif | 910 | #endif |
908 | 911 | ||
909 | #define AR_SREV_9485_11_OR_LATER(_ah) \ | 912 | #define AR_SREV_9485_11_OR_LATER(_ah) \ |