2012-06-23 18:44:30

by Panayiotis Karabassis

[permalink] [raw]
Subject: [PATCH] ath9k: enable serialize_regmode for non-PCIE AR9287

https://bugzilla.kernel.org/show_bug.cgi?id=42903

Based on the work of <[email protected]>
---
drivers/net/wireless/ath/ath9k/hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index a42c26f..ebfb2a3 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -614,7 +614,7 @@ static int __ath9k_hw_init(struct ath_hw *ah)

if (NR_CPUS > 1 && ah->config.serialize_regmode == SER_REG_MODE_AUTO) {
if (ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCI ||
- ((AR_SREV_9160(ah) || AR_SREV_9280(ah)) &&
+ ((AR_SREV_9160(ah) || AR_SREV_9280(ah) || AR_SREV_9287(ah)) &&
!ah->is_pciexpress)) {
ah->config.serialize_regmode =
SER_REG_MODE_ON;
--
1.7.10



2012-06-26 20:23:32

by John W. Linville

[permalink] [raw]
Subject: Re: [PATCH] ath9k: enable serialize_regmode for non-PCIE AR9287

On Sat, Jun 23, 2012 at 09:43:04PM +0300, Panayiotis Karabassis wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=42903
>
> Based on the work of <[email protected]>

Needs a "Signed-off-by: ...' line.

> ---
> drivers/net/wireless/ath/ath9k/hw.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
> index a42c26f..ebfb2a3 100644
> --- a/drivers/net/wireless/ath/ath9k/hw.c
> +++ b/drivers/net/wireless/ath/ath9k/hw.c
> @@ -614,7 +614,7 @@ static int __ath9k_hw_init(struct ath_hw *ah)
>
> if (NR_CPUS > 1 && ah->config.serialize_regmode == SER_REG_MODE_AUTO) {
> if (ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCI ||
> - ((AR_SREV_9160(ah) || AR_SREV_9280(ah)) &&
> + ((AR_SREV_9160(ah) || AR_SREV_9280(ah) || AR_SREV_9287(ah)) &&
> !ah->is_pciexpress)) {
> ah->config.serialize_regmode =
> SER_REG_MODE_ON;
> --
> 1.7.10
>
>

--
John W. Linville Someday the world will need a hero, and you
[email protected] might be all we have. Be ready.