blob: 71298bbff758546968d999072dc990198727f7f2 [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
Eric Andersenb24da332003-07-22 10:16:58 +000060 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 Andersenc9f20d92002-12-05 08:41:41 +000064
Eric Andersenbe65c352003-01-23 04:57:35 +000065config 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
76config 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 Andersenc9f20d92002-12-05 08:41:41 +000086config CONFIG_LSMOD
87 bool "lsmod"
88 default n
89 help
Eric Andersen65e20a32003-07-05 07:52:35 +000090 lsmod is used to display a list of loaded modules.
Eric Andersenc9f20d92002-12-05 08:41:41 +000091
92config 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 Andersen9c3c38d2003-07-22 09:59:34 +000097 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 Andersenc9f20d92002-12-05 08:41:41 +0000100
101config CONFIG_MODPROBE
102 bool "modprobe"
103 default n
104 help
Eric Andersene5642112003-07-14 19:37:08 +0000105 Handle the loading of modules, and their dependancies on a high
106 level.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000107
108config CONFIG_RMMOD
109 bool "rmmod"
110 default n
111 help
Eric Andersen65e20a32003-07-05 07:52:35 +0000112 rmmod is used to unload specified modules from the kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000113
114config 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 Andersen9c3c38d2003-07-22 09:59:34 +0000119 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 Andersenc9f20d92002-12-05 08:41:41 +0000122
123
124endmenu
125