[2725] | 1 | # DO NOT EDIT. This file is generated from Config.src
|
---|
[821] | 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"
|
---|
[2725] | 8 | depends on PLATFORM_LINUX
|
---|
[821] | 9 |
|
---|
[2725] | 10 | config MODINFO
|
---|
| 11 | bool "modinfo"
|
---|
| 12 | default y
|
---|
[821] | 13 | help
|
---|
[2725] | 14 | Show information about a Linux Kernel module
|
---|
[821] | 15 |
|
---|
[2725] | 16 | config MODPROBE_SMALL
|
---|
| 17 | bool "Simplified modutils"
|
---|
| 18 | default y
|
---|
[821] | 19 | help
|
---|
[2725] | 20 | Simplified modutils.
|
---|
[821] | 21 |
|
---|
[2725] | 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 FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
|
---|
| 50 | bool "Accept module options on modprobe command line"
|
---|
| 51 | default y
|
---|
| 52 | depends on MODPROBE_SMALL
|
---|
[821] | 53 | help
|
---|
[2725] | 54 | Allow insmod and modprobe take module options from command line.
|
---|
[821] | 55 |
|
---|
[2725] | 56 | config FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
|
---|
| 57 | bool "Skip loading of already loaded modules"
|
---|
| 58 | default y
|
---|
| 59 | depends on MODPROBE_SMALL
|
---|
[821] | 60 | help
|
---|
[2725] | 61 | Check if the module is already loaded.
|
---|
[821] | 62 |
|
---|
[2725] | 63 | config INSMOD
|
---|
| 64 | bool "insmod"
|
---|
[821] | 65 | default n
|
---|
[2725] | 66 | depends on !MODPROBE_SMALL
|
---|
[821] | 67 | help
|
---|
[2725] | 68 | insmod is used to load specified modules in the running kernel.
|
---|
[821] | 69 |
|
---|
[1765] | 70 | config RMMOD
|
---|
[821] | 71 | bool "rmmod"
|
---|
| 72 | default n
|
---|
[2725] | 73 | depends on !MODPROBE_SMALL
|
---|
[821] | 74 | help
|
---|
| 75 | rmmod is used to unload specified modules from the kernel.
|
---|
| 76 |
|
---|
[1765] | 77 | config LSMOD
|
---|
[821] | 78 | bool "lsmod"
|
---|
| 79 | default n
|
---|
[2725] | 80 | depends on !MODPROBE_SMALL
|
---|
[821] | 81 | help
|
---|
| 82 | lsmod is used to display a list of loaded modules.
|
---|
| 83 |
|
---|
[1765] | 84 | config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
|
---|
[2725] | 85 | bool "Pretty output"
|
---|
[821] | 86 | default n
|
---|
[1765] | 87 | depends on LSMOD
|
---|
[821] | 88 | help
|
---|
| 89 | This option makes output format of lsmod adjusted to
|
---|
| 90 | the format of module-init-tools for Linux kernel 2.6.
|
---|
[2725] | 91 | Increases size somewhat.
|
---|
[821] | 92 |
|
---|
[1765] | 93 | config MODPROBE
|
---|
[821] | 94 | bool "modprobe"
|
---|
| 95 | default n
|
---|
[2725] | 96 | depends on !MODPROBE_SMALL
|
---|
[821] | 97 | help
|
---|
| 98 | Handle the loading of modules, and their dependencies on a high
|
---|
| 99 | level.
|
---|
| 100 |
|
---|
[2725] | 101 | config FEATURE_MODPROBE_BLACKLIST
|
---|
| 102 | bool "Blacklist support"
|
---|
| 103 | default n
|
---|
[1765] | 104 | depends on MODPROBE
|
---|
[821] | 105 | help
|
---|
[2725] | 106 | Say 'y' here to enable support for the 'blacklist' command in
|
---|
| 107 | modprobe.conf. This prevents the alias resolver to resolve
|
---|
| 108 | blacklisted modules. This is useful if you want to prevent your
|
---|
| 109 | hardware autodetection scripts to load modules like evdev, frame
|
---|
| 110 | buffer drivers etc.
|
---|
[821] | 111 |
|
---|
[2725] | 112 | config DEPMOD
|
---|
| 113 | bool "depmod"
|
---|
| 114 | default n
|
---|
| 115 | depends on !MODPROBE_SMALL
|
---|
| 116 | help
|
---|
| 117 | depmod generates modules.dep (and potentially modules.alias
|
---|
| 118 | and modules.symbols) that contain dependency information
|
---|
| 119 | for modprobe.
|
---|
[821] | 120 |
|
---|
[2725] | 121 | comment "Options common to multiple modutils"
|
---|
[821] | 122 |
|
---|
[2725] | 123 | config FEATURE_2_4_MODULES
|
---|
| 124 | bool "Support version 2.2/2.4 Linux kernels"
|
---|
| 125 | default n
|
---|
| 126 | depends on INSMOD || RMMOD || LSMOD
|
---|
| 127 | help
|
---|
| 128 | Support module loading for 2.2.x and 2.4.x Linux kernels.
|
---|
| 129 | This increases size considerably. Say N unless you plan
|
---|
| 130 | to run ancient kernels.
|
---|
| 131 |
|
---|
| 132 | config FEATURE_INSMOD_TRY_MMAP
|
---|
| 133 | bool "Try to load module from a mmap'ed area"
|
---|
| 134 | default n
|
---|
| 135 | depends on INSMOD || MODPROBE_SMALL
|
---|
| 136 | help
|
---|
| 137 | This option causes module loading code to try to mmap
|
---|
| 138 | module first. If it does not work (for example,
|
---|
| 139 | it does not work for compressed modules), module will be read
|
---|
| 140 | (and unpacked if needed) into a memory block allocated by malloc.
|
---|
| 141 |
|
---|
| 142 | The only case when mmap works but malloc does not is when
|
---|
| 143 | you are trying to load a big module on a very memory-constrained
|
---|
| 144 | machine. Malloc will momentarily need 2x as much memory as mmap.
|
---|
| 145 |
|
---|
| 146 | Choosing N saves about 250 bytes of code (on 32-bit x86).
|
---|
| 147 |
|
---|
| 148 | config FEATURE_INSMOD_VERSION_CHECKING
|
---|
| 149 | bool "Enable module version checking"
|
---|
| 150 | default n
|
---|
| 151 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
|
---|
| 152 | help
|
---|
| 153 | Support checking of versions for modules. This is used to
|
---|
| 154 | ensure that the kernel and module are made for each other.
|
---|
| 155 |
|
---|
| 156 | config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
|
---|
| 157 | bool "Add module symbols to kernel symbol table"
|
---|
| 158 | default n
|
---|
| 159 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
|
---|
| 160 | help
|
---|
| 161 | By adding module symbols to the kernel symbol table, Oops messages
|
---|
| 162 | occuring within kernel modules can be properly debugged. By enabling
|
---|
| 163 | this feature, module symbols will always be added to the kernel symbol
|
---|
| 164 | table for proper debugging support. If you are not interested in
|
---|
| 165 | Oops messages from kernel modules, say N.
|
---|
| 166 |
|
---|
| 167 | config FEATURE_INSMOD_LOADINKMEM
|
---|
| 168 | bool "In kernel memory optimization (uClinux only)"
|
---|
| 169 | default n
|
---|
| 170 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
|
---|
| 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 FEATURE_INSMOD_LOAD_MAP
|
---|
| 178 | bool "Enable insmod load map (-m) option"
|
---|
| 179 | default n
|
---|
| 180 | depends on FEATURE_2_4_MODULES && INSMOD
|
---|
| 181 | help
|
---|
| 182 | Enabling this, one would be able to get a load map
|
---|
| 183 | output on stdout. This makes kernel module debugging
|
---|
| 184 | easier.
|
---|
| 185 | If you don't plan to debug kernel modules, you
|
---|
| 186 | don't need this option.
|
---|
| 187 |
|
---|
| 188 | config FEATURE_INSMOD_LOAD_MAP_FULL
|
---|
| 189 | bool "Symbols in load map"
|
---|
[1765] | 190 | default y
|
---|
[2725] | 191 | depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL
|
---|
[1765] | 192 | help
|
---|
[2725] | 193 | Without this option, -m will only output section
|
---|
| 194 | load map. With this option, -m will also output
|
---|
| 195 | symbols load map.
|
---|
[1765] | 196 |
|
---|
| 197 | config FEATURE_CHECK_TAINTED_MODULE
|
---|
[821] | 198 | bool "Support tainted module checking with new kernels"
|
---|
| 199 | default y
|
---|
[2725] | 200 | depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL
|
---|
[821] | 201 | help
|
---|
[2725] | 202 | Support checking for tainted modules. These are usually binary
|
---|
[821] | 203 | only modules that will make the linux-kernel list ignore your
|
---|
| 204 | support request.
|
---|
| 205 | This option is required to support GPLONLY modules.
|
---|
| 206 |
|
---|
[2725] | 207 | config FEATURE_MODUTILS_ALIAS
|
---|
| 208 | bool "Support for module.aliases file"
|
---|
[821] | 209 | default y
|
---|
[2725] | 210 | depends on DEPMOD || MODPROBE
|
---|
[821] | 211 | help
|
---|
[2725] | 212 | Generate and parse modules.alias containing aliases for bus
|
---|
| 213 | identifiers:
|
---|
| 214 | alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
|
---|
[821] | 215 |
|
---|
[2725] | 216 | and aliases for logical modules names e.g.:
|
---|
| 217 | alias padlock_aes aes
|
---|
| 218 | alias aes_i586 aes
|
---|
| 219 | alias aes_generic aes
|
---|
| 220 |
|
---|
| 221 | Say Y if unsure.
|
---|
| 222 |
|
---|
| 223 | config FEATURE_MODUTILS_SYMBOLS
|
---|
| 224 | bool "Support for module.symbols file"
|
---|
[821] | 225 | default y
|
---|
[2725] | 226 | depends on DEPMOD || MODPROBE
|
---|
[821] | 227 | help
|
---|
[2725] | 228 | Generate and parse modules.symbols containing aliases for
|
---|
| 229 | symbol_request() kernel calls, such as:
|
---|
| 230 | alias symbol:usb_sg_init usbcore
|
---|
[821] | 231 |
|
---|
[2725] | 232 | Say Y if unsure.
|
---|
[821] | 233 |
|
---|
[2725] | 234 | config DEFAULT_MODULES_DIR
|
---|
| 235 | string "Default directory containing modules"
|
---|
| 236 | default "/lib/modules"
|
---|
| 237 | depends on DEPMOD || MODPROBE || MODPROBE_SMALL || MODINFO
|
---|
| 238 | help
|
---|
| 239 | Directory that contains kernel modules.
|
---|
| 240 | Defaults to "/lib/modules"
|
---|
[821] | 241 |
|
---|
[2725] | 242 | config DEFAULT_DEPMOD_FILE
|
---|
| 243 | string "Default name of modules.dep"
|
---|
| 244 | default "modules.dep"
|
---|
| 245 | depends on DEPMOD || MODPROBE || MODPROBE_SMALL || MODINFO
|
---|
| 246 | help
|
---|
| 247 | Filename that contains kernel modules dependencies.
|
---|
| 248 | Defaults to "modules.dep"
|
---|
[821] | 249 |
|
---|
| 250 | endmenu
|
---|