diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2011-06-15 21:16:38 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2011-06-15 21:16:38 +0000 |
commit | dfcd340721e76af49cef4291fd24db41c13da21b (patch) | |
tree | a5c086eb1d3fbe2d9990a4bfcf9191e8ff701cf6 /package/mac80211/patches/569-ath9k-configure-internal-regulator-for-AR9330.patch | |
parent | cd3bd6e13e5c023d62546444ef2c03d4eddf2d45 (diff) | |
download | upstream-dfcd340721e76af49cef4291fd24db41c13da21b.tar.gz upstream-dfcd340721e76af49cef4291fd24db41c13da21b.tar.bz2 upstream-dfcd340721e76af49cef4291fd24db41c13da21b.zip |
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>
SVN-Revision: 27187
Diffstat (limited to 'package/mac80211/patches/569-ath9k-configure-internal-regulator-for-AR9330.patch')
-rw-r--r-- | package/mac80211/patches/569-ath9k-configure-internal-regulator-for-AR9330.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/package/mac80211/patches/569-ath9k-configure-internal-regulator-for-AR9330.patch b/package/mac80211/patches/569-ath9k-configure-internal-regulator-for-AR9330.patch index 8feba2e4a0..a09e83db85 100644 --- a/package/mac80211/patches/569-ath9k-configure-internal-regulator-for-AR9330.patch +++ b/package/mac80211/patches/569-ath9k-configure-internal-regulator-for-AR9330.patch @@ -1,8 +1,6 @@ -diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c -index ffdfa6d..963dc9b 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c -@@ -3712,7 +3712,7 @@ static void ar9003_hw_internal_regulator_apply(struct ath_hw *ah) +@@ -3712,7 +3712,7 @@ static void ar9003_hw_internal_regulator ath9k_hw_ar9300_get_eeprom(ah, EEP_INTERNAL_REGULATOR); if (internal_regulator) { @@ -11,7 +9,7 @@ index ffdfa6d..963dc9b 100644 int reg_pmu_set; reg_pmu_set = REG_READ(ah, AR_PHY_PMU2) & ~AR_PHY_PMU2_PGM; -@@ -3720,9 +3720,24 @@ static void ar9003_hw_internal_regulator_apply(struct ath_hw *ah) +@@ -3720,9 +3720,24 @@ static void ar9003_hw_internal_regulator if (!is_pmu_set(ah, AR_PHY_PMU2, reg_pmu_set)) return; @@ -39,7 +37,7 @@ index ffdfa6d..963dc9b 100644 REG_WRITE(ah, AR_PHY_PMU1, reg_pmu_set); if (!is_pmu_set(ah, AR_PHY_PMU1, reg_pmu_set)) -@@ -3753,7 +3768,7 @@ static void ar9003_hw_internal_regulator_apply(struct ath_hw *ah) +@@ -3753,7 +3768,7 @@ static void ar9003_hw_internal_regulator AR_RTC_REG_CONTROL1_SWREG_PROGRAM); } } else { |