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