From: "Luis R. Rodriguez" <lrodriguez@atheros.com> To: linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org, ath9k-devel@lists.ath9k.org, "Luis R. Rodriguez" <lrodriguez@atheros.com> Subject: [PATCH v2 07/20] ath9k_hw: consolidate the pci express checks on __ath9k_hw_init() Date: Wed, 17 Mar 2010 18:28:00 -0400 [thread overview] Message-ID: <1268864893-11428-8-git-send-email-lrodriguez@atheros.com> (raw) In-Reply-To: <1268864893-11428-1-git-send-email-lrodriguez@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> --- drivers/net/wireless/ath/ath9k/hw.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 8d376ce..9093235 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -535,10 +535,7 @@ int __ath9k_hw_init(struct ath_hw *ah) return -EOPNOTSUPP; } - if (AR_SREV_9100(ah)) - ah->is_pciexpress = false; - - if (AR_SREV_9271(ah)) + if (AR_SREV_9100(ah) || AR_SREV_9271(ah)) ah->is_pciexpress = false; /* XXX: move this to its own hw op */ -- 1.6.3.3
WARNING: multiple messages have this Message-ID (diff)
From: Luis R. Rodriguez <lrodriguez@atheros.com> To: ath9k-devel@lists.ath9k.org Subject: [ath9k-devel] [PATCH v2 07/20] ath9k_hw: consolidate the pci express checks on __ath9k_hw_init() Date: Wed, 17 Mar 2010 18:28:00 -0400 [thread overview] Message-ID: <1268864893-11428-8-git-send-email-lrodriguez@atheros.com> (raw) In-Reply-To: <1268864893-11428-1-git-send-email-lrodriguez@atheros.com> Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> --- drivers/net/wireless/ath/ath9k/hw.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 8d376ce..9093235 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -535,10 +535,7 @@ int __ath9k_hw_init(struct ath_hw *ah) return -EOPNOTSUPP; } - if (AR_SREV_9100(ah)) - ah->is_pciexpress = false; - - if (AR_SREV_9271(ah)) + if (AR_SREV_9100(ah) || AR_SREV_9271(ah)) ah->is_pciexpress = false; /* XXX: move this to its own hw op */ -- 1.6.3.3
next prev parent reply other threads:[~2010-03-17 22:28 UTC|newest] Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-03-17 22:27 [PATCH v2 00/20] ath9k_hw: ar93xx initial abstraction work Luis R. Rodriguez 2010-03-17 22:27 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:27 ` [PATCH v2 01/20] ath9k: start building an abstraction layer for hardware routines Luis R. Rodriguez 2010-03-17 22:27 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:27 ` [PATCH v2 02/20] ath9k: initial move of ar9002 specific code to its own file Luis R. Rodriguez 2010-03-17 22:27 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:27 ` [PATCH v2 03/20] ath9k: rename initvals.h to ar9002_initvals.h Luis R. Rodriguez 2010-03-17 22:27 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:27 ` [PATCH v2 04/20] ath9k_hw: rename getNoiseFloorThresh() to ath9k_hw_getnf_thres() Luis R. Rodriguez 2010-03-17 22:27 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:27 ` [PATCH v2 05/20] ath9k_hw: move < AR9002 specific calibration stuff to its own file Luis R. Rodriguez 2010-03-17 22:27 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:27 ` [PATCH v2 06/20] ath9k_hw: move calibration settings to ar9002_calib_settings.c Luis R. Rodriguez 2010-03-17 22:27 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` Luis R. Rodriguez [this message] 2010-03-17 22:28 ` [ath9k-devel] [PATCH v2 07/20] ath9k_hw: consolidate the pci express checks on __ath9k_hw_init() Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 08/20] ath9k_hw: move ar9002 bluetooth coexistence code to its own file Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 09/20] ath9k_hw: Use a helper for setting phy error masks Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 10/20] ath9k_hw: add helpers for writing phy errors counts Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 11/20] ath9k_hw: add a helper for phy error counter reads Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 12/20] ath9k_hw: add documentation for the TPC register Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 13/20] ath9k_hw: remove unused and buggy ath9k_hw_GetMibCycleCountsPct() Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 14/20] ath9k_hw: add a helper for retrieving the MIB cycle counters Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 15/20] ath9k_hw: provide a helper for clearing the MIB counters Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 16/20] ath9k_hw: simplify reseting of the MIB control register Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 17/20] ath9k_hw: provide a helper for managing " Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 18/20] ath9k_hw: move common defines for ANI into ath/reg.h Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 19/20] ath9k_hw: move ar9002 ANI code to its own file Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:28 ` [PATCH v2 20/20] ath9k_hw: remove wrapper ath9k_hw_write_regs() Luis R. Rodriguez 2010-03-17 22:28 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:32 ` [PATCH v2 00/20] ath9k_hw: ar93xx initial abstraction work Luis R. Rodriguez 2010-03-17 22:32 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-17 22:50 ` Luis R. Rodriguez 2010-03-17 22:50 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-18 1:53 ` Luis R. Rodriguez 2010-03-18 1:53 ` [ath9k-devel] " Luis R. Rodriguez 2010-03-23 20:44 ` John W. Linville 2010-03-23 20:44 ` [ath9k-devel] " John W. Linville 2010-03-23 20:53 ` Luis R. Rodriguez 2010-03-23 20:53 ` [ath9k-devel] " Luis R. Rodriguez
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=1268864893-11428-8-git-send-email-lrodriguez@atheros.com \ --to=lrodriguez@atheros.com \ --cc=ath9k-devel@lists.ath9k.org \ --cc=linux-wireless@vger.kernel.org \ --cc=linville@tuxdriver.com \ /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: linkBe 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.