* deactivate SPI drivers for kernel < 2.6.25 because linux/gpio.h
is missing
* CONFIG_WL1251 and CONFIG_WL1271 both need CRC7
* CONFIG_RT2X00_LIB_LEDS does not work for kernel < 2.6.25
because of missing blink_set
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
endif # end of USB driver list
ifneq ($(CONFIG_SPI_MASTER),)
+ifndef CONFIG_COMPAT_KERNEL_25
-CONFIG_WL1251=m
ifneq ($(CONFIG_CRC7),)
CONFIG_WL1251_SPI=m
-endif
CONFIG_WL1271_SPI=m
+endif
CONFIG_P54_SPI=m
ifdef CONFIG_COMPAT_KERNEL_27
NEED_LIBERTAS=y
endif
+endif
endif # end of SPI driver list
ifneq ($(CONFIG_MMC),)
CONFIG_SSB_SDIOHOST=y
CONFIG_B43_SDIO=y
+
+ifneq ($(CONFIG_CRC7),)
CONFIG_WL1251_SDIO=m
ifndef CONFIG_COMPAT_KERNEL_32
CONFIG_WL1271_SDIO=m
endif
+endif
+
ifdef CONFIG_COMPAT_KERNEL_27
CONFIG_LIBERTAS_SDIO=n
NEED_LIBERTAS=n
CONFIG_RT2X00_LIB_HT=y
CONFIG_RT2X00_LIB_FIRMWARE=y
CONFIG_RT2X00_LIB_CRYPTO=y
+ifdef CONFIG_COMPAT_KERNEL_25
+CONFIG_RT2X00_LIB_LEDS=n
+else
CONFIG_RT2X00_LIB_LEDS=y
+endif
# CONFIG_RT2X00_DEBUG=y
# CONFIG_RT2X00_LIB_DEBUGFS
endif
# CONFIG_ATH_DEBUG=y
CONFIG_WL12XX=y
-CONFIG_WL1251=m
ifneq ($(CONFIG_CRC7),)
+CONFIG_WL1251=m
CONFIG_WL1271=m
endif