From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [PATCH] ath9k: enable serialize_regmode for non-PCIE AR9160
Date: Wed, 28 Jul 2010 11:08:44 -0700 [thread overview]
Message-ID: <20100728180844.GA6133@tux> (raw)
In-Reply-To: <1280330127-5123-1-git-send-email-linville@tuxdriver.com>
On Wed, Jul 28, 2010 at 08:15:27AM -0700, John W. Linville wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=16476
>
> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Wow nice find, thanks!
> ---
> Is there a better (i.e. either more precise or more inclusive) test
> to be using here?
This is fine unless there is an AR9160 that is AHB, Felix would know. Also
if you can Cc stable, that would be appreciated
Luis
> drivers/net/wireless/ath/ath9k/hw.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
> index c33f17d..1041965 100644
> --- a/drivers/net/wireless/ath/ath9k/hw.c
> +++ b/drivers/net/wireless/ath/ath9k/hw.c
> @@ -537,7 +537,8 @@ static int __ath9k_hw_init(struct ath_hw *ah)
>
> if (ah->config.serialize_regmode == SER_REG_MODE_AUTO) {
> if (ah->hw_version.macVersion == AR_SREV_VERSION_5416_PCI ||
> - (AR_SREV_9280(ah) && !ah->is_pciexpress)) {
> + ((AR_SREV_9160(ah) || AR_SREV_9280(ah)) &&
> + !ah->is_pciexpress)) {
> ah->config.serialize_regmode =
> SER_REG_MODE_ON;
> } else {
> --
> 1.7.1.1
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
prev parent reply other threads:[~2010-07-28 18:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-28 15:15 [ath9k-devel] [PATCH] ath9k: enable serialize_regmode for non-PCIE AR9160 John W. Linville
2010-07-28 15:15 ` John W. Linville
2010-07-28 18:08 ` Luis R. Rodriguez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100728180844.GA6133@tux \
--to=lrodriguez@atheros.com \
--cc=ath9k-devel@lists.ath9k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.