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