From b8f56104dc472be555ad2b83f92c1e210eb61a5f Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 15 Jun 2011 21:16:38 +0000 Subject: package/mac80211: Add linux 3.0 compatibility Add patches from Hauke adding linux 3.0 compatibility. Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27187 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../542-ath9k-add-MAC-revision-detection-for-AR9330.patch | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'package/mac80211/patches/542-ath9k-add-MAC-revision-detection-for-AR9330.patch') diff --git a/package/mac80211/patches/542-ath9k-add-MAC-revision-detection-for-AR9330.patch b/package/mac80211/patches/542-ath9k-add-MAC-revision-detection-for-AR9330.patch index 9f5fa1c0ae..a1b5be6828 100644 --- a/package/mac80211/patches/542-ath9k-add-MAC-revision-detection-for-AR9330.patch +++ b/package/mac80211/patches/542-ath9k-add-MAC-revision-detection-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 05c2ba2..ade8655 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c -@@ -251,6 +251,15 @@ static void ath9k_hw_read_revisions(struct ath_hw *ah) +@@ -252,6 +252,15 @@ static void ath9k_hw_read_revisions(stru case AR5416_AR9100_DEVID: ah->hw_version.macVersion = AR_SREV_VERSION_9100; break; @@ -18,8 +16,6 @@ index 05c2ba2..ade8655 100644 case AR9300_DEVID_AR9340: ah->hw_version.macVersion = AR_SREV_VERSION_9340; val = REG_READ(ah, AR_SREV); -diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h -index 9f23451..8d9ac49 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -863,6 +863,7 @@ struct ath_hw { @@ -30,11 +26,9 @@ index 9f23451..8d9ac49 100644 }; struct ath_bus_ops { -diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c -index 45c585a..c2defa2 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c -@@ -575,6 +575,7 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid, +@@ -575,6 +575,7 @@ static int ath9k_init_softc(u16 devid, s sc->sc_ah->gpio_val = pdata->gpio_val; sc->sc_ah->led_pin = pdata->led_pin; ah->is_clk_25mhz = pdata->is_clk_25mhz; @@ -42,8 +36,6 @@ index 45c585a..c2defa2 100644 } common = ath9k_hw_common(ah); -diff --git a/include/linux/ath9k_platform.h b/include/linux/ath9k_platform.h -index 60a7c49..c207607 100644 --- a/include/linux/ath9k_platform.h +++ b/include/linux/ath9k_platform.h @@ -30,6 +30,7 @@ struct ath9k_platform_data { @@ -54,4 +46,3 @@ index 60a7c49..c207607 100644 }; #endif /* _LINUX_ATH9K_PLATFORM_H */ - -- cgit v1.2.3