diff mbox

[3/6] ath9k: Add a macro to identify PCOEM chips

Message ID 1421633598-4488-4-git-send-email-sujith@msujith.org (mailing list archive)
State Superseded
Delegated to: Kalle Valo
Headers show

Commit Message

Sujith Manoharan Jan. 19, 2015, 2:13 a.m. UTC
From: Sujith Manoharan <c_manoha@qca.qualcomm.com>

This can be use 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>
---
 drivers/net/wireless/ath/ath9k/reg.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Sujith Manoharan Jan. 28, 2015, 12:10 p.m. UTC | #1
Sujith Manoharan wrote:
>  #define AR_SREV_9462(_ah) 0
>  #define AR_SREV_9485(_ah) 0
>  #define AR_SREV_9565(_ah) 0
> +#define AR_SREV_9003_PCOEM(_ah) )

Kalle, this is a typo - I'll resend the series.

Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kalle Valo Jan. 28, 2015, 12:15 p.m. UTC | #2
Sujith Manoharan <sujith@msujith.org> writes:

> Sujith Manoharan wrote:
>>  #define AR_SREV_9462(_ah) 0
>>  #define AR_SREV_9485(_ah) 0
>>  #define AR_SREV_9565(_ah) 0
>> +#define AR_SREV_9003_PCOEM(_ah) )
>
> Kalle, this is a typo - I'll resend the series.

Ok. I had actually put these into "Not Applicable" by accident and
that's why I had missed them.
Sujith Manoharan Jan. 28, 2015, 12:26 p.m. UTC | #3
Kalle Valo wrote:
> > Kalle, this is a typo - I'll resend the series.
> 
> Ok. I had actually put these into "Not Applicable" by accident and
> that's why I had missed them.

Ah ok. I thought I had to enable some patchwork filters manually to see
the pending ath9k patches.

Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kalle Valo Jan. 28, 2015, 12:59 p.m. UTC | #4
Sujith Manoharan <sujith@msujith.org> writes:

> Kalle Valo wrote:
>> > Kalle, this is a typo - I'll resend the series.
>> 
>> Ok. I had actually put these into "Not Applicable" by accident and
>> that's why I had missed them.
>
> Ah ok. I thought I had to enable some patchwork filters manually to see
> the pending ath9k patches.

For ath10k there's currently a separate patchwork project (I haven't
bothered to change that yet), but for all other drivers you should see
the patches from this link:

https://patchwork.kernel.org/project/linux-wireless/list/

If the patch is not in the list, it's not commited and there's no clear
reason why it was dropped, the chances are that I did a mistake. Like in
this case and also with one of the mwifiex patch earlier this week. I'll
need to be more careful with the states.
Sujith Manoharan Jan. 28, 2015, 1:10 p.m. UTC | #5
Kalle Valo wrote:
> For ath10k there's currently a separate patchwork project (I haven't
> bothered to change that yet), but for all other drivers you should see
> the patches from this link:
> 
> https://patchwork.kernel.org/project/linux-wireless/list/
> 
> If the patch is not in the list, it's not commited and there's no clear
> reason why it was dropped, the chances are that I did a mistake. Like in
> this case and also with one of the mwifiex patch earlier this week. I'll
> need to be more careful with the states.

Ok, thanks.

Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h
index eb2bb0d..441145e 100644
--- a/drivers/net/wireless/ath/ath9k/reg.h
+++ b/drivers/net/wireless/ath/ath9k/reg.h
@@ -900,10 +900,13 @@ 
 	(((_ah)->hw_version.macVersion == AR_SREV_VERSION_9485))
 #define AR_SREV_9565(_ah) \
 	(((_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
 #define AR_SREV_9462(_ah) 0
 #define AR_SREV_9485(_ah) 0
 #define AR_SREV_9565(_ah) 0
+#define AR_SREV_9003_PCOEM(_ah) )
 #endif
 
 #define AR_SREV_9485_11_OR_LATER(_ah) \