X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/094507e8fede9ed92407b1684d7e7106a94a7644..d6f780b09c98532a3494e80035b9622e83c606fa:/package/mac80211/patches/005-disable_ssb_build.patch diff --git a/package/mac80211/patches/005-disable_ssb_build.patch b/package/mac80211/patches/005-disable_ssb_build.patch index cdb4a343e..3120361a8 100644 --- a/package/mac80211/patches/005-disable_ssb_build.patch +++ b/package/mac80211/patches/005-disable_ssb_build.patch @@ -1,10 +1,61 @@ --- a/Makefile +++ b/Makefile -@@ -22,7 +22,6 @@ NOSTDINC_FLAGS := -I$(M)/include/ -inclu - obj-y := net/wireless/ net/mac80211/ net/rfkill/ - ifeq ($(ONLY_CORE),) - obj-m += \ -- drivers/ssb/ \ - drivers/misc/eeprom/ \ - drivers/net/usb/ \ - drivers/net/wireless/ +@@ -30,7 +30,7 @@ obj-$(CONFIG_COMPAT_WIRELESS_MODULES) += + obj-$(CONFIG_COMPAT_NET_USB_MODULES) += drivers/net/usb/ + + obj-$(CONFIG_COMPAT_NETWORK_MODULES) += drivers/net/ +-obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/ssb/ drivers/misc/eeprom/ ++obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/misc/eeprom/ + + ifeq ($(CONFIG_STAGING_EXCLUDE_BUILD),) + obj-$(CONFIG_COMPAT_STAGING) += drivers/staging/ath6kl/ +--- a/config.mk ++++ b/config.mk +@@ -9,7 +9,6 @@ ifeq ($(wildcard $(KLIB_BUILD)/.config), + CONFIG_PCI=y + CONFIG_USB=y + CONFIG_PCMCIA=y +- CONFIG_SSB=m + else + include $(KLIB_BUILD)/.config + endif +@@ -285,19 +284,18 @@ CONFIG_IPW2200_QOS=y + # % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface + endif #CONFIG_WIRELESS_EXT + +-ifdef CONFIG_SSB +-# Sonics Silicon Backplane +-CONFIG_SSB_SPROM=y +- +-CONFIG_SSB_BLOCKIO=y +-CONFIG_SSB_PCIHOST=y +-CONFIG_SSB_B43_PCI_BRIDGE=y +-ifdef CONFIG_PCMCIA +-CONFIG_SSB_PCMCIAHOST=y +-endif #CONFIG_PCMCIA +-# CONFIG_SSB_DEBUG=y +-CONFIG_SSB_DRIVER_PCICORE=y +-endif #CONFIG_SSB ++# ifdef CONFIG_SSB ++# # Sonics Silicon Backplane ++# CONFIG_SSB_SPROM=y ++# CONFIG_SSB_BLOCKIO=y ++# CONFIG_SSB_PCIHOST=y ++# CONFIG_SSB_B43_PCI_BRIDGE=y ++# ifdef CONFIG_PCMCIA ++# CONFIG_SSB_PCMCIAHOST=y ++# endif #CONFIG_PCMCIA ++# # CONFIG_SSB_DEBUG=y ++# CONFIG_SSB_DRIVER_PCICORE=y ++# endif #CONFIG_SSB + + CONFIG_P54_PCI=m + +@@ -486,7 +484,6 @@ endif #CONFIG_SPI_MASTER end of SPI driv + + ifdef CONFIG_MMC + +-CONFIG_SSB_SDIOHOST=y + CONFIG_B43_SDIO=y + + ifdef CONFIG_CRC7