]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - wl12xx/compat-wireless.git/blob - enable-older-kernels/enable-2.6.21.patch
compat-wireless: turn on TESTMODE and MAC DEBUGFS, turn off BT
[wl12xx/compat-wireless.git] / enable-older-kernels / enable-2.6.21.patch
1 --- a/config.mk
2 +++ b/config.mk
3 @@ -33,9 +33,9 @@ endif
4  COMPAT_VERSIONS := $(shell I=$(COMPAT_LATEST_VERSION); while [ "$$I" -gt $(KERNEL_SUBLEVEL) ]; do echo $$I; I=$$(($$I - 1)); done)
5  $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_3_$(ver)=y))
6  
7 -ifdef CONFIG_COMPAT_KERNEL_2_6_24
8 -$(error "ERROR: compat-wireless by default supports kernels >= 2.6.24, try enabling only one driver though")
9 -endif #CONFIG_COMPAT_KERNEL_2_6_24
10 +ifdef CONFIG_COMPAT_KERNEL_2_6_21
11 +$(error "ERROR: compat-wireless by default supports kernels >= 2.6.21, try enabling only one driver though")
12 +endif #CONFIG_COMPAT_KERNEL_2_6_21
13  
14  ifeq ($(CONFIG_CFG80211),y)
15  $(error "ERROR: your kernel has CONFIG_CFG80211=y, you should have it CONFIG_CFG80211=m if you want to use this thing.")
16 --- a/scripts/gen-compat-autoconf.sh
17 +++ b/scripts/gen-compat-autoconf.sh
18 @@ -11,7 +11,7 @@
19  
20  # This indicates which is the oldest kernel we support
21  # Update this if you are adding support for older kernels.
22 -OLDEST_KERNEL_SUPPORTED="2.6.24"
23 +OLDEST_KERNEL_SUPPORTED="2.6.21"
24  COMPAT_RELEASE="compat_version"
25  KERNEL_RELEASE="compat_base_tree_version"
26  MULT_DEP_FILE=".compat_pivot_dep"