diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-11-29 15:48:42 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2008-11-29 15:48:42 +0000 |
commit | dff2c6a6d0c9ae8b3fe99270f0736244a737aa72 (patch) | |
tree | 307d2a328c7e73f328d1f17d3b8068173984f11c /package/mac80211/patches/210-remove_unused_stuff.patch | |
parent | f6bdc6a9bd33dfb7bad220146af73c36dc6fb4ea (diff) | |
download | mtk-20170518-dff2c6a6d0c9ae8b3fe99270f0736244a737aa72.zip mtk-20170518-dff2c6a6d0c9ae8b3fe99270f0736244a737aa72.tar.gz mtk-20170518-dff2c6a6d0c9ae8b3fe99270f0736244a737aa72.tar.bz2 |
Update mac80211 and make b43 driver build and load on targets other than brcm47xx (#4266)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 13431
Diffstat (limited to 'package/mac80211/patches/210-remove_unused_stuff.patch')
-rw-r--r-- | package/mac80211/patches/210-remove_unused_stuff.patch | 75 |
1 files changed, 58 insertions, 17 deletions
diff --git a/package/mac80211/patches/210-remove_unused_stuff.patch b/package/mac80211/patches/210-remove_unused_stuff.patch index 11a0dc5..fb167f5 100644 --- a/package/mac80211/patches/210-remove_unused_stuff.patch +++ b/package/mac80211/patches/210-remove_unused_stuff.patch @@ -1,44 +1,85 @@ +diff --git a/config.mk b/config.mk +index d94a976..39fcaea 100644 --- a/config.mk +++ b/config.mk -@@ -108,12 +108,12 @@ CONFIG_B43LEGACY_PIO=y +@@ -69,10 +69,10 @@ CONFIG_MAC80211_LEDS=y + CONFIG_MAC80211_MESH=y + + CONFIG_CFG80211=m +-CONFIG_LIB80211=m +-CONFIG_LIB80211_CRYPT_WEP=m +-CONFIG_LIB80211_CRYPT_CCMP=m +-CONFIG_LIB80211_CRYPT_TKIP=m ++#CONFIG_LIB80211=m ++#CONFIG_LIB80211_CRYPT_WEP=m ++#CONFIG_LIB80211_CRYPT_CCMP=m ++#CONFIG_LIB80211_CRYPT_TKIP=m + + CONFIG_NL80211=y + # We'll disable this as soon major distributions +@@ -101,14 +101,14 @@ CONFIG_B43=m + # B43 uses PCMCIA only for Compact Flash. The Cardbus cards uses PCI + # Example, bcm4318: + # http://www.multicap.biz/wireless-lan/indoor-wlan-hardware/sdc-cf10g-80211g-compact-flash-module +-CONFIG_B43_PCMCIA=y ++#CONFIG_B43_PCMCIA=y + CONFIG_B43_PIO=y + # B43_PIO selects SSB_BLOCKIO + CONFIG_SSB_BLOCKIO=y + CONFIG_B43_PCI_AUTOSELECT=y + CONFIG_B43_PCICORE_AUTOSELECT=y + #CONFIG_B43_RFKILL=n +-CONFIG_B43_LEDS=y ++#CONFIG_B43_LEDS=y + # CONFIG_B43_DEBUG is not set + + CONFIG_B43LEGACY=m +@@ -119,13 +119,13 @@ CONFIG_B43LEGACY_PIO=y CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y # The Intel ipws +-CONFIG_LIBIPW=m -CONFIG_IPW2100=m -CONFIG_IPW2100_MONITOR=y -CONFIG_IPW2200=m -CONFIG_IPW2200_MONITOR=y -CONFIG_IPW2200_RADIOTAP=y -CONFIG_IPW2200_PROMISCUOUS=y -+# CONFIG_IPW2100=m -+# CONFIG_IPW2100_MONITOR=y -+# CONFIG_IPW2200=m -+# CONFIG_IPW2200_MONITOR=y -+# CONFIG_IPW2200_RADIOTAP=y -+# CONFIG_IPW2200_PROMISCUOUS=y ++#CONFIG_LIBIPW=m ++#CONFIG_IPW2100=m ++#CONFIG_IPW2100_MONITOR=y ++#CONFIG_IPW2200=m ++#CONFIG_IPW2200_MONITOR=y ++#CONFIG_IPW2200_RADIOTAP=y ++#CONFIG_IPW2200_PROMISCUOUS=y # The above enables use a second interface prefixed 'rtap'. # Example usage: # -@@ -126,9 +126,9 @@ CONFIG_IPW2200_PROMISCUOUS=y +@@ -138,7 +138,7 @@ CONFIG_IPW2200_PROMISCUOUS=y # it on via sysfs: # # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface -CONFIG_IPW2200_QOS=y -+# CONFIG_IPW2200_QOS=y - --NEED_IEEE80211=y -+# NEED_IEEE80211=y ++#CONFIG_IPW2200_QOS=y CONFIG_P54_PCI=m -@@ -227,8 +227,8 @@ CONFIG_SSB_PCICORE_HOSTMODE=n - # CONFIG_SSB_DRIVER_EXTIF=y - +@@ -239,15 +239,15 @@ CONFIG_SSB_PCICORE_HOSTMODE=n ifneq ($(CONFIG_USB),) --CONFIG_LIBERTAS_USB=m + ifneq ($(CONFIG_LIBERTAS_THINFIRM_USB),m) + CONFIG_LIBERTAS_USB=m -NEED_LIBERTAS=y -+#CONFIG_LIBERTAS_USB=m +#NEED_LIBERTAS=y endif + endif ifneq ($(CONFIG_PCMCIA),) CONFIG_LIBERTAS_CS=m +-NEED_LIBERTAS=y ++#NEED_LIBERTAS=y + endif + ifeq ($(NEED_LIBERTAS),y) +-CONFIG_LIBERTAS=m ++#CONFIG_LIBERTAS=m + # Libertas uses the old stack but not fully, it will soon + # be cleaned. + endif |