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