# # WARNING: The symbols below define the version of the kernel sources used by Freetz, # which could be older than that used by AVM. The following cases of version # mismatch are the most frequent ones: # - labor firmwares (kernel sources used by AVM are never released) # - freshly released stable firmwares (kernel sources used by AVM are released with a delay) # - new devices without released sources, which use sources of similar hardware # config FREETZ_KERNEL_VERSION_2_6_13 bool default y depends on FREETZ_AVM_PROP_KERNEL_2_6_13 config FREETZ_KERNEL_VERSION_2_6_19 bool default y depends on FREETZ_AVM_PROP_KERNEL_2_6_19 config FREETZ_KERNEL_VERSION_2_6_28 bool default y depends on FREETZ_AVM_PROP_KERNEL_2_6_28 config FREETZ_KERNEL_VERSION_2_6_32_41 bool default y depends on FREETZ_AVM_PROP_KERNEL_2_6_32_41 config FREETZ_KERNEL_VERSION_2_6_32_60 bool default y depends on FREETZ_AVM_PROP_KERNEL_2_6_32_60 config FREETZ_KERNEL_VERSION_2_6_32_61 bool default y depends on FREETZ_AVM_PROP_KERNEL_2_6_32_61 config FREETZ_KERNEL_VERSION_2_6_32 bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_32_41 || \ FREETZ_KERNEL_VERSION_2_6_32_60 || \ FREETZ_KERNEL_VERSION_2_6_32_61 config FREETZ_KERNEL_VERSION_2_6_39_3 bool default y depends on FREETZ_AVM_PROP_KERNEL_2_6_39_3 config FREETZ_KERNEL_VERSION_2_6_39_4 bool default y depends on FREETZ_AVM_PROP_KERNEL_2_6_39_4 config FREETZ_KERNEL_VERSION_2_6_39 bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_39_3 || \ FREETZ_KERNEL_VERSION_2_6_39_4 config FREETZ_KERNEL_VERSION_3_10_12 bool default y depends on FREETZ_AVM_PROP_KERNEL_3_10_12 config FREETZ_KERNEL_VERSION_3_10_73 bool default y depends on FREETZ_AVM_PROP_KERNEL_3_10_73 config FREETZ_KERNEL_VERSION_3_10_104 bool default y depends on FREETZ_AVM_PROP_KERNEL_3_10_104 config FREETZ_KERNEL_VERSION_3_10_107 bool default y depends on FREETZ_AVM_PROP_KERNEL_3_10_107 config FREETZ_KERNEL_VERSION_3_10 bool default y depends on \ FREETZ_KERNEL_VERSION_3_10_12 || \ FREETZ_KERNEL_VERSION_3_10_73 || \ FREETZ_KERNEL_VERSION_3_10_104 || \ FREETZ_KERNEL_VERSION_3_10_107 config FREETZ_KERNEL_VERSION_3_12_59 bool default y depends on FREETZ_AVM_PROP_KERNEL_3_12_59 config FREETZ_KERNEL_VERSION_3_12_74 bool default y depends on FREETZ_AVM_PROP_KERNEL_3_12_74 config FREETZ_KERNEL_VERSION_3_12 bool default y depends on \ FREETZ_KERNEL_VERSION_3_12_59 || \ FREETZ_KERNEL_VERSION_3_12_74 config FREETZ_KERNEL_VERSION_4_1_38 bool default y depends on FREETZ_AVM_PROP_KERNEL_4_1_38 config FREETZ_KERNEL_VERSION_4_1 bool default y depends on \ FREETZ_KERNEL_VERSION_4_1_38 config FREETZ_KERNEL_VERSION_4_4_60 bool default y depends on FREETZ_AVM_PROP_KERNEL_4_4_60 config FREETZ_KERNEL_VERSION_4_4 bool default y depends on \ FREETZ_KERNEL_VERSION_4_4_60 config FREETZ_KERNEL_VERSION_4_9_161 bool default y depends on FREETZ_AVM_PROP_KERNEL_4_9_161 config FREETZ_KERNEL_VERSION_4_9_175 bool default y depends on FREETZ_AVM_PROP_KERNEL_4_9_175 config FREETZ_KERNEL_VERSION_4_9_198 bool default y depends on FREETZ_AVM_PROP_KERNEL_4_9_198 config FREETZ_KERNEL_VERSION_4_9_199 bool default y depends on FREETZ_AVM_PROP_KERNEL_4_9_199 config FREETZ_KERNEL_VERSION_4_9 bool default y depends on \ FREETZ_KERNEL_VERSION_4_9_161 || \ FREETZ_KERNEL_VERSION_4_9_175 || \ FREETZ_KERNEL_VERSION_4_9_198 || \ FREETZ_KERNEL_VERSION_4_9_199 # full kernel version config FREETZ_KERNEL_VERSION string default "2.6.13.1" if FREETZ_KERNEL_VERSION_2_6_13 default "2.6.19.2" if FREETZ_KERNEL_VERSION_2_6_19 default "2.6.28.10" if FREETZ_KERNEL_VERSION_2_6_28 default "2.6.32.41" if FREETZ_KERNEL_VERSION_2_6_32_41 default "2.6.32.60" if FREETZ_KERNEL_VERSION_2_6_32_60 default "2.6.32.61" if FREETZ_KERNEL_VERSION_2_6_32_61 default "2.6.39.3" if FREETZ_KERNEL_VERSION_2_6_39_3 default "2.6.39.4" if FREETZ_KERNEL_VERSION_2_6_39_4 default "3.10.12" if FREETZ_KERNEL_VERSION_3_10_12 default "3.10.73" if FREETZ_KERNEL_VERSION_3_10_73 default "3.10.104" if FREETZ_KERNEL_VERSION_3_10_104 default "3.10.107" if FREETZ_KERNEL_VERSION_3_10_107 default "3.12.59" if FREETZ_KERNEL_VERSION_3_12_59 default "3.12.74" if FREETZ_KERNEL_VERSION_3_12_74 default "4.1.38" if FREETZ_KERNEL_VERSION_4_1_38 default "4.4.60" if FREETZ_KERNEL_VERSION_4_4_60 default "4.9.161" if FREETZ_KERNEL_VERSION_4_9_161 default "4.9.175" if FREETZ_KERNEL_VERSION_4_9_175 default "4.9.198" if FREETZ_KERNEL_VERSION_4_9_198 default "4.9.199" if FREETZ_KERNEL_VERSION_4_9_199 # major kernel version config FREETZ_KERNEL_VERSION_MAJOR string default "2.6.13" if FREETZ_KERNEL_VERSION_2_6_13 default "2.6.19" if FREETZ_KERNEL_VERSION_2_6_19 default "2.6.28" if FREETZ_KERNEL_VERSION_2_6_28 default "2.6.32" if FREETZ_KERNEL_VERSION_2_6_32 default "2.6.39" if FREETZ_KERNEL_VERSION_2_6_39 default "3.10" if FREETZ_KERNEL_VERSION_3_10 default "3.12" if FREETZ_KERNEL_VERSION_3_12 default "4.1" if FREETZ_KERNEL_VERSION_4_1 default "4.4" if FREETZ_KERNEL_VERSION_4_4 default "4.9" if FREETZ_KERNEL_VERSION_4_9 # the name of the directory kernel modules are installed in # this directory contains the kernel version in its name config FREETZ_KERNEL_VERSION_MODULES_SUBDIR string default "2.6.13.1-ar7" if FREETZ_KERNEL_VERSION_2_6_13 && FREETZ_SYSTEM_TYPE_AR7_SANGAM default "2.6.13.1-ohio" if FREETZ_KERNEL_VERSION_2_6_13 && FREETZ_SYSTEM_TYPE_AR7_OHIO default FREETZ_KERNEL_VERSION config FREETZ_KERNEL_VERSION_2_6_13_MIN bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_13 || \ FREETZ_KERNEL_VERSION_2_6_19_MIN config FREETZ_KERNEL_VERSION_2_6_19_MIN bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_19 || \ FREETZ_KERNEL_VERSION_2_6_28_MIN config FREETZ_KERNEL_VERSION_2_6_28_MIN bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_28 || \ FREETZ_KERNEL_VERSION_2_6_32_MIN config FREETZ_KERNEL_VERSION_2_6_32_MIN bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_32 || \ FREETZ_KERNEL_VERSION_2_6_39_MIN config FREETZ_KERNEL_VERSION_2_6_39_MIN bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_39 || \ FREETZ_KERNEL_VERSION_3_10_MIN config FREETZ_KERNEL_VERSION_3_MIN bool default y depends on FREETZ_KERNEL_VERSION_3_10_MIN config FREETZ_KERNEL_VERSION_3_10_MIN bool default y depends on \ FREETZ_KERNEL_VERSION_3_10 || \ FREETZ_KERNEL_VERSION_3_12_MIN config FREETZ_KERNEL_VERSION_3_12_MIN bool default y depends on \ FREETZ_KERNEL_VERSION_3_12 || \ FREETZ_KERNEL_VERSION_4_1_MIN config FREETZ_KERNEL_VERSION_4_MIN bool default y depends on FREETZ_KERNEL_VERSION_4_1_MIN config FREETZ_KERNEL_VERSION_4_1_MIN bool default y depends on \ FREETZ_KERNEL_VERSION_4_1 || \ FREETZ_KERNEL_VERSION_4_4_MIN config FREETZ_KERNEL_VERSION_4_4_MIN bool default y depends on \ FREETZ_KERNEL_VERSION_4_4 || \ FREETZ_KERNEL_VERSION_4_9_MIN config FREETZ_KERNEL_VERSION_4_9_MIN bool default y depends on \ FREETZ_KERNEL_VERSION_4_9 config FREETZ_KERNEL_VERSION_2_6_13_MAX bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_13 config FREETZ_KERNEL_VERSION_2_6_19_MAX bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_13_MAX || \ FREETZ_KERNEL_VERSION_2_6_19 config FREETZ_KERNEL_VERSION_2_6_28_MAX bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_19_MAX || \ FREETZ_KERNEL_VERSION_2_6_28 config FREETZ_KERNEL_VERSION_2_6_32_MAX bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_28_MAX || \ FREETZ_KERNEL_VERSION_2_6_32 config FREETZ_KERNEL_VERSION_2_6_39_MAX bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_32_MAX || \ FREETZ_KERNEL_VERSION_2_6_39 config FREETZ_KERNEL_VERSION_2_MAX bool default y depends on FREETZ_KERNEL_VERSION_2_6_39_MAX config FREETZ_KERNEL_VERSION_3_10_MAX bool default y depends on \ FREETZ_KERNEL_VERSION_2_6_39_MAX || \ FREETZ_KERNEL_VERSION_3_10 config FREETZ_KERNEL_VERSION_3_12_MAX bool default y depends on \ FREETZ_KERNEL_VERSION_3_10_MAX || \ FREETZ_KERNEL_VERSION_3_12 config FREETZ_KERNEL_VERSION_3_MAX bool default y depends on FREETZ_KERNEL_VERSION_3_12_MAX config FREETZ_KERNEL_VERSION_4_1_MAX bool default y depends on \ FREETZ_KERNEL_VERSION_3_12_MAX || \ FREETZ_KERNEL_VERSION_4_1 config FREETZ_KERNEL_VERSION_4_4_MAX bool default y depends on \ FREETZ_KERNEL_VERSION_4_1_MAX || \ FREETZ_KERNEL_VERSION_4_4 config FREETZ_KERNEL_VERSION_4_9_MAX bool default y depends on \ FREETZ_KERNEL_VERSION_4_4_MAX || \ FREETZ_KERNEL_VERSION_4_9 config FREETZ_KERNEL_VERSION_2 bool default y depends on FREETZ_KERNEL_VERSION_2_MAX config FREETZ_KERNEL_VERSION_3 bool default y depends on \ FREETZ_KERNEL_VERSION_3_MIN && \ FREETZ_KERNEL_VERSION_3_MAX config FREETZ_KERNEL_VERSION_4 bool default y depends on FREETZ_KERNEL_VERSION_4_MIN # AVM kernel config area size in KB config FREETZ_AVM_KERNEL_CONFIG_AREA_SIZE depends on FREETZ_KERNEL_VERSION_3_10_MIN int default 512 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_512 default 448 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_448 default 384 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_384 default 320 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_320 default 256 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_256 default 224 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_224 default 192 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_192 default 160 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_160 default 128 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_128 default 96 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_96 default 64 if FREETZ_AVM_PROP_KERNEL_CONFIG_AREA_SIZE_64 default -1