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 | |
| 8 | config CONFIG_INSMOD |
| 9 | bool "insmod" |
| 10 | default n |
| 11 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 12 | insmod is used to load specified modules in the running kernel. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 13 | |
Eric Andersen | e704788 | 2003-12-11 01:42:13 +0000 | [diff] [blame] | 14 | config CONFIG_FEATURE_2_2_MODULES |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 15 | bool " Support older (pre 2.1) Linux kernels" |
| 16 | default n |
| 17 | depends on CONFIG_INSMOD |
| 18 | help |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame] | 19 | Provide insmod support for older (pre 2.1) Linux kernels. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 20 | |
Eric Andersen | e704788 | 2003-12-11 01:42:13 +0000 | [diff] [blame] | 21 | config CONFIG_FEATURE_2_4_MODULES |
| 22 | bool " Support version 2.1.x to 2.4.x Linux kernels" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 23 | default y |
| 24 | depends on CONFIG_INSMOD |
| 25 | help |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame] | 26 | Support module loading for newer (post 2.1) Linux kernels. |
Eric Andersen | e704788 | 2003-12-11 01:42:13 +0000 | [diff] [blame] | 27 | |
| 28 | config CONFIG_FEATURE_2_6_MODULES |
| 29 | bool " Support version 2.6.x Linux kernels" |
| 30 | default n |
| 31 | depends on CONFIG_INSMOD |
| 32 | help |
| 33 | Support module loading for newer (post 2.1) Linux kernels. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 34 | |
| 35 | config CONFIG_FEATURE_INSMOD_VERSION_CHECKING |
| 36 | bool " Module version checking" |
| 37 | default n |
Eric Andersen | e704788 | 2003-12-11 01:42:13 +0000 | [diff] [blame] | 38 | depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES ) |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 39 | help |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame] | 40 | Support checking of versions for modules. This is used to |
| 41 | ensure that the kernel and module are made for each other. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 42 | |
Eric Andersen | 889dd20 | 2003-01-23 04:48:34 +0000 | [diff] [blame] | 43 | config CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS |
| 44 | bool " Add module symbols to kernel symbol table" |
| 45 | default n |
Eric Andersen | e704788 | 2003-12-11 01:42:13 +0000 | [diff] [blame] | 46 | depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES ) |
Eric Andersen | 889dd20 | 2003-01-23 04:48:34 +0000 | [diff] [blame] | 47 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 48 | By adding module symbols to the kernel symbol table, Oops messages |
Eric Andersen | 889dd20 | 2003-01-23 04:48:34 +0000 | [diff] [blame] | 49 | occuring within kernel modules can be properly debugged. By enabling |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 50 | this feature, module symbols will always be added to the kernel symbol |
Eric Andersen | 889dd20 | 2003-01-23 04:48:34 +0000 | [diff] [blame] | 51 | table for properly debugging support. If you are not interested in |
| 52 | Oops messages from kernel modules, say N. |
| 53 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 54 | config CONFIG_FEATURE_INSMOD_LOADINKMEM |
| 55 | bool " In kernel memory optimization (uClinux only)" |
| 56 | default n |
Eric Andersen | e704788 | 2003-12-11 01:42:13 +0000 | [diff] [blame] | 57 | depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES ) |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 58 | help |
Eric Andersen | b24da33 | 2003-07-22 10:16:58 +0000 | [diff] [blame] | 59 | This is a special uClinux only memory optimization that lets insmod |
| 60 | load the specified kernel module directly into kernel space, reducing |
| 61 | memory usage by preventing the need for two copies of the module |
| 62 | being loaded into memory. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 63 | |
Eric Andersen | be65c35 | 2003-01-23 04:57:35 +0000 | [diff] [blame] | 64 | config CONFIG_FEATURE_INSMOD_LOAD_MAP |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 65 | bool " Enable load map (-m) option" |
Eric Andersen | be65c35 | 2003-01-23 04:57:35 +0000 | [diff] [blame] | 66 | default n |
Eric Andersen | e704788 | 2003-12-11 01:42:13 +0000 | [diff] [blame] | 67 | depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES ) |
Eric Andersen | be65c35 | 2003-01-23 04:57:35 +0000 | [diff] [blame] | 68 | help |
| 69 | Enabling this, one would be able to get a load map |
| 70 | output on stdout. This makes kernel module debugging |
| 71 | easier. |
| 72 | If you don't plan to debug kernel modules, you |
| 73 | don't need this option. |
| 74 | |
| 75 | config CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL |
| 76 | bool " Symbols in load map" |
| 77 | default y |
| 78 | depends on CONFIG_FEATURE_INSMOD_LOAD_MAP |
| 79 | help |
| 80 | Without this option, -m will only output section |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 81 | load map. With this option, -m will also output |
Eric Andersen | e704788 | 2003-12-11 01:42:13 +0000 | [diff] [blame] | 82 | symbols load map. |
Eric Andersen | be65c35 | 2003-01-23 04:57:35 +0000 | [diff] [blame] | 83 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 84 | config CONFIG_LSMOD |
| 85 | bool "lsmod" |
| 86 | default n |
| 87 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 88 | lsmod is used to display a list of loaded modules. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 89 | |
| 90 | config CONFIG_FEATURE_QUERY_MODULE_INTERFACE |
| 91 | bool " Support lsmod query_module interface (add 638 bytes)" |
| 92 | default y |
Eric Andersen | e704788 | 2003-12-11 01:42:13 +0000 | [diff] [blame] | 93 | depends on CONFIG_LSMOD && ( CONFIG_FEATURE_2_4_MODULES || CONFIG_FEATURE_2_6_MODULES ) |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 94 | help |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame] | 95 | This will provide some extra information about each module when |
| 96 | running lsmod. The fields provided are address, size, flags and |
| 97 | usage count. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 98 | |
| 99 | config CONFIG_MODPROBE |
| 100 | bool "modprobe" |
| 101 | default n |
| 102 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 103 | Handle the loading of modules, and their dependancies on a high |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 104 | level. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 105 | |
| 106 | config CONFIG_RMMOD |
| 107 | bool "rmmod" |
| 108 | default n |
| 109 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 110 | rmmod is used to unload specified modules from the kernel. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 111 | |
| 112 | config CONFIG_FEATURE_CHECK_TAINTED_MODULE |
| 113 | bool "Support tainted module checking with new kernels" |
| 114 | default y |
| 115 | depends on CONFIG_INSMOD || CONFIG_LSMOD |
| 116 | help |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame] | 117 | Support checking for tainted modules. These are usually binary |
| 118 | only modules that will make the linux-kernel list ignore your |
| 119 | support request. |
Glenn L McGrath | 759d7ec | 2003-09-03 00:42:58 +0000 | [diff] [blame] | 120 | This option is required to support GPLONLY modules. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 121 | |
| 122 | |
| 123 | endmenu |
| 124 | |