blob: 81214f73a1d2e7f7bef7d170748f139abb6137fb [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
Eric Andersenc9f20d92002-12-05 08:41:41 +000021config CONFIG_FEATURE_INSMOD_VERSION_CHECKING
22 bool " Module version checking"
23 default n
Eric Andersencb3b9b12004-06-22 11:50:52 +000024 depends on CONFIG_INSMOD && CONFIG_FEATURE_2_4_MODULES
Eric Andersenc9f20d92002-12-05 08:41:41 +000025 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +000026 Support checking of versions for modules. This is used to
27 ensure that the kernel and module are made for each other.
Eric Andersenc9f20d92002-12-05 08:41:41 +000028
Eric Andersen889dd202003-01-23 04:48:34 +000029config CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
30 bool " Add module symbols to kernel symbol table"
31 default n
Eric Andersencb3b9b12004-06-22 11:50:52 +000032 depends on CONFIG_INSMOD && CONFIG_FEATURE_2_4_MODULES
Eric Andersen889dd202003-01-23 04:48:34 +000033 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +000034 By adding module symbols to the kernel symbol table, Oops messages
Eric Andersen889dd202003-01-23 04:48:34 +000035 occuring within kernel modules can be properly debugged. By enabling
Eric Andersenc7bda1c2004-03-15 08:29:22 +000036 this feature, module symbols will always be added to the kernel symbol
Eric Andersen889dd202003-01-23 04:48:34 +000037 table for properly debugging support. If you are not interested in
38 Oops messages from kernel modules, say N.
39
Eric Andersenc9f20d92002-12-05 08:41:41 +000040config CONFIG_FEATURE_INSMOD_LOADINKMEM
41 bool " In kernel memory optimization (uClinux only)"
42 default n
Eric Andersencb3b9b12004-06-22 11:50:52 +000043 depends on CONFIG_INSMOD && CONFIG_FEATURE_2_4_MODULES
Eric Andersenc9f20d92002-12-05 08:41:41 +000044 help
Eric Andersenb24da332003-07-22 10:16:58 +000045 This is a special uClinux only memory optimization that lets insmod
46 load the specified kernel module directly into kernel space, reducing
47 memory usage by preventing the need for two copies of the module
48 being loaded into memory.
Eric Andersenc9f20d92002-12-05 08:41:41 +000049
Eric Andersenbe65c352003-01-23 04:57:35 +000050config CONFIG_FEATURE_INSMOD_LOAD_MAP
Eric Andersenc7bda1c2004-03-15 08:29:22 +000051 bool " Enable load map (-m) option"
Eric Andersenbe65c352003-01-23 04:57:35 +000052 default n
Eric Andersencb3b9b12004-06-22 11:50:52 +000053 depends on CONFIG_INSMOD && CONFIG_FEATURE_2_4_MODULES
Eric Andersenbe65c352003-01-23 04:57:35 +000054 help
55 Enabling this, one would be able to get a load map
56 output on stdout. This makes kernel module debugging
57 easier.
58 If you don't plan to debug kernel modules, you
59 don't need this option.
60
61config CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
62 bool " Symbols in load map"
63 default y
64 depends on CONFIG_FEATURE_INSMOD_LOAD_MAP
65 help
66 Without this option, -m will only output section
Eric Andersenc7bda1c2004-03-15 08:29:22 +000067 load map. With this option, -m will also output
Eric Andersene7047882003-12-11 01:42:13 +000068 symbols load map.
Eric Andersenbe65c352003-01-23 04:57:35 +000069
Eric Andersenc9f20d92002-12-05 08:41:41 +000070config CONFIG_LSMOD
71 bool "lsmod"
72 default n
73 help
Eric Andersen65e20a32003-07-05 07:52:35 +000074 lsmod is used to display a list of loaded modules.
Eric Andersenc9f20d92002-12-05 08:41:41 +000075
Rob Landley15d3f7f2005-05-04 00:25:49 +000076config CONFIG_FEATURE_2_6_MODULES
77 bool " Support version 2.6.x Linux kernels"
78 default n
79 depends on CONFIG_INSMOD || CONFIG_LSMOD
80 help
81 Support module loading for newer 2.6.x Linux kernels.
82
Eric Andersenc9f20d92002-12-05 08:41:41 +000083config CONFIG_FEATURE_QUERY_MODULE_INTERFACE
Eric Andersen65659be2004-07-20 06:09:14 +000084 bool
85 default y
Eric Andersene8521f12004-07-13 00:09:34 +000086 depends on CONFIG_FEATURE_2_4_MODULES && !CONFIG_FEATURE_2_6_MODULES
Eric Andersenc9f20d92002-12-05 08:41:41 +000087
88config CONFIG_MODPROBE
89 bool "modprobe"
90 default n
91 help
Eric Andersenc7bda1c2004-03-15 08:29:22 +000092 Handle the loading of modules, and their dependancies on a high
Eric Andersene5642112003-07-14 19:37:08 +000093 level.
Eric Andersenc9f20d92002-12-05 08:41:41 +000094
95config CONFIG_RMMOD
96 bool "rmmod"
97 default n
98 help
Eric Andersen65e20a32003-07-05 07:52:35 +000099 rmmod is used to unload specified modules from the kernel.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000100
101config CONFIG_FEATURE_CHECK_TAINTED_MODULE
102 bool "Support tainted module checking with new kernels"
103 default y
104 depends on CONFIG_INSMOD || CONFIG_LSMOD
105 help
Eric Andersen9c3c38d2003-07-22 09:59:34 +0000106 Support checking for tainted modules. These are usually binary
107 only modules that will make the linux-kernel list ignore your
108 support request.
Glenn L McGrath759d7ec2003-09-03 00:42:58 +0000109 This option is required to support GPLONLY modules.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000110
111
112endmenu
113