[mac80211] remove pcmcia and sdio
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 19 Feb 2010 15:41:55 +0000 (15:41 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 19 Feb 2010 15:41:55 +0000 (15:41 +0000)
This fixes #6701

Remove the pcmcia and sdio interface from b43 driver to not depend on these modules.

SVN-Revision: 19756

package/mac80211/Makefile
package/mac80211/patches/010-no_pcmcia.patch
package/mac80211/patches/011-no_sdio.patch [new file with mode: 0644]
package/mac80211/patches/120-linux-2.6.30-compat.patch

index d8fb260..5d28c6b 100644 (file)
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
 PKG_NAME:=mac80211
 
 PKG_VERSION:=2010-02-16
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
 #      http://www.orbit-lab.org/kernel/compat-wireless-2.6/2010/11 \
 #      http://wireless.kernel.org/download/compat-wireless-2.6
index 3ef315b..1334dbb 100644 (file)
@@ -5,7 +5,25 @@
   CONFIG_PCI=y
   CONFIG_USB=y
 - CONFIG_PCMCIA=y
-+ # CONFIG_PCMCIA=y
++# CONFIG_PCMCIA=y
   CONFIG_SSB=m
  else
  include $(KLIB_BUILD)/.config
+@@ -197,7 +197,7 @@ CONFIG_B43=m
+ CONFIG_B43_HWRNG=y
+ CONFIG_B43_PCI_AUTOSELECT=y
+ ifneq ($(CONFIG_PCMCIA),)
+-CONFIG_B43_PCMCIA=y
++# CONFIG_B43_PCMCIA=y
+ endif
+ CONFIG_B43_LEDS=y
+ CONFIG_B43_PHY_LP=y
+@@ -248,7 +248,7 @@ CONFIG_SSB_BLOCKIO=y
+ CONFIG_SSB_PCIHOST=y
+ CONFIG_SSB_B43_PCI_BRIDGE=y
+ ifneq ($(CONFIG_PCMCIA),)
+-CONFIG_SSB_PCMCIAHOST=y
++# CONFIG_SSB_PCMCIAHOST=y
+ endif
+ # CONFIG_SSB_DEBUG=y
+ CONFIG_SSB_DRIVER_PCICORE=y
diff --git a/package/mac80211/patches/011-no_sdio.patch b/package/mac80211/patches/011-no_sdio.patch
new file mode 100644 (file)
index 0000000..aa651ed
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/config.mk
++++ b/config.mk
+@@ -382,8 +382,8 @@ endif # end of SPI driver list
+ ifneq ($(CONFIG_MMC),)
+-CONFIG_SSB_SDIOHOST=y
+-CONFIG_B43_SDIO=y
++# CONFIG_SSB_SDIOHOST=y
++# CONFIG_B43_SDIO=y
+ CONFIG_WL1251_SDIO=m
+ ifdef CONFIG_COMPAT_KERNEL_27
index de46545..da5966e 100644 (file)
@@ -1,6 +1,6 @@
 --- a/net/wireless/nl80211.c
 +++ b/net/wireless/nl80211.c
-@@ -5667,7 +5667,11 @@
+@@ -5662,7 +5662,11 @@ int nl80211_send_action(struct cfg80211_
                return err;
        }