It only supports kernel >= 2.6.29, because it uses new netdev_ops api.
If you need support for older kernel please backport it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
obj-$(CONFIG_LIBERTAS) += libertas/
obj-$(CONFIG_LIBERTAS_THINFIRM) += libertas_tf/
-@@ -60,5 +34,3 @@
- obj-$(CONFIG_MAC80211_HWSIM) += mac80211_hwsim.o
-
- obj-$(CONFIG_WL12XX) += wl12xx/
--
--obj-$(CONFIG_IWM) += iwmc3200wifi/
--- a/drivers/net/wireless/b43/pcmcia.c
+++ b/drivers/net/wireless/b43/pcmcia.c
@@ -87,7 +87,11 @@ static int __devinit b43_pcmcia_probe(struct pcmcia_device *dev)
CONFIG_LIBERTAS_SDIO=m
NEED_LIBERTAS=y
+# Activate iwmc3200wifi support only on kernel >= 2.6.29.
+# iwmc3200wifi uses new netdev_ops api no supported by old kernel.
+ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 29 && echo yes),yes)
+CONFIG_IWM=m
+# CONFIG_IWM_DEBUG=y
+endif
+
endif # end of SDIO driver list
# Common rt2x00 requirements
DRIVERS="$DRIVERS drivers/net/wireless/libertas_tf"
DRIVERS="$DRIVERS drivers/net/wireless/ipw2x00"
DRIVERS="$DRIVERS drivers/net/wireless/wl12xx"
+DRIVERS="$DRIVERS drivers/net/wireless/iwmc3200wifi"
# Drivers that belong the the wireless directory
DRIVER_FILES="adm8211.c adm8211.h"