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