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 |
| 60 | Please submit a patch to add help text for this item. |
| 61 | |
Eric Andersen | be65c35 | 2003-01-23 04:57:35 +0000 | [diff] [blame] | 62 | config CONFIG_FEATURE_INSMOD_LOAD_MAP |
| 63 | bool " Enable load map (-m) option" |
| 64 | default n |
| 65 | depends on CONFIG_INSMOD |
| 66 | help |
| 67 | Enabling this, one would be able to get a load map |
| 68 | output on stdout. This makes kernel module debugging |
| 69 | easier. |
| 70 | If you don't plan to debug kernel modules, you |
| 71 | don't need this option. |
| 72 | |
| 73 | config CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL |
| 74 | bool " Symbols in load map" |
| 75 | default y |
| 76 | depends on CONFIG_FEATURE_INSMOD_LOAD_MAP |
| 77 | help |
| 78 | Without this option, -m will only output section |
| 79 | load map. |
| 80 | With this option, -m will also output symbols |
| 81 | load map. |
| 82 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 83 | config CONFIG_LSMOD |
| 84 | bool "lsmod" |
| 85 | default n |
| 86 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 87 | lsmod is used to display a list of loaded modules. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 88 | |
| 89 | config CONFIG_FEATURE_QUERY_MODULE_INTERFACE |
| 90 | bool " Support lsmod query_module interface (add 638 bytes)" |
| 91 | default y |
| 92 | depends on CONFIG_LSMOD && CONFIG_FEATURE_NEW_MODULE_INTERFACE |
| 93 | help |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame^] | 94 | This will provide some extra information about each module when |
| 95 | running lsmod. The fields provided are address, size, flags and |
| 96 | usage count. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 97 | |
| 98 | config CONFIG_MODPROBE |
| 99 | bool "modprobe" |
| 100 | default n |
| 101 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 102 | Handle the loading of modules, and their dependancies on a high |
| 103 | level. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 104 | |
| 105 | config CONFIG_RMMOD |
| 106 | bool "rmmod" |
| 107 | default n |
| 108 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 109 | rmmod is used to unload specified modules from the kernel. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 110 | |
| 111 | config CONFIG_FEATURE_CHECK_TAINTED_MODULE |
| 112 | bool "Support tainted module checking with new kernels" |
| 113 | default y |
| 114 | depends on CONFIG_INSMOD || CONFIG_LSMOD |
| 115 | help |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame^] | 116 | Support checking for tainted modules. These are usually binary |
| 117 | only modules that will make the linux-kernel list ignore your |
| 118 | support request. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 119 | |
| 120 | |
| 121 | endmenu |
| 122 | |