compat-wireless: deactivate atl1c for kernel < 2.6.27
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 6 Jun 2010 09:11:57 +0000 (11:11 +0200)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Sun, 6 Jun 2010 09:18:11 +0000 (02:18 -0700)
atl1c uses pci_prepare_to_sleep that is not backported.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
config.mk

index ae5684983be58245cfa3b80bb7512a1998096423..b0bb35bb7b7670726551d780e1e08b28f3d66108 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -289,7 +289,11 @@ CONFIG_MWL8K=m
 CONFIG_ATL1=m
 CONFIG_ATL2=m
 CONFIG_ATL1E=m
+ifdef CONFIG_COMPAT_KERNEL_27
+CONFIG_ATL1C=n
+else
 CONFIG_ATL1C=m
+endif
 
 CONFIG_HERMES=m
 CONFIG_HERMES_CACHE_FW_ON_INIT=y