package/mac80211: Add linux 3.0 compatibility
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 548-ath9k-add-AR9330-specific-PLL-initialization.patch
index e6f08959d15e73860d11ff1a3c79c55e4134a461..ea64014c4cd36b60b966c2c7b51ce3c5a9d56b2f 100644 (file)
@@ -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 */
-