blob: 2006be00fc00e2a165b462d1816818e4fe9d9d07 [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
14config 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 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
21if 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)"
25endif
26
27if CONFIG_FEATURE_OLD_MODULE_INTERFACE
28config 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 Andersen9c3c38d2003-07-22 09:59:34 +000033 Support module loading for newer (post 2.1) Linux kernels.
Eric Andersenc9f20d92002-12-05 08:41:41 +000034endif
35
36config CONFIG_FEATURE_INSMOD_VERSION_CHECKING
37 bool " Module version checking"
38 default n
39 depends on CONFIG_INSMOD
40 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000041 Support checking of versions for modules. This is used to
42 ensure that the kernel and module are made for each other.
Eric Andersenc9f20d92002-12-05 08:41:41 +000043
Eric Andersen889dd202003-01-23 04:48:34 +000044config 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 Andersenc9f20d92002-12-05 08:41:41 +000055config 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 Andersenbe65c352003-01-23 04:57:35 +000062config 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
73config 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 Andersenc9f20d92002-12-05 08:41:41 +000083config CONFIG_LSMOD
84 bool "lsmod"
85 default n
86 help
Eric Andersen65e20a32003-07-05 07:52:35 +000087 lsmod is used to display a list of loaded modules.
Eric Andersenc9f20d92002-12-05 08:41:41 +000088
89config 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 Andersen9c3c38d2003-07-22 09:59:34 +000094 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 Andersenc9f20d92002-12-05 08:41:41 +000097
98config CONFIG_MODPROBE
99 bool "modprobe"
100 default n
101 help
Eric Andersene5642112003-07-14 19:37:08 +0000102 Handle the loading of modules, and their dependancies on a high
103 level.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000104
105config CONFIG_RMMOD
106 bool "rmmod"
107 default n
108 help
Eric Andersen65e20a32003-07-05 07:52:35 +0000109 rmmod is used to unload specified modules from the kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000110
111config 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 Andersen9c3c38d2003-07-22 09:59:34 +0000116 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 Andersenc9f20d92002-12-05 08:41:41 +0000119
120
121endmenu
122