diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-12-11 01:42:13 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-12-11 01:42:13 +0000 |
commit | e7047887b040da7035f11d0fe48d76bd67381c9c (patch) | |
tree | 4fc4c04847936656adf9d1d3aef35edd1ac5ffe7 /modutils/Config.in | |
parent | 37f4116ecb03fcf5de2bc8aab8d480b9b063bab5 (diff) | |
download | busybox-w32-e7047887b040da7035f11d0fe48d76bd67381c9c.tar.gz busybox-w32-e7047887b040da7035f11d0fe48d76bd67381c9c.tar.bz2 busybox-w32-e7047887b040da7035f11d0fe48d76bd67381c9c.zip |
Update modutils with 2.6 module support
Diffstat (limited to 'modutils/Config.in')
-rw-r--r-- | modutils/Config.in | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/modutils/Config.in b/modutils/Config.in index 96040cd69..d9f76d1b4 100644 --- a/modutils/Config.in +++ b/modutils/Config.in | |||
@@ -11,32 +11,31 @@ config CONFIG_INSMOD | |||
11 | help | 11 | help |
12 | insmod is used to load specified modules in the running kernel. | 12 | insmod is used to load specified modules in the running kernel. |
13 | 13 | ||
14 | config CONFIG_FEATURE_OLD_MODULE_INTERFACE | 14 | config CONFIG_FEATURE_2_2_MODULES |
15 | bool " Support older (pre 2.1) Linux kernels" | 15 | bool " Support older (pre 2.1) Linux kernels" |
16 | default n | 16 | default n |
17 | depends on CONFIG_INSMOD | 17 | depends on CONFIG_INSMOD |
18 | help | 18 | help |
19 | Provide insmod support for older (pre 2.1) Linux kernels. | 19 | Provide insmod support for older (pre 2.1) Linux kernels. |
20 | 20 | ||
21 | if CONFIG_INSMOD && !CONFIG_FEATURE_OLD_MODULE_INTERFACE | 21 | config CONFIG_FEATURE_2_4_MODULES |
22 | config CONFIG_FEATURE_NEW_MODULE_INTERFACE | 22 | bool " Support version 2.1.x to 2.4.x Linux kernels" |
23 | default y | ||
24 | comment " Support new (post 2.1) Linux kernels (Forced enabled)" | ||
25 | endif | ||
26 | |||
27 | if CONFIG_FEATURE_OLD_MODULE_INTERFACE | ||
28 | config CONFIG_FEATURE_NEW_MODULE_INTERFACE | ||
29 | bool " Support new (post 2.1) Linux kernels" | ||
30 | default y | 23 | default y |
31 | depends on CONFIG_INSMOD | 24 | depends on CONFIG_INSMOD |
32 | help | 25 | help |
33 | Support module loading for newer (post 2.1) Linux kernels. | 26 | Support module loading for newer (post 2.1) Linux kernels. |
34 | endif | 27 | |
28 | config 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. | ||
35 | 34 | ||
36 | config CONFIG_FEATURE_INSMOD_VERSION_CHECKING | 35 | config CONFIG_FEATURE_INSMOD_VERSION_CHECKING |
37 | bool " Module version checking" | 36 | bool " Module version checking" |
38 | default n | 37 | default n |
39 | depends on CONFIG_INSMOD | 38 | depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES ) |
40 | help | 39 | help |
41 | Support checking of versions for modules. This is used to | 40 | Support checking of versions for modules. This is used to |
42 | ensure that the kernel and module are made for each other. | 41 | ensure that the kernel and module are made for each other. |
@@ -44,7 +43,7 @@ config CONFIG_FEATURE_INSMOD_VERSION_CHECKING | |||
44 | config CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS | 43 | config CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS |
45 | bool " Add module symbols to kernel symbol table" | 44 | bool " Add module symbols to kernel symbol table" |
46 | default n | 45 | default n |
47 | depends on CONFIG_INSMOD | 46 | depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES ) |
48 | help | 47 | help |
49 | By adding module symbols to the kernel symbol table, Oops messages | 48 | By adding module symbols to the kernel symbol table, Oops messages |
50 | occuring within kernel modules can be properly debugged. By enabling | 49 | occuring within kernel modules can be properly debugged. By enabling |
@@ -55,7 +54,7 @@ config CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS | |||
55 | config CONFIG_FEATURE_INSMOD_LOADINKMEM | 54 | config CONFIG_FEATURE_INSMOD_LOADINKMEM |
56 | bool " In kernel memory optimization (uClinux only)" | 55 | bool " In kernel memory optimization (uClinux only)" |
57 | default n | 56 | default n |
58 | depends on CONFIG_INSMOD | 57 | depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES ) |
59 | help | 58 | help |
60 | This is a special uClinux only memory optimization that lets insmod | 59 | This is a special uClinux only memory optimization that lets insmod |
61 | load the specified kernel module directly into kernel space, reducing | 60 | load the specified kernel module directly into kernel space, reducing |
@@ -65,7 +64,7 @@ config CONFIG_FEATURE_INSMOD_LOADINKMEM | |||
65 | config CONFIG_FEATURE_INSMOD_LOAD_MAP | 64 | config CONFIG_FEATURE_INSMOD_LOAD_MAP |
66 | bool " Enable load map (-m) option" | 65 | bool " Enable load map (-m) option" |
67 | default n | 66 | default n |
68 | depends on CONFIG_INSMOD | 67 | depends on CONFIG_INSMOD && ( CONFIG_FEATURE_2_2_MODULES || CONFIG_FEATURE_2_4_MODULES ) |
69 | help | 68 | help |
70 | Enabling this, one would be able to get a load map | 69 | Enabling this, one would be able to get a load map |
71 | output on stdout. This makes kernel module debugging | 70 | output on stdout. This makes kernel module debugging |
@@ -79,9 +78,8 @@ config CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL | |||
79 | depends on CONFIG_FEATURE_INSMOD_LOAD_MAP | 78 | depends on CONFIG_FEATURE_INSMOD_LOAD_MAP |
80 | help | 79 | help |
81 | Without this option, -m will only output section | 80 | Without this option, -m will only output section |
82 | load map. | 81 | load map. With this option, -m will also output |
83 | With this option, -m will also output symbols | 82 | symbols load map. |
84 | load map. | ||
85 | 83 | ||
86 | config CONFIG_LSMOD | 84 | config CONFIG_LSMOD |
87 | bool "lsmod" | 85 | bool "lsmod" |
@@ -92,7 +90,7 @@ config CONFIG_LSMOD | |||
92 | config CONFIG_FEATURE_QUERY_MODULE_INTERFACE | 90 | config CONFIG_FEATURE_QUERY_MODULE_INTERFACE |
93 | bool " Support lsmod query_module interface (add 638 bytes)" | 91 | bool " Support lsmod query_module interface (add 638 bytes)" |
94 | default y | 92 | default y |
95 | depends on CONFIG_LSMOD && CONFIG_FEATURE_NEW_MODULE_INTERFACE | 93 | depends on CONFIG_LSMOD && ( CONFIG_FEATURE_2_4_MODULES || CONFIG_FEATURE_2_6_MODULES ) |
96 | help | 94 | help |
97 | This will provide some extra information about each module when | 95 | This will provide some extra information about each module when |
98 | running lsmod. The fields provided are address, size, flags and | 96 | running lsmod. The fields provided are address, size, flags and |