+# CONFIG_B43LEGACY_LEDS=y
# CONFIG_B43LEGACY_RFKILL=y
# CONFIG_B43LEGACY_DEBUG=y
--CONFIG_B43LEGACY_DMA=y
+ CONFIG_B43LEGACY_DMA=y
-CONFIG_B43LEGACY_PIO=y
-CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
-+# CONFIG_B43LEGACY_DMA=y
+-# CONFIG_B43LEGACY_DMA_MODE=y
+# CONFIG_B43LEGACY_PIO=y
+# CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
- # CONFIG_B43LEGACY_DMA_MODE=y
++CONFIG_B43LEGACY_DMA_MODE=y
# CONFIG_B43LEGACY_PIO_MODE=y
# The Intel ipws
# USB Drivers
ifneq ($(CONFIG_USB),)
-@@ -249,15 +249,15 @@ CONFIG_ZD1211RW=m
+@@ -249,21 +249,21 @@ CONFIG_ZD1211RW=m
# is only wireless RNDIS chip known to date.
# Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER
# it also requires new RNDIS_HOST and CDC_ETHER modules which we add
-CONFIG_AT76C50X_USB=m
+# CONFIG_AT76C50X_USB=m
+ # Activate AR9170 support only on kernel >= 2.6.29.
+ # The needed USB poison feature was added in this kernel release.
+ ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 29 && echo yes),yes)
+-CONFIG_AR9170_USB=m
+-CONFIG_AR9170_LEDS=y
++# CONFIG_AR9170_USB=m
++# CONFIG_AR9170_LEDS=y
+ endif
+
# RT2500USB does not require firmware
- CONFIG_RT2500USB=m
-@@ -294,20 +294,20 @@ CONFIG_P54_COMMON=m
+@@ -301,20 +301,20 @@ CONFIG_P54_COMMON=m
# Sonics Silicon Backplane