From 5608c64b51c0c9766b5d047529685cd096a6de41 Mon Sep 17 00:00:00 2001 From: hauke Date: Fri, 19 Feb 2010 15:41:55 +0000 Subject: [mac80211] remove pcmcia and sdio This fixes #6701 Remove the pcmcia and sdio interface from b43 driver to not depend on these modules. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19756 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/mac80211/Makefile | 2 +- package/mac80211/patches/010-no_pcmcia.patch | 20 +++++++++++++++++++- package/mac80211/patches/011-no_sdio.patch | 13 +++++++++++++ .../mac80211/patches/120-linux-2.6.30-compat.patch | 2 +- 4 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 package/mac80211/patches/011-no_sdio.patch (limited to 'package') diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index d8fb260e5..5d28c6b32 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -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 diff --git a/package/mac80211/patches/010-no_pcmcia.patch b/package/mac80211/patches/010-no_pcmcia.patch index 3ef315b3a..1334dbb14 100644 --- a/package/mac80211/patches/010-no_pcmcia.patch +++ b/package/mac80211/patches/010-no_pcmcia.patch @@ -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 index 000000000..aa651edd2 --- /dev/null +++ b/package/mac80211/patches/011-no_sdio.patch @@ -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 diff --git a/package/mac80211/patches/120-linux-2.6.30-compat.patch b/package/mac80211/patches/120-linux-2.6.30-compat.patch index de4654511..da5966e15 100644 --- a/package/mac80211/patches/120-linux-2.6.30-compat.patch +++ b/package/mac80211/patches/120-linux-2.6.30-compat.patch @@ -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; } -- cgit v1.2.3