summaryrefslogtreecommitdiff
path: root/package/mac80211/patches
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-03-24 15:11:16 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-03-24 15:11:16 +0000
commita76880542bbadd65a7a446c896d8de0db4218ffd (patch)
treea9f1f3fa498f7dd72220f3378049015e7aa61f9b /package/mac80211/patches
parentf5dc2ce0aa12ad9a40bbb841faf1bcadf44273c8 (diff)
downloadmtk-20170518-a76880542bbadd65a7a446c896d8de0db4218ffd.zip
mtk-20170518-a76880542bbadd65a7a446c896d8de0db4218ffd.tar.gz
mtk-20170518-a76880542bbadd65a7a446c896d8de0db4218ffd.tar.bz2
update compat-wireless to 2009-03-24
SVN-Revision: 15019
Diffstat (limited to 'package/mac80211/patches')
-rw-r--r--package/mac80211/patches/007-remove_unused_stuff.patch22
-rw-r--r--package/mac80211/patches/510-b43-mask-phyerr-irq.patch6
2 files changed, 17 insertions, 11 deletions
diff --git a/package/mac80211/patches/007-remove_unused_stuff.patch b/package/mac80211/patches/007-remove_unused_stuff.patch
index 417531f..64be864 100644
--- a/package/mac80211/patches/007-remove_unused_stuff.patch
+++ b/package/mac80211/patches/007-remove_unused_stuff.patch
@@ -1,7 +1,5 @@
-Index: compat-wireless-2009-03-18/config.mk
-===================================================================
---- compat-wireless-2009-03-18.orig/config.mk 2009-03-20 17:10:09.000000000 +0100
-+++ compat-wireless-2009-03-18/config.mk 2009-03-20 17:11:31.000000000 +0100
+--- a/config.mk
++++ b/config.mk
@@ -104,10 +104,10 @@ CONFIG_MAC80211_MESH=y
CONFIG_CFG80211=m
# CONFIG_CFG80211_REG_DEBUG=y
@@ -165,7 +163,7 @@ Index: compat-wireless-2009-03-18/config.mk
# USB Drivers
ifneq ($(CONFIG_USB),)
-@@ -249,15 +249,15 @@ CONFIG_ZD1211RW=m
+@@ -249,22 +249,22 @@ CONFIG_ZD1211RW=m
# is only wireless RNDIS chip known to date.
# Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER
# it also requires new RNDIS_HOST and CDC_ETHER modules which we add
@@ -184,9 +182,19 @@ Index: compat-wireless-2009-03-18/config.mk
-CONFIG_AT76C50X_USB=m
+# CONFIG_AT76C50X_USB=m
+ # Activate AR9170 support only on kernel >= 2.6.28.
+ # The needed USB poison feature was added in this kernel release.
+ ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 28 && echo yes),yes)
+-CONFIG_AR9170_COMMON=m
+-CONFIG_AR9170_USB=m
+-CONFIG_AR9170_LEDS=y
++# CONFIG_AR9170_COMMON=m
++# CONFIG_AR9170_USB=m
++# CONFIG_AR9170_LEDS=y
+ endif
+
# RT2500USB does not require firmware
- CONFIG_RT2500USB=m
-@@ -294,20 +294,20 @@ CONFIG_P54_COMMON=m
+@@ -302,20 +302,20 @@ CONFIG_P54_COMMON=m
# Sonics Silicon Backplane
diff --git a/package/mac80211/patches/510-b43-mask-phyerr-irq.patch b/package/mac80211/patches/510-b43-mask-phyerr-irq.patch
index 54f2d40..fcf2994 100644
--- a/package/mac80211/patches/510-b43-mask-phyerr-irq.patch
+++ b/package/mac80211/patches/510-b43-mask-phyerr-irq.patch
@@ -12,10 +12,8 @@ So as a workaround we ignore the PHY TX error.
--mb
-Index: compat-wireless-2009-03-18/drivers/net/wireless/b43/b43.h
-===================================================================
---- compat-wireless-2009-03-18.orig/drivers/net/wireless/b43/b43.h 2009-03-19 15:26:08.000000000 +0100
-+++ compat-wireless-2009-03-18/drivers/net/wireless/b43/b43.h 2009-03-19 15:26:52.000000000 +0100
+--- a/drivers/net/wireless/b43/b43.h
++++ b/drivers/net/wireless/b43/b43.h
@@ -422,7 +422,6 @@ enum {
B43_IRQ_ATIM_END | \
B43_IRQ_PMQ | \