diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-06-15 21:16:38 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-06-15 21:16:38 +0000 |
commit | 58dfdd9138513b115776b57de653e314b0b4ba72 (patch) | |
tree | a181a9680f3cc051d28d4bb5fdd04f68455dfb2f /package/mac80211/patches/540-ath9k-define-mac-version-for-AR9330.patch | |
parent | 6e8223e0dd06bd9264622624bc68553137bcce71 (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/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 09fd3e3bd..179e5c6de 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 @@ |