blob: faccee88fd3a2b9db922f30bcd95fd5071b26eaa [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_2_MODULES
Eric Andersenc9f20d92002-12-05 08:41:41 +000015 bool " Support older (pre 2.1) Linux kernels"
16 default n
17 depends on CONFIG_INSMOD
18 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000019 Provide insmod support for older (pre 2.1) Linux kernels.
Eric Andersenc9f20d92002-12-05 08:41:41 +000020
Eric Andersene7047882003-12-11 01:42:13 +000021config CONFIG_FEATURE_2_4_MODULES
22 bool " Support version 2.1.x to 2.4.x Linux kernels"
Eric Andersenc9f20d92002-12-05 08:41:41 +000023 default y
24 depends on CONFIG_INSMOD
25 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000026 Support module loading for newer (post 2.1) Linux kernels.
Eric Andersene7047882003-12-11 01:42:13 +000027
28config 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 Andersenc9f20d92002-12-05 08:41:41 +000034
35config CONFIG_FEATURE_INSMOD_VERSION_CHECKING
36 bool " Module version checking"
37 default n
Eric Andersene7047882003-12-11 01:42:13 +000038 depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES )
Eric Andersenc9f20d92002-12-05 08:41:41 +000039 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000040 Support checking of versions for modules. This is used to
41 ensure that the kernel and module are made for each other.
Eric Andersenc9f20d92002-12-05 08:41:41 +000042
Eric Andersen889dd202003-01-23 04:48:34 +000043config CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
44 bool " Add module symbols to kernel symbol table"
45 default n
Eric Andersene7047882003-12-11 01:42:13 +000046 depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES )
Eric Andersen889dd202003-01-23 04:48:34 +000047 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +000048 By adding module symbols to the kernel symbol table, Oops messages
Eric Andersen889dd202003-01-23 04:48:34 +000049 occuring within kernel modules can be properly debugged. By enabling
Eric Andersenc7bda1c2004-03-15 08:29:22 +000050 this feature, module symbols will always be added to the kernel symbol
Eric Andersen889dd202003-01-23 04:48:34 +000051 table for properly debugging support. If you are not interested in
52 Oops messages from kernel modules, say N.
53
Eric Andersenc9f20d92002-12-05 08:41:41 +000054config CONFIG_FEATURE_INSMOD_LOADINKMEM
55 bool " In kernel memory optimization (uClinux only)"
56 default n
Eric Andersene7047882003-12-11 01:42:13 +000057 depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES )
Eric Andersenc9f20d92002-12-05 08:41:41 +000058 help
Eric Andersenb24da332003-07-22 10:16:58 +000059 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 Andersenc9f20d92002-12-05 08:41:41 +000063
Eric Andersenbe65c352003-01-23 04:57:35 +000064config CONFIG_FEATURE_INSMOD_LOAD_MAP
Eric Andersenc7bda1c2004-03-15 08:29:22 +000065 bool " Enable load map (-m) option"
Eric Andersenbe65c352003-01-23 04:57:35 +000066 default n
Eric Andersene7047882003-12-11 01:42:13 +000067 depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES )
Eric Andersenbe65c352003-01-23 04:57:35 +000068 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
75config 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 Andersenc7bda1c2004-03-15 08:29:22 +000081 load map. With this option, -m will also output
Eric Andersene7047882003-12-11 01:42:13 +000082 symbols load map.
Eric Andersenbe65c352003-01-23 04:57:35 +000083
Eric Andersenc9f20d92002-12-05 08:41:41 +000084config CONFIG_LSMOD
85 bool "lsmod"
86 default n
87 help
Eric Andersen65e20a32003-07-05 07:52:35 +000088 lsmod is used to display a list of loaded modules.
Eric Andersenc9f20d92002-12-05 08:41:41 +000089
90config CONFIG_FEATURE_QUERY_MODULE_INTERFACE
91 bool " Support lsmod query_module interface (add 638 bytes)"
92 default y
Eric Andersene7047882003-12-11 01:42:13 +000093 depends on CONFIG_LSMOD && ( CONFIG_FEATURE_2_4_MODULES || CONFIG_FEATURE_2_6_MODULES )
Eric Andersenc9f20d92002-12-05 08:41:41 +000094 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000095 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 Andersenc9f20d92002-12-05 08:41:41 +000098
99config CONFIG_MODPROBE
100 bool "modprobe"
101 default n
102 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +0000103 Handle the loading of modules, and their dependancies on a high
Eric Andersene5642112003-07-14 19:37:08 +0000104 level.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000105
106config CONFIG_RMMOD
107 bool "rmmod"
108 default n
109 help
Eric Andersen65e20a32003-07-05 07:52:35 +0000110 rmmod is used to unload specified modules from the kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000111
112config 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 Andersen9c3c38d2003-07-22 09:59:34 +0000117 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 McGrath759d7ec2003-09-03 00:42:58 +0000120 This option is required to support GPLONLY modules.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000121
122
123endmenu
124