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/540-ath9k-define-mac-version-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/540-ath9k-define-mac-version-for-AR9330.patch')
-rw-r--r-- | package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch b/package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch index 09fd3e3bdc..179e5c6dea 100644 --- a/package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch +++ b/package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch @@ -1,8 +1,6 @@ -diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c -index 1be7c8b..05c2ba2 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c -@@ -551,6 +551,7 @@ static int __ath9k_hw_init(struct ath_hw *ah) +@@ -560,6 +560,7 @@ static int __ath9k_hw_init(struct ath_hw case AR_SREV_VERSION_9287: case AR_SREV_VERSION_9271: case AR_SREV_VERSION_9300: @@ -10,7 +8,7 @@ index 1be7c8b..05c2ba2 100644 case AR_SREV_VERSION_9485: case AR_SREV_VERSION_9340: break; -@@ -561,7 +562,8 @@ static int __ath9k_hw_init(struct ath_hw *ah) +@@ -570,7 +571,8 @@ static int __ath9k_hw_init(struct ath_hw return -EOPNOTSUPP; } @@ -20,7 +18,7 @@ index 1be7c8b..05c2ba2 100644 ah->is_pciexpress = false; ah->hw_version.phyRev = REG_READ(ah, AR_PHY_CHIP_ID); -@@ -2574,6 +2576,7 @@ static struct { +@@ -2584,6 +2586,7 @@ static struct { { AR_SREV_VERSION_9287, "9287" }, { AR_SREV_VERSION_9271, "9271" }, { AR_SREV_VERSION_9300, "9300" }, @@ -28,8 +26,6 @@ index 1be7c8b..05c2ba2 100644 { AR_SREV_VERSION_9485, "9485" }, }; -diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h -index c18ee99..a483388 100644 --- a/drivers/net/wireless/ath/ath9k/reg.h +++ b/drivers/net/wireless/ath/ath9k/reg.h @@ -788,6 +788,10 @@ |