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