Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
Glenn L McGrath | 1b6dfa7 | 2003-03-30 13:57:26 +0000 | [diff] [blame] | 6 | menu "Linux Module Utilities" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 7 | |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 8 | config MODPROBE_SMALL |
| 9 | bool "Simplified modutils" |
| 10 | default n |
| 11 | help |
| 12 | Simplified modutils. |
| 13 | |
Denis Vlasenko | 0e2c93f | 2008-07-10 14:16:11 +0000 | [diff] [blame] | 14 | With this option modprobe does not require modules.dep file |
| 15 | and does not use /etc/modules.conf file. |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 16 | It scans module files in /lib/modules/`uname -r` and |
| 17 | determines dependencies and module alias names on the fly. |
| 18 | This may make module loading slower, most notably |
| 19 | when one needs to load module by alias (this requires |
| 20 | scanning through module _bodies_). |
| 21 | |
Denis Vlasenko | 0e2c93f | 2008-07-10 14:16:11 +0000 | [diff] [blame] | 22 | At the first attempt to load a module by alias modprobe |
| 23 | will try to generate modules.dep.bb file in order to speed up |
| 24 | future loads by alias. Failure to do so (read-only /lib/modules, |
| 25 | etc) is not reported, and future modprobes will be slow too. |
| 26 | |
| 27 | NB: modules.dep.bb file format is not compatible |
| 28 | with modules.dep file as created/used by standard module tools. |
| 29 | |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 30 | Additional module parameters can be stored in |
| 31 | /etc/modules/$module_name files. |
| 32 | |
| 33 | Apart from modprobe, other utilities are also provided: |
| 34 | - insmod is an alias to modprobe |
| 35 | - rmmod is an alias to modprobe -r |
Denis Vlasenko | 0e2c93f | 2008-07-10 14:16:11 +0000 | [diff] [blame] | 36 | - depmod generates modules.dep.bb |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 37 | |
Denis Vlasenko | 3e8fd18 | 2008-07-10 23:42:36 +0000 | [diff] [blame] | 38 | As of 2008-07, this code is experimental. It is 14kb smaller |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 39 | than "non-small" modutils. |
| 40 | |
| 41 | config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE |
Denis Vlasenko | f62ab2d | 2008-07-09 09:50:33 +0000 | [diff] [blame] | 42 | bool "Accept module options on modprobe command line" |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 43 | default n |
| 44 | depends on MODPROBE_SMALL |
| 45 | help |
| 46 | Allow insmod and modprobe take module options from command line. |
| 47 | N.B. Very bloaty. |
| 48 | |
| 49 | config FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED |
| 50 | bool "Skip loading of already loaded modules" |
| 51 | default n |
| 52 | depends on MODPROBE_SMALL |
| 53 | help |
| 54 | Check if the module is already loaded. |
| 55 | N.B. It's racy. |
| 56 | |
Bernhard Reutner-Fischer | 55e547e | 2008-05-26 12:01:49 +0000 | [diff] [blame] | 57 | config DEPMOD |
| 58 | bool "depmod" |
| 59 | default n |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 60 | depends on !MODPROBE_SMALL |
Bernhard Reutner-Fischer | 55e547e | 2008-05-26 12:01:49 +0000 | [diff] [blame] | 61 | help |
| 62 | depmod generates modules.dep (FIXME: elaborate) |
| 63 | |
Bernhard Reutner-Fischer | beac1bd | 2008-06-02 13:28:47 +0000 | [diff] [blame] | 64 | config FEATURE_DEPMOD_PRUNE_FANCY |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 65 | bool "Fancy dependency pruning" |
Bernhard Reutner-Fischer | beac1bd | 2008-06-02 13:28:47 +0000 | [diff] [blame] | 66 | default n |
| 67 | depends on DEPMOD |
| 68 | help |
| 69 | By default modules.dep contains all dependencies as listed by |
| 70 | the modules. |
| 71 | If you enable this option then we remove implied modules from |
| 72 | the dependencies. |
| 73 | This makes depmod somewhat bigger but generates a smaller |
| 74 | modules.dep file. |
| 75 | |
| 76 | If unsure, say N. |
| 77 | |
Bernhard Reutner-Fischer | c2741e1 | 2008-06-02 18:59:16 +0000 | [diff] [blame] | 78 | config FEATURE_DEPMOD_ALIAS |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 79 | bool "Alias support" |
Bernhard Reutner-Fischer | c2741e1 | 2008-06-02 18:59:16 +0000 | [diff] [blame] | 80 | default n |
| 81 | depends on DEPMOD |
| 82 | help |
| 83 | By default modules.dep does not contain alias information. |
| 84 | Enable this to emit aliases of the form: |
| 85 | |
| 86 | alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs |
| 87 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 88 | config INSMOD |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 89 | bool "insmod" |
| 90 | default n |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 91 | depends on !MODPROBE_SMALL |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 92 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 93 | insmod is used to load specified modules in the running kernel. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 94 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 95 | config FEATURE_INSMOD_VERSION_CHECKING |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 96 | bool "Module version checking" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 97 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 98 | depends on INSMOD && FEATURE_2_4_MODULES |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 99 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 100 | Support checking of versions for modules. This is used to |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame] | 101 | ensure that the kernel and module are made for each other. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 102 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 103 | config FEATURE_INSMOD_KSYMOOPS_SYMBOLS |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 104 | bool "Add module symbols to kernel symbol table" |
Eric Andersen | 889dd20 | 2003-01-23 04:48:34 +0000 | [diff] [blame] | 105 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 106 | depends on INSMOD && FEATURE_2_4_MODULES |
Eric Andersen | 889dd20 | 2003-01-23 04:48:34 +0000 | [diff] [blame] | 107 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 108 | By adding module symbols to the kernel symbol table, Oops messages |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 109 | occuring within kernel modules can be properly debugged. By enabling |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 110 | this feature, module symbols will always be added to the kernel symbol |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 111 | table for properly debugging support. If you are not interested in |
Eric Andersen | 889dd20 | 2003-01-23 04:48:34 +0000 | [diff] [blame] | 112 | Oops messages from kernel modules, say N. |
| 113 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 114 | config FEATURE_INSMOD_LOADINKMEM |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 115 | bool "In kernel memory optimization (uClinux only)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 116 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 117 | depends on INSMOD && FEATURE_2_4_MODULES |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 118 | help |
Eric Andersen | b24da33 | 2003-07-22 10:16:58 +0000 | [diff] [blame] | 119 | This is a special uClinux only memory optimization that lets insmod |
| 120 | load the specified kernel module directly into kernel space, reducing |
| 121 | memory usage by preventing the need for two copies of the module |
| 122 | being loaded into memory. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 123 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 124 | config FEATURE_INSMOD_LOAD_MAP |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 125 | bool "Enable load map (-m) option" |
Eric Andersen | be65c35 | 2003-01-23 04:57:35 +0000 | [diff] [blame] | 126 | default n |
Denis Vlasenko | cba9ef5 | 2006-10-10 21:00:47 +0000 | [diff] [blame] | 127 | depends on INSMOD && ( FEATURE_2_4_MODULES || FEATURE_2_6_MODULES ) |
Eric Andersen | be65c35 | 2003-01-23 04:57:35 +0000 | [diff] [blame] | 128 | help |
| 129 | Enabling this, one would be able to get a load map |
| 130 | output on stdout. This makes kernel module debugging |
| 131 | easier. |
| 132 | If you don't plan to debug kernel modules, you |
| 133 | don't need this option. |
| 134 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 135 | config FEATURE_INSMOD_LOAD_MAP_FULL |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 136 | bool "Symbols in load map" |
Eric Andersen | be65c35 | 2003-01-23 04:57:35 +0000 | [diff] [blame] | 137 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 138 | depends on FEATURE_INSMOD_LOAD_MAP |
Eric Andersen | be65c35 | 2003-01-23 04:57:35 +0000 | [diff] [blame] | 139 | help |
| 140 | Without this option, -m will only output section |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 141 | load map. With this option, -m will also output |
Eric Andersen | e704788 | 2003-12-11 01:42:13 +0000 | [diff] [blame] | 142 | symbols load map. |
Eric Andersen | be65c35 | 2003-01-23 04:57:35 +0000 | [diff] [blame] | 143 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 144 | config RMMOD |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 145 | bool "rmmod" |
| 146 | default n |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 147 | depends on !MODPROBE_SMALL |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 148 | help |
| 149 | rmmod is used to unload specified modules from the kernel. |
| 150 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 151 | config LSMOD |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 152 | bool "lsmod" |
| 153 | default n |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 154 | depends on !MODPROBE_SMALL |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 155 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 156 | lsmod is used to display a list of loaded modules. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 157 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 158 | config FEATURE_LSMOD_PRETTY_2_6_OUTPUT |
Denis Vlasenko | 4ee7cd4 | 2008-03-17 09:13:22 +0000 | [diff] [blame] | 159 | bool "Pretty output for 2.6.x Linux kernels" |
Rob Landley | 15d3f7f | 2005-05-04 00:25:49 +0000 | [diff] [blame] | 160 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 161 | depends on LSMOD |
Rob Landley | 15d3f7f | 2005-05-04 00:25:49 +0000 | [diff] [blame] | 162 | help |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 163 | This option makes output format of lsmod adjusted to |
Rob Landley | 4f65360 | 2005-05-04 23:55:06 +0000 | [diff] [blame] | 164 | the format of module-init-tools for Linux kernel 2.6. |
Rob Landley | 15d3f7f | 2005-05-04 00:25:49 +0000 | [diff] [blame] | 165 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 166 | config MODPROBE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 167 | bool "modprobe" |
| 168 | default n |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 169 | depends on !MODPROBE_SMALL |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 170 | help |
Mike Frysinger | fa6c484 | 2006-05-26 01:48:17 +0000 | [diff] [blame] | 171 | Handle the loading of modules, and their dependencies on a high |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 172 | level. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 173 | |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 174 | Note that in the state, modprobe does not understand multiple |
| 175 | module options from the configuration file. See option below. |
Rob Landley | 79e1cab | 2005-11-15 00:08:29 +0000 | [diff] [blame] | 176 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 177 | config FEATURE_MODPROBE_MULTIPLE_OPTIONS |
Mike Frysinger | 11353ae | 2007-01-24 14:34:35 +0000 | [diff] [blame] | 178 | bool |
Denis Vlasenko | 9305cdd | 2008-05-13 02:43:27 +0000 | [diff] [blame] | 179 | prompt "Multiple options parsing" |
Rob Landley | 79e1cab | 2005-11-15 00:08:29 +0000 | [diff] [blame] | 180 | default y |
Mike Frysinger | 11353ae | 2007-01-24 14:34:35 +0000 | [diff] [blame] | 181 | depends on MODPROBE |
Rob Landley | 79e1cab | 2005-11-15 00:08:29 +0000 | [diff] [blame] | 182 | help |
| 183 | Allow modprobe to understand more than one option to pass to |
| 184 | modules. |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 185 | |
Rob Landley | 79e1cab | 2005-11-15 00:08:29 +0000 | [diff] [blame] | 186 | This is a WIP, while waiting for a common argument parsing |
| 187 | common amongst all BB applets (shell, modprobe, etc...) and |
| 188 | adds around 600 bytes on x86, 700 bytes on ARM. The code is |
| 189 | biggish and uggly, but just works. |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 190 | |
Rob Landley | 79e1cab | 2005-11-15 00:08:29 +0000 | [diff] [blame] | 191 | Saying Y here is not a bad idea if you're not that short |
| 192 | on storage capacity. |
| 193 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 194 | config FEATURE_MODPROBE_FANCY_ALIAS |
Mike Frysinger | 11353ae | 2007-01-24 14:34:35 +0000 | [diff] [blame] | 195 | bool |
Denis Vlasenko | 9305cdd | 2008-05-13 02:43:27 +0000 | [diff] [blame] | 196 | prompt "Fancy alias parsing" |
Rob Landley | bf30c69 | 2006-07-20 17:36:18 +0000 | [diff] [blame] | 197 | default y |
Mike Frysinger | 11353ae | 2007-01-24 14:34:35 +0000 | [diff] [blame] | 198 | depends on MODPROBE && FEATURE_2_6_MODULES |
Rob Landley | bf30c69 | 2006-07-20 17:36:18 +0000 | [diff] [blame] | 199 | help |
| 200 | Say 'y' here to enable parsing of aliases with underscore/dash |
| 201 | mismatch between module name and file name, along with bus-specific |
| 202 | aliases (such as pci:... or usb:... aliases). |
| 203 | |
Denis Vlasenko | 9ddc8d5 | 2008-05-18 14:39:43 +0000 | [diff] [blame] | 204 | config FEATURE_MODPROBE_BLACKLIST |
| 205 | bool |
| 206 | prompt "Blacklist support" |
| 207 | default n |
| 208 | depends on MODPROBE && FEATURE_2_6_MODULES |
| 209 | help |
Denis Vlasenko | f45c4f4 | 2008-06-16 04:09:25 +0000 | [diff] [blame] | 210 | Say 'y' here to enable support for the 'blacklist' command in |
| 211 | modprobe.conf. This prevents the alias resolver to resolve |
| 212 | blacklisted modules. This is useful if you want to prevent your |
| 213 | hardware autodetection scripts to load modules like evdev, frame |
Denis Vlasenko | 9ddc8d5 | 2008-05-18 14:39:43 +0000 | [diff] [blame] | 214 | buffer drivers etc. |
| 215 | |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 216 | comment "Options common to multiple modutils" |
Bernhard Reutner-Fischer | b85fb69 | 2008-05-27 10:55:34 +0000 | [diff] [blame] | 217 | depends on INSMOD || RMMOD || MODPROBE || LSMOD || DEPMOD |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 218 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 219 | config FEATURE_CHECK_TAINTED_MODULE |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 220 | # Simulate indentation |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 221 | bool "Support tainted module checking with new kernels" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 222 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 223 | depends on INSMOD || LSMOD |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 224 | help |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 225 | Support checking for tainted modules. These are usually binary |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame] | 226 | only modules that will make the linux-kernel list ignore your |
| 227 | support request. |
Glenn L McGrath | 759d7ec | 2003-09-03 00:42:58 +0000 | [diff] [blame] | 228 | This option is required to support GPLONLY modules. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 229 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 230 | config FEATURE_2_4_MODULES |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 231 | # Simulate indentation |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 232 | bool "Support version 2.2.x to 2.4.x Linux kernels" |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 233 | default y |
Denis Vlasenko | 997aa11 | 2006-10-14 11:12:20 +0000 | [diff] [blame] | 234 | depends on INSMOD || RMMOD || MODPROBE |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 235 | help |
| 236 | Support module loading for 2.2.x and 2.4.x Linux kernels. |
| 237 | |
Bernhard Reutner-Fischer | 9474830 | 2008-05-27 08:41:32 +0000 | [diff] [blame] | 238 | Note: |
| 239 | This is automatically enabled if 2.6 modules are not enabled. |
| 240 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 241 | config FEATURE_2_6_MODULES |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 242 | # Simulate indentation |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 243 | bool "Support version 2.6.x Linux kernels" |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 244 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 245 | depends on INSMOD || RMMOD || MODPROBE |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 246 | help |
| 247 | Support module loading for newer 2.6.x Linux kernels. |
| 248 | |
Bernhard Reutner-Fischer | b85fb69 | 2008-05-27 10:55:34 +0000 | [diff] [blame] | 249 | config DEFAULT_MODULES_DIR |
| 250 | # Simulate indentation |
Denis Vlasenko | e7860e3 | 2008-06-04 22:41:14 +0000 | [diff] [blame] | 251 | string "Default directory containing modules" |
Bernhard Reutner-Fischer | b85fb69 | 2008-05-27 10:55:34 +0000 | [diff] [blame] | 252 | default "/lib/modules" |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 253 | depends on INSMOD || RMMOD || MODPROBE || MODPROBE_SMALL || DEPMOD |
Bernhard Reutner-Fischer | b85fb69 | 2008-05-27 10:55:34 +0000 | [diff] [blame] | 254 | help |
| 255 | Directory that contains kernel modules. |
| 256 | Defaults to "/lib/modules" |
| 257 | |
| 258 | config DEFAULT_DEPMOD_FILE |
| 259 | # Simulate indentation |
Denis Vlasenko | e7860e3 | 2008-06-04 22:41:14 +0000 | [diff] [blame] | 260 | string "Default name of modules.dep" |
Bernhard Reutner-Fischer | b85fb69 | 2008-05-27 10:55:34 +0000 | [diff] [blame] | 261 | default "modules.dep" |
Denis Vlasenko | 671691c | 2008-07-04 10:25:44 +0000 | [diff] [blame] | 262 | depends on INSMOD || RMMOD || MODPROBE || MODPROBE_SMALL || DEPMOD |
Bernhard Reutner-Fischer | b85fb69 | 2008-05-27 10:55:34 +0000 | [diff] [blame] | 263 | help |
| 264 | Filename that contains kernel modules dependencies. |
| 265 | Defaults to "modules.dep" |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 266 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 267 | config FEATURE_QUERY_MODULE_INTERFACE |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 268 | bool |
| 269 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 270 | depends on FEATURE_2_4_MODULES && !FEATURE_2_6_MODULES |
Rob Landley | 762bb62 | 2005-12-11 20:20:05 +0000 | [diff] [blame] | 271 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 272 | endmenu |