aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorKang-Che Sung <explorer09@gmail.com>2017-01-31 21:09:17 +0800
committerDenys Vlasenko <vda.linux@googlemail.com>2017-02-01 10:14:05 +0100
commitb1d6a2c6247bae0b9f1903ba0e0d16c56f4ef556 (patch)
treeafc10aba770e711341483ef13b95ab3ac4916f9b /modutils/insmod.c
parent264cb01540cdd995e7c376fd8bcef94e09e31819 (diff)
downloadbusybox-w32-b1d6a2c6247bae0b9f1903ba0e0d16c56f4ef556.tar.gz
busybox-w32-b1d6a2c6247bae0b9f1903ba0e0d16c56f4ef556.tar.bz2
busybox-w32-b1d6a2c6247bae0b9f1903ba0e0d16c56f4ef556.zip
cmdline module options can be disabled on "big" modutils
Allow module options on command line to be disabled on "big" modutils. Config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE is renamed to FEATURE_CMDLINE_MODULE_OPTIONS and no longer depends on !MODPROBE_SMALL (I'm not sure if disabling this is useful on "big" modutils, but at least the macro can serve as a marker and ensure both implementations of same feature have consistent behavior.) Signed-off-by: Kang-Che Sung <explorer09@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index f2c70e16f..8526979eb 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -27,9 +27,9 @@
27 27
28//usage:#if !ENABLE_MODPROBE_SMALL 28//usage:#if !ENABLE_MODPROBE_SMALL
29//usage:#define insmod_trivial_usage 29//usage:#define insmod_trivial_usage
30//usage: IF_FEATURE_2_4_MODULES("[OPTIONS] MODULE ") 30//usage: IF_FEATURE_2_4_MODULES("[OPTIONS] MODULE")
31//usage: IF_NOT_FEATURE_2_4_MODULES("FILE ") 31//usage: IF_NOT_FEATURE_2_4_MODULES("FILE")
32//usage: "[SYMBOL=VALUE]..." 32//usage: IF_FEATURE_CMDLINE_MODULE_OPTIONS(" [SYMBOL=VALUE]...")
33//usage:#define insmod_full_usage "\n\n" 33//usage:#define insmod_full_usage "\n\n"
34//usage: "Load kernel module" 34//usage: "Load kernel module"
35//usage: IF_FEATURE_2_4_MODULES( "\n" 35//usage: IF_FEATURE_2_4_MODULES( "\n"