summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/548-ath9k-add-AR9330-specific-PLL-initialization.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-15 21:16:38 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-15 21:16:38 +0000
commit58dfdd9138513b115776b57de653e314b0b4ba72 (patch)
treea181a9680f3cc051d28d4bb5fdd04f68455dfb2f /package/mac80211/patches/548-ath9k-add-AR9330-specific-PLL-initialization.patch
parent6e8223e0dd06bd9264622624bc68553137bcce71 (diff)
package/mac80211: Add linux 3.0 compatibility
Add patches from Hauke adding linux 3.0 compatibility. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27187 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/548-ath9k-add-AR9330-specific-PLL-initialization.patch')
-rw-r--r--package/mac80211/patches/548-ath9k-add-AR9330-specific-PLL-initialization.patch7
1 files changed, 2 insertions, 5 deletions
diff --git a/package/mac80211/patches/548-ath9k-add-AR9330-specific-PLL-initialization.patch b/package/mac80211/patches/548-ath9k-add-AR9330-specific-PLL-initialization.patch
index e6f08959d..ea64014c4 100644
--- a/package/mac80211/patches/548-ath9k-add-AR9330-specific-PLL-initialization.patch
+++ b/package/mac80211/patches/548-ath9k-add-AR9330-specific-PLL-initialization.patch
@@ -1,8 +1,6 @@
-diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
-index ade8655..826ed5d 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -733,6 +733,39 @@ static void ath9k_hw_init_pll(struct ath_hw *ah,
+@@ -742,6 +742,39 @@ static void ath9k_hw_init_pll(struct ath
REG_RMW_FIELD(ah, AR_CH0_BB_DPLL2,
AR_CH0_BB_DPLL2_PLL_PWD, 0x0);
udelay(1000);
@@ -42,7 +40,7 @@ index ade8655..826ed5d 100644
} else if (AR_SREV_9340(ah)) {
u32 regval, pll2_divint, pll2_divfrac, refdiv;
-@@ -774,7 +807,7 @@ static void ath9k_hw_init_pll(struct ath_hw *ah,
+@@ -783,7 +816,7 @@ static void ath9k_hw_init_pll(struct ath
REG_WRITE(ah, AR_RTC_PLL_CONTROL, pll);
@@ -51,4 +49,3 @@ index ade8655..826ed5d 100644
udelay(1000);
/* Switch the core clock for ar9271 to 117Mhz */
-