OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 1... Line 1...
1 # DO NOT EDIT. This file is generated from Config.src 1 # DO NOT EDIT. This file is generated from Config.src
2 # 2 #
3 # For a description of the syntax of this configuration file, 3 # For a description of the syntax of this configuration file,
4 # see docs/Kconfig-language.txt. 4 # see scripts/kbuild/config-language.txt.
5 # 5 #
Line 6... Line 6...
6   6  
Line 7... Line 7...
7 menu "Linux Module Utilities" 7 menu "Linux Module Utilities"
8   8  
9 config BUSYBOX_CONFIG_MODPROBE_SMALL 9 config BUSYBOX_CONFIG_MODPROBE_SMALL
10 bool "Simplified modutils" 10 bool "Simplified modutils"
11 default BUSYBOX_DEFAULT_MODPROBE_SMALL 11 default BUSYBOX_DEFAULT_MODPROBE_SMALL
Line 12... Line 12...
12 help 12 help
13 Build smaller (~1.5 kbytes), simplified module tools. 13 Build smaller (~1.5 kbytes), simplified module tools.
Line 14... Line 14...
14   14  
15 This option by itself does not enable any applets - 15 This option by itself does not enable any applets -
16 you need to select applets individually below. 16 you need to select applets individually below.
17   17  
18 With this option modprobe does not require modules.dep file 18 With this option modprobe does not require modules.dep file
19 and does not use /etc/modules.conf file. 19 and does not use /etc/modules.conf file.
20 It scans module files in /lib/modules/`uname -r` and 20 It scans module files in /lib/modules/`uname -r` and
21 determines dependencies and module alias names on the fly. 21 determines dependencies and module alias names on the fly.
22 This may make module loading slower, most notably 22 This may make module loading slower, most notably
23 when one needs to load module by alias (this requires 23 when one needs to load module by alias (this requires
24 scanning through module _bodies_). 24 scanning through module _bodies_).
25   25  
Line 26... Line 26...
26 At the first attempt to load a module by alias modprobe 26 At the first attempt to load a module by alias modprobe
27 will try to generate modules.dep.bb file in order to speed up 27 will try to generate modules.dep.bb file in order to speed up
Line 28... Line 28...
28 future loads by alias. Failure to do so (read-only /lib/modules, 28 future loads by alias. Failure to do so (read-only /lib/modules,
29 etc) is not reported, and future modprobes will be slow too. 29 etc) is not reported, and future modprobes will be slow too.
Line 30... Line 30...
30   30  
31 NB: modules.dep.bb file format is not compatible 31 NB: modules.dep.bb file format is not compatible
32 with modules.dep file as created/used by standard module tools. 32 with modules.dep file as created/used by standard module tools.
33   33  
34 Additional module parameters can be stored in 34 Additional module parameters can be stored in
35 /etc/modules/$module_name files. 35 /etc/modules/$module_name files.
36   36  
37 config BUSYBOX_CONFIG_DEPMOD 37 config BUSYBOX_CONFIG_DEPMOD
38 bool "depmod (27 kb)" 38 bool "depmod"
39 default BUSYBOX_DEFAULT_DEPMOD 39 default BUSYBOX_DEFAULT_DEPMOD
40 select BUSYBOX_CONFIG_PLATFORM_LINUX 40 select BUSYBOX_CONFIG_PLATFORM_LINUX
41 help 41 help
42 depmod generates modules.dep (and potentially modules.alias 42 depmod generates modules.dep (and potentially modules.alias
43 and modules.symbols) that contain dependency information 43 and modules.symbols) that contain dependency information
44 for modprobe. 44 for modprobe.
45 config BUSYBOX_CONFIG_INSMOD 45 config BUSYBOX_CONFIG_INSMOD
46 bool "insmod (22 kb)" 46 bool "insmod"
47 default BUSYBOX_DEFAULT_INSMOD 47 default BUSYBOX_DEFAULT_INSMOD
48 select BUSYBOX_CONFIG_PLATFORM_LINUX 48 select BUSYBOX_CONFIG_PLATFORM_LINUX
49 help 49 help
Line 50... Line 50...
50 insmod is used to load specified modules in the running kernel. 50 insmod is used to load specified modules in the running kernel.
51 config BUSYBOX_CONFIG_LSMOD 51 config BUSYBOX_CONFIG_LSMOD
52 bool "lsmod (1.9 kb)" 52 bool "lsmod"
53 default BUSYBOX_DEFAULT_LSMOD 53 default BUSYBOX_DEFAULT_LSMOD
54 select BUSYBOX_CONFIG_PLATFORM_LINUX 54 select BUSYBOX_CONFIG_PLATFORM_LINUX
55 help 55 help
56 lsmod is used to display a list of loaded modules. 56 lsmod is used to display a list of loaded modules.
57   57  
58 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT 58 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
59 bool "Pretty output" 59 bool "Pretty output"
60 default BUSYBOX_DEFAULT_FEATURE_LSMOD_PRETTY_2_6_OUTPUT 60 default BUSYBOX_DEFAULT_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
61 depends on BUSYBOX_CONFIG_LSMOD && !BUSYBOX_CONFIG_MODPROBE_SMALL 61 depends on BUSYBOX_CONFIG_LSMOD && !BUSYBOX_CONFIG_MODPROBE_SMALL
62 help 62 help
63 This option makes output format of lsmod adjusted to 63 This option makes output format of lsmod adjusted to
64 the format of module-init-tools for Linux kernel 2.6. 64 the format of module-init-tools for Linux kernel 2.6.
65 Increases size somewhat. 65 Increases size somewhat.
66 config BUSYBOX_CONFIG_MODINFO 66 config BUSYBOX_CONFIG_MODINFO
67 bool "modinfo (24 kb)" 67 bool "modinfo"
68 default BUSYBOX_DEFAULT_MODINFO 68 default BUSYBOX_DEFAULT_MODINFO
69 select BUSYBOX_CONFIG_PLATFORM_LINUX 69 select BUSYBOX_CONFIG_PLATFORM_LINUX
70 help 70 help
Line 71... Line 71...
71 Show information about a Linux Kernel module 71 Show information about a Linux Kernel module
72 config BUSYBOX_CONFIG_MODPROBE 72 config BUSYBOX_CONFIG_MODPROBE
73 bool "modprobe (28 kb)" 73 bool "modprobe"
74 default BUSYBOX_DEFAULT_MODPROBE 74 default BUSYBOX_DEFAULT_MODPROBE
75 select BUSYBOX_CONFIG_PLATFORM_LINUX 75 select BUSYBOX_CONFIG_PLATFORM_LINUX
76 help 76 help
77 Handle the loading of modules, and their dependencies on a high 77 Handle the loading of modules, and their dependencies on a high
78 level. 78 level.
79   79  
80 config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST 80 config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
81 bool "Blacklist support" 81 bool "Blacklist support"
82 default BUSYBOX_DEFAULT_FEATURE_MODPROBE_BLACKLIST 82 default BUSYBOX_DEFAULT_FEATURE_MODPROBE_BLACKLIST
83 depends on BUSYBOX_CONFIG_MODPROBE && !BUSYBOX_CONFIG_MODPROBE_SMALL 83 depends on BUSYBOX_CONFIG_MODPROBE && !BUSYBOX_CONFIG_MODPROBE_SMALL
84 help 84 help
85 Say 'y' here to enable support for the 'blacklist' command in 85 Say 'y' here to enable support for the 'blacklist' command in
86 modprobe.conf. This prevents the alias resolver to resolve 86 modprobe.conf. This prevents the alias resolver to resolve
Line 87... Line 87...
87 blacklisted modules. This is useful if you want to prevent your 87 blacklisted modules. This is useful if you want to prevent your
Line 88... Line 88...
88 hardware autodetection scripts to load modules like evdev, frame 88 hardware autodetection scripts to load modules like evdev, frame
89 buffer drivers etc. 89 buffer drivers etc.
90 config BUSYBOX_CONFIG_RMMOD 90 config BUSYBOX_CONFIG_RMMOD
91 bool "rmmod (3.3 kb)" 91 bool "rmmod"
92 default BUSYBOX_DEFAULT_RMMOD 92 default BUSYBOX_DEFAULT_RMMOD
93 select BUSYBOX_CONFIG_PLATFORM_LINUX 93 select BUSYBOX_CONFIG_PLATFORM_LINUX
94 help 94 help
Line 95... Line 95...
95 rmmod is used to unload specified modules from the kernel. 95 rmmod is used to unload specified modules from the kernel.
96   96  
97 comment "Options common to multiple modutils" 97 comment "Options common to multiple modutils"
98   98  
99 config BUSYBOX_CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS 99 config BUSYBOX_CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS
100 bool "Accept module options on modprobe command line" 100 bool "Accept module options on modprobe command line"
Line 101... Line 101...
101 default BUSYBOX_DEFAULT_FEATURE_CMDLINE_MODULE_OPTIONS 101 default BUSYBOX_DEFAULT_FEATURE_CMDLINE_MODULE_OPTIONS
102 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE 102 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE
103 help 103 help
104 Allow insmod and modprobe take module options from the applets' 104 Allow insmod and modprobe take module options from the applets'
105 command line. 105 command line.
106   106  
107 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED 107 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
108 bool "Skip loading of already loaded modules" 108 bool "Skip loading of already loaded modules"
Line 109... Line 109...
109 default BUSYBOX_DEFAULT_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED 109 default BUSYBOX_DEFAULT_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
110 depends on BUSYBOX_CONFIG_MODPROBE_SMALL && (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) 110 depends on BUSYBOX_CONFIG_MODPROBE_SMALL && (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
111 help 111 help
112 Check if the module is already loaded. 112 Check if the module is already loaded.
113   113  
114 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES 114 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
115 bool "Support version 2.2/2.4 Linux kernels" 115 bool "Support version 2.2/2.4 Linux kernels"
Line 116... Line 116...
116 default BUSYBOX_DEFAULT_FEATURE_2_4_MODULES 116 default BUSYBOX_DEFAULT_FEATURE_2_4_MODULES
117 depends on (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_RMMOD) && !BUSYBOX_CONFIG_MODPROBE_SMALL 117 depends on (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_RMMOD) && !BUSYBOX_CONFIG_MODPROBE_SMALL
118 help 118 help
119 Support module loading for 2.2.x and 2.4.x Linux kernels. 119 Support module loading for 2.2.x and 2.4.x Linux kernels.
120 This increases size considerably. Say N unless you plan 120 This increases size considerably. Say N unless you plan
121 to run ancient kernels. 121 to run ancient kernels.
122   122  
123 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING 123 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
124 bool "Enable module version checking" 124 bool "Enable module version checking"
125 default BUSYBOX_DEFAULT_FEATURE_INSMOD_VERSION_CHECKING 125 default BUSYBOX_DEFAULT_FEATURE_INSMOD_VERSION_CHECKING
Line 126... Line 126...
126 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) 126 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
127 help 127 help
128 Support checking of versions for modules. This is used to 128 Support checking of versions for modules. This is used to
129 ensure that the kernel and module are made for each other. 129 ensure that the kernel and module are made for each other.
130   130  
131 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS 131 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
132 bool "Add module symbols to kernel symbol table" 132 bool "Add module symbols to kernel symbol table"
133 default BUSYBOX_DEFAULT_FEATURE_INSMOD_KSYMOOPS_SYMBOLS 133 default BUSYBOX_DEFAULT_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
134 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) 134 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
Line 135... Line 135...
135 help 135 help
136 By adding module symbols to the kernel symbol table, Oops messages 136 By adding module symbols to the kernel symbol table, Oops messages
137 occurring within kernel modules can be properly debugged. By enabling 137 occurring within kernel modules can be properly debugged. By enabling
138 this feature, module symbols will always be added to the kernel symbol 138 this feature, module symbols will always be added to the kernel symbol
139 table for proper debugging support. If you are not interested in 139 table for proper debugging support. If you are not interested in
140 Oops messages from kernel modules, say N. 140 Oops messages from kernel modules, say N.
141   141  
142 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM 142 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
143 bool "In kernel memory optimization (uClinux only)" 143 bool "In kernel memory optimization (uClinux only)"
144 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOADINKMEM 144 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOADINKMEM
Line 145... Line 145...
145 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) 145 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
146 help 146 help
147 This is a special uClinux only memory optimization that lets insmod 147 This is a special uClinux only memory optimization that lets insmod
148 load the specified kernel module directly into kernel space, reducing 148 load the specified kernel module directly into kernel space, reducing
149 memory usage by preventing the need for two copies of the module 149 memory usage by preventing the need for two copies of the module
150 being loaded into memory. 150 being loaded into memory.
151   151  
152 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP 152 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
Line 153... Line 153...
153 bool "Enable insmod load map (-m) option" 153 bool "Enable insmod load map (-m) option"
154 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOAD_MAP 154 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOAD_MAP
155 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD 155 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD
156 help 156 help
157 Enabling this, one would be able to get a load map 157 Enabling this, one would be able to get a load map
158 output on stdout. This makes kernel module debugging 158 output on stdout. This makes kernel module debugging
159 easier. 159 easier.
160 If you don't plan to debug kernel modules, you 160 If you don't plan to debug kernel modules, you
161 don't need this option. 161 don't need this option.
Line 162... Line 162...
162   162  
163 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL 163 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
164 bool "Symbols in load map" 164 bool "Symbols in load map"
165 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOAD_MAP_FULL 165 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOAD_MAP_FULL
166 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP 166 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
167 help 167 help
168 Without this option, -m will only output section 168 Without this option, -m will only output section
169 load map. With this option, -m will also output 169 load map. With this option, -m will also output
170 symbols load map. 170 symbols load map.
171   171  
172 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE 172 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
173 bool "Support tainted module checking with new kernels" 173 bool "Support tainted module checking with new kernels"
174 default BUSYBOX_DEFAULT_FEATURE_CHECK_TAINTED_MODULE 174 default BUSYBOX_DEFAULT_FEATURE_CHECK_TAINTED_MODULE
Line 175... Line 175...
175 depends on (BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_FEATURE_2_4_MODULES) && !BUSYBOX_CONFIG_MODPROBE_SMALL 175 depends on (BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_FEATURE_2_4_MODULES) && !BUSYBOX_CONFIG_MODPROBE_SMALL
Line 176... Line 176...
176 help 176 help
177 Support checking for tainted modules. These are usually binary 177 Support checking for tainted modules. These are usually binary
178 only modules that will make the linux-kernel list ignore your 178 only modules that will make the linux-kernel list ignore your
179 support request. 179 support request.
180 This option is required to support GPLONLY modules. 180 This option is required to support GPLONLY modules.
181   181  
182 config BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP 182 config BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP
183 bool "Try to load module from a mmap'ed area" 183 bool "Try to load module from a mmap'ed area"
184 default BUSYBOX_DEFAULT_FEATURE_INSMOD_TRY_MMAP 184 default BUSYBOX_DEFAULT_FEATURE_INSMOD_TRY_MMAP
185 depends on (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL 185 depends on (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL
186 help 186 help
187 This option causes module loading code to try to mmap 187 This option causes module loading code to try to mmap
188 module first. If it does not work (for example, 188 module first. If it does not work (for example,
Line 189... Line 189...
189 it does not work for compressed modules), module will be read 189 it does not work for compressed modules), module will be read
Line 190... Line 190...
190 (and unpacked if needed) into a memory block allocated by malloc. 190 (and unpacked if needed) into a memory block allocated by malloc.
191   191  
192 The only case when mmap works but malloc does not is when 192 The only case when mmap works but malloc does not is when
193 you are trying to load a big module on a very memory-constrained 193 you are trying to load a big module on a very memory-constrained
194 machine. Malloc will momentarily need 2x as much memory as mmap. 194 machine. Malloc will momentarily need 2x as much memory as mmap.
195   195  
196 Choosing N saves about 250 bytes of code (on 32-bit x86). 196 Choosing N saves about 250 bytes of code (on 32-bit x86).
197   197  
Line 198... Line 198...
198 config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS 198 config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS
Line 199... Line 199...
199 bool "Support module.aliases file" 199 bool "Support module.aliases file"
200 default BUSYBOX_DEFAULT_FEATURE_MODUTILS_ALIAS 200 default BUSYBOX_DEFAULT_FEATURE_MODUTILS_ALIAS
201 depends on (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL 201 depends on (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL
202 help 202 help
203 Generate and parse modules.alias containing aliases for bus 203 Generate and parse modules.alias containing aliases for bus
204 identifiers: 204 identifiers:
205 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs 205 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
Line 206... Line 206...
206   206  
207 and aliases for logical modules names e.g.: 207 and aliases for logical modules names e.g.:
208 alias padlock_aes aes 208 alias padlock_aes aes
209 alias aes_i586 aes 209 alias aes_i586 aes
210 alias aes_generic aes 210 alias aes_generic aes
211   211  
212 Say Y if unsure. 212 Say Y if unsure.
213   213  
214 config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS 214 config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS
215 bool "Support module.symbols file" 215 bool "Support module.symbols file"
216 default BUSYBOX_DEFAULT_FEATURE_MODUTILS_SYMBOLS 216 default BUSYBOX_DEFAULT_FEATURE_MODUTILS_SYMBOLS
Line 217... Line 217...
217 depends on (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL 217 depends on (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL