5ad36ca723
SVN-Revision: 32588
23 lines
892 B
Diff
23 lines
892 B
Diff
From 3fa372b3d51c310023a20432ebc8f718c31feff0 Mon Sep 17 00:00:00 2001
|
|
From: Gabor Juhos <juhosg@openwrt.org>
|
|
Date: Mon, 2 Jul 2012 17:10:15 +0200
|
|
Subject: [PATCH 07/20] ath9k: enable TX/RX data byte swap for AR9550
|
|
|
|
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
|
|
Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
|
|
---
|
|
drivers/net/wireless/ath/ath9k/hw.c | 3 ++-
|
|
1 files changed, 2 insertions(+), 1 deletions(-)
|
|
|
|
--- a/drivers/net/wireless/ath/ath9k/hw.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.c
|
|
@@ -1985,7 +1985,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st
|
|
REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD);
|
|
}
|
|
#ifdef __BIG_ENDIAN
|
|
- else if (AR_SREV_9330(ah) || AR_SREV_9340(ah))
|
|
+ else if (AR_SREV_9330(ah) || AR_SREV_9340(ah) ||
|
|
+ AR_SREV_9550(ah))
|
|
REG_RMW(ah, AR_CFG, AR_CFG_SWRB | AR_CFG_SWTB, 0);
|
|
else
|
|
REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD);
|