提交 f49c90db 编写于 作者: S Sujith Manoharan 提交者: Kalle Valo

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: NSujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 4f6f952b
...@@ -900,10 +900,13 @@ ...@@ -900,10 +900,13 @@
(((_ah)->hw_version.macVersion == AR_SREV_VERSION_9485)) (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9485))
#define AR_SREV_9565(_ah) \ #define AR_SREV_9565(_ah) \
(((_ah)->hw_version.macVersion == AR_SREV_VERSION_9565)) (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9565))
#define AR_SREV_9003_PCOEM(_ah) \
(AR_SREV_9462(_ah) || AR_SREV_9485(_ah) || AR_SREV_9565(_ah))
#else #else
#define AR_SREV_9462(_ah) 0 #define AR_SREV_9462(_ah) 0
#define AR_SREV_9485(_ah) 0 #define AR_SREV_9485(_ah) 0
#define AR_SREV_9565(_ah) 0 #define AR_SREV_9565(_ah) 0
#define AR_SREV_9003_PCOEM(_ah) 0
#endif #endif
#define AR_SREV_9485_11_OR_LATER(_ah) \ #define AR_SREV_9485_11_OR_LATER(_ah) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册