blob: bf19a3e6718aee7cdeb141e5e995f2d85330e14a [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
Glenn L McGrath1b6dfa72003-03-30 13:57:26 +00006menu "Linux Module Utilities"
Eric Andersenc9f20d92002-12-05 08:41:41 +00007
8config CONFIG_INSMOD
9 bool "insmod"
10 default n
11 help
Eric Andersene5642112003-07-14 19:37:08 +000012 insmod is used to load specified modules in the running kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +000013
Eric Andersene7047882003-12-11 01:42:13 +000014config CONFIG_FEATURE_2_4_MODULES
Eric Andersencb3b9b12004-06-22 11:50:52 +000015 bool " Support version 2.2.x to 2.4.x Linux kernels"
Eric Andersenc9f20d92002-12-05 08:41:41 +000016 default y
Eric Andersencb3b9b12004-06-22 11:50:52 +000017 depends on CONFIG_INSMOD
Eric Andersenc9f20d92002-12-05 08:41:41 +000018 help
Eric Andersend9438372004-06-22 10:43:09 +000019 Support module loading for 2.2.x and 2.4.x Linux kernels.
Eric Andersene7047882003-12-11 01:42:13 +000020
Rob Landley4f653602005-05-04 23:55:06 +000021config CONFIG_FEATURE_2_6_MODULES
22 bool " Support version 2.6.x Linux kernels"
23 default n
24 depends on CONFIG_INSMOD
25 help
26 Support module loading for newer 2.6.x Linux kernels.
27
Eric Andersenc9f20d92002-12-05 08:41:41 +000028config CONFIG_FEATURE_INSMOD_VERSION_CHECKING
29 bool " Module version checking"
30 default n
Eric Andersencb3b9b12004-06-22 11:50:52 +000031 depends on CONFIG_INSMOD && CONFIG_FEATURE_2_4_MODULES
Eric Andersenc9f20d92002-12-05 08:41:41 +000032 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000033 Support checking of versions for modules. This is used to
34 ensure that the kernel and module are made for each other.
Eric Andersenc9f20d92002-12-05 08:41:41 +000035
Eric Andersen889dd202003-01-23 04:48:34 +000036config CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
37 bool " Add module symbols to kernel symbol table"
38 default n
Eric Andersencb3b9b12004-06-22 11:50:52 +000039 depends on CONFIG_INSMOD && CONFIG_FEATURE_2_4_MODULES
Eric Andersen889dd202003-01-23 04:48:34 +000040 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +000041 By adding module symbols to the kernel symbol table, Oops messages
Eric Andersen889dd202003-01-23 04:48:34 +000042 occuring within kernel modules can be properly debugged. By enabling
Eric Andersenc7bda1c2004-03-15 08:29:22 +000043 this feature, module symbols will always be added to the kernel symbol
Eric Andersen889dd202003-01-23 04:48:34 +000044 table for properly debugging support. If you are not interested in
45 Oops messages from kernel modules, say N.
46
Eric Andersenc9f20d92002-12-05 08:41:41 +000047config CONFIG_FEATURE_INSMOD_LOADINKMEM
48 bool " In kernel memory optimization (uClinux only)"
49 default n
Eric Andersencb3b9b12004-06-22 11:50:52 +000050 depends on CONFIG_INSMOD && CONFIG_FEATURE_2_4_MODULES
Eric Andersenc9f20d92002-12-05 08:41:41 +000051 help
Eric Andersenb24da332003-07-22 10:16:58 +000052 This is a special uClinux only memory optimization that lets insmod
53 load the specified kernel module directly into kernel space, reducing
54 memory usage by preventing the need for two copies of the module
55 being loaded into memory.
Eric Andersenc9f20d92002-12-05 08:41:41 +000056
Eric Andersenbe65c352003-01-23 04:57:35 +000057config CONFIG_FEATURE_INSMOD_LOAD_MAP
Eric Andersenc7bda1c2004-03-15 08:29:22 +000058 bool " Enable load map (-m) option"
Eric Andersenbe65c352003-01-23 04:57:35 +000059 default n
Eric Andersencb3b9b12004-06-22 11:50:52 +000060 depends on CONFIG_INSMOD && CONFIG_FEATURE_2_4_MODULES
Eric Andersenbe65c352003-01-23 04:57:35 +000061 help
62 Enabling this, one would be able to get a load map
63 output on stdout. This makes kernel module debugging
64 easier.
65 If you don't plan to debug kernel modules, you
66 don't need this option.
67
68config CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
69 bool " Symbols in load map"
70 default y
71 depends on CONFIG_FEATURE_INSMOD_LOAD_MAP
72 help
73 Without this option, -m will only output section
Eric Andersenc7bda1c2004-03-15 08:29:22 +000074 load map. With this option, -m will also output
Eric Andersene7047882003-12-11 01:42:13 +000075 symbols load map.
Eric Andersenbe65c352003-01-23 04:57:35 +000076
Eric Andersenc9f20d92002-12-05 08:41:41 +000077config CONFIG_LSMOD
78 bool "lsmod"
79 default n
80 help
Eric Andersen65e20a32003-07-05 07:52:35 +000081 lsmod is used to display a list of loaded modules.
Eric Andersenc9f20d92002-12-05 08:41:41 +000082
Rob Landley4f653602005-05-04 23:55:06 +000083config CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
84 bool " lsmod pretty output for 2.6.x Linux kernels "
Rob Landley15d3f7f2005-05-04 00:25:49 +000085 default n
Rob Landley4f653602005-05-04 23:55:06 +000086 depends on CONFIG_LSMOD
Rob Landley15d3f7f2005-05-04 00:25:49 +000087 help
Rob Landley4f653602005-05-04 23:55:06 +000088 This option makes output format of lsmod adjusted to
89 the format of module-init-tools for Linux kernel 2.6.
Rob Landley15d3f7f2005-05-04 00:25:49 +000090
Eric Andersenc9f20d92002-12-05 08:41:41 +000091config CONFIG_FEATURE_QUERY_MODULE_INTERFACE
Eric Andersen65659be2004-07-20 06:09:14 +000092 bool
93 default y
Eric Andersene8521f12004-07-13 00:09:34 +000094 depends on CONFIG_FEATURE_2_4_MODULES && !CONFIG_FEATURE_2_6_MODULES
Eric Andersenc9f20d92002-12-05 08:41:41 +000095
96config CONFIG_MODPROBE
97 bool "modprobe"
98 default n
99 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000100 Handle the loading of modules, and their dependancies on a high
Eric Andersene5642112003-07-14 19:37:08 +0000101 level.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000102
Rob Landley79e1cab2005-11-15 00:08:29 +0000103 Note that, in the state it is, modprobe can pass only one option
104 to the modules it loads. See option below.
105
106config CONFIG_MODPROBE_MULTIPLE_OPTIONS
107 bool "Multiple options parsing"
108 default y
109 depends on CONFIG_MODPROBE
110 help
111 Allow modprobe to understand more than one option to pass to
112 modules.
113
114 This is a WIP, while waiting for a common argument parsing
115 common amongst all BB applets (shell, modprobe, etc...) and
116 adds around 600 bytes on x86, 700 bytes on ARM. The code is
117 biggish and uggly, but just works.
118
119 Saying Y here is not a bad idea if you're not that short
120 on storage capacity.
121
Eric Andersenc9f20d92002-12-05 08:41:41 +0000122config CONFIG_RMMOD
123 bool "rmmod"
124 default n
125 help
Eric Andersen65e20a32003-07-05 07:52:35 +0000126 rmmod is used to unload specified modules from the kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000127
128config CONFIG_FEATURE_CHECK_TAINTED_MODULE
129 bool "Support tainted module checking with new kernels"
130 default y
131 depends on CONFIG_INSMOD || CONFIG_LSMOD
132 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000133 Support checking for tainted modules. These are usually binary
134 only modules that will make the linux-kernel list ignore your
135 support request.
Glenn L McGrath759d7ec2003-09-03 00:42:58 +0000136 This option is required to support GPLONLY modules.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000137
138
139endmenu
140