diff options
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/Config.src | 150 | ||||
-rw-r--r-- | modutils/depmod.c | 6 | ||||
-rw-r--r-- | modutils/insmod.c | 2 | ||||
-rw-r--r-- | modutils/lsmod.c | 8 | ||||
-rw-r--r-- | modutils/modinfo.c | 2 | ||||
-rw-r--r-- | modutils/modprobe.c | 14 | ||||
-rw-r--r-- | modutils/rmmod.c | 2 |
7 files changed, 92 insertions, 92 deletions
diff --git a/modutils/Config.src b/modutils/Config.src index 9b76c83d2..e413702bb 100644 --- a/modutils/Config.src +++ b/modutils/Config.src @@ -9,29 +9,29 @@ config MODPROBE_SMALL bool "Simplified modutils" default y help - Build smaller (~1.5 kbytes), simplified module tools. + Build smaller (~1.5 kbytes), simplified module tools. - This option by itself does not enable any applets - - you need to select applets individually below. + This option by itself does not enable any applets - + you need to select applets individually below. - With this option modprobe does not require modules.dep file - and does not use /etc/modules.conf file. - It scans module files in /lib/modules/`uname -r` and - determines dependencies and module alias names on the fly. - This may make module loading slower, most notably - when one needs to load module by alias (this requires - scanning through module _bodies_). + With this option modprobe does not require modules.dep file + and does not use /etc/modules.conf file. + It scans module files in /lib/modules/`uname -r` and + determines dependencies and module alias names on the fly. + This may make module loading slower, most notably + when one needs to load module by alias (this requires + scanning through module _bodies_). - At the first attempt to load a module by alias modprobe - will try to generate modules.dep.bb file in order to speed up - future loads by alias. Failure to do so (read-only /lib/modules, - etc) is not reported, and future modprobes will be slow too. + At the first attempt to load a module by alias modprobe + will try to generate modules.dep.bb file in order to speed up + future loads by alias. Failure to do so (read-only /lib/modules, + etc) is not reported, and future modprobes will be slow too. - NB: modules.dep.bb file format is not compatible - with modules.dep file as created/used by standard module tools. + NB: modules.dep.bb file format is not compatible + with modules.dep file as created/used by standard module tools. - Additional module parameters can be stored in - /etc/modules/$module_name files. + Additional module parameters can be stored in + /etc/modules/$module_name files. INSERT @@ -42,145 +42,145 @@ config FEATURE_CMDLINE_MODULE_OPTIONS default y depends on INSMOD || MODPROBE help - Allow insmod and modprobe take module options from the applets' - command line. + Allow insmod and modprobe take module options from the applets' + command line. config FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED bool "Skip loading of already loaded modules" default y depends on MODPROBE_SMALL && (DEPMOD || INSMOD || MODPROBE) help - Check if the module is already loaded. + Check if the module is already loaded. config FEATURE_2_4_MODULES bool "Support version 2.2/2.4 Linux kernels" default n depends on (INSMOD || LSMOD || MODPROBE || RMMOD) && !MODPROBE_SMALL help - Support module loading for 2.2.x and 2.4.x Linux kernels. - This increases size considerably. Say N unless you plan - to run ancient kernels. + Support module loading for 2.2.x and 2.4.x Linux kernels. + This increases size considerably. Say N unless you plan + to run ancient kernels. config FEATURE_INSMOD_VERSION_CHECKING bool "Enable module version checking" default n depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) help - Support checking of versions for modules. This is used to - ensure that the kernel and module are made for each other. + Support checking of versions for modules. This is used to + ensure that the kernel and module are made for each other. config FEATURE_INSMOD_KSYMOOPS_SYMBOLS bool "Add module symbols to kernel symbol table" default n depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) help - By adding module symbols to the kernel symbol table, Oops messages - occurring within kernel modules can be properly debugged. By enabling - this feature, module symbols will always be added to the kernel symbol - table for proper debugging support. If you are not interested in - Oops messages from kernel modules, say N. + By adding module symbols to the kernel symbol table, Oops messages + occurring within kernel modules can be properly debugged. By enabling + this feature, module symbols will always be added to the kernel symbol + table for proper debugging support. If you are not interested in + Oops messages from kernel modules, say N. config FEATURE_INSMOD_LOADINKMEM bool "In kernel memory optimization (uClinux only)" default n depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) help - This is a special uClinux only memory optimization that lets insmod - load the specified kernel module directly into kernel space, reducing - memory usage by preventing the need for two copies of the module - being loaded into memory. + This is a special uClinux only memory optimization that lets insmod + load the specified kernel module directly into kernel space, reducing + memory usage by preventing the need for two copies of the module + being loaded into memory. config FEATURE_INSMOD_LOAD_MAP bool "Enable insmod load map (-m) option" default n depends on FEATURE_2_4_MODULES && INSMOD help - Enabling this, one would be able to get a load map - output on stdout. This makes kernel module debugging - easier. - If you don't plan to debug kernel modules, you - don't need this option. + Enabling this, one would be able to get a load map + output on stdout. This makes kernel module debugging + easier. + If you don't plan to debug kernel modules, you + don't need this option. config FEATURE_INSMOD_LOAD_MAP_FULL bool "Symbols in load map" default y depends on FEATURE_INSMOD_LOAD_MAP help - Without this option, -m will only output section - load map. With this option, -m will also output - symbols load map. + Without this option, -m will only output section + load map. With this option, -m will also output + symbols load map. config FEATURE_CHECK_TAINTED_MODULE bool "Support tainted module checking with new kernels" default y depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL help - Support checking for tainted modules. These are usually binary - only modules that will make the linux-kernel list ignore your - support request. - This option is required to support GPLONLY modules. + Support checking for tainted modules. These are usually binary + only modules that will make the linux-kernel list ignore your + support request. + This option is required to support GPLONLY modules. config FEATURE_INSMOD_TRY_MMAP bool "Try to load module from a mmap'ed area" default n depends on (INSMOD || MODPROBE) && !MODPROBE_SMALL help - This option causes module loading code to try to mmap - module first. If it does not work (for example, - it does not work for compressed modules), module will be read - (and unpacked if needed) into a memory block allocated by malloc. + This option causes module loading code to try to mmap + module first. If it does not work (for example, + it does not work for compressed modules), module will be read + (and unpacked if needed) into a memory block allocated by malloc. - The only case when mmap works but malloc does not is when - you are trying to load a big module on a very memory-constrained - machine. Malloc will momentarily need 2x as much memory as mmap. + The only case when mmap works but malloc does not is when + you are trying to load a big module on a very memory-constrained + machine. Malloc will momentarily need 2x as much memory as mmap. - Choosing N saves about 250 bytes of code (on 32-bit x86). + Choosing N saves about 250 bytes of code (on 32-bit x86). config FEATURE_MODUTILS_ALIAS bool "Support module.aliases file" default y depends on (DEPMOD || MODPROBE) && !MODPROBE_SMALL help - Generate and parse modules.alias containing aliases for bus - identifiers: - alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs + Generate and parse modules.alias containing aliases for bus + identifiers: + alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs - and aliases for logical modules names e.g.: - alias padlock_aes aes - alias aes_i586 aes - alias aes_generic aes + and aliases for logical modules names e.g.: + alias padlock_aes aes + alias aes_i586 aes + alias aes_generic aes - Say Y if unsure. + Say Y if unsure. config FEATURE_MODUTILS_SYMBOLS bool "Support module.symbols file" default y depends on (DEPMOD || MODPROBE) && !MODPROBE_SMALL help - Generate and parse modules.symbols containing aliases for - symbol_request() kernel calls, such as: - alias symbol:usb_sg_init usbcore + Generate and parse modules.symbols containing aliases for + symbol_request() kernel calls, such as: + alias symbol:usb_sg_init usbcore - Say Y if unsure. + Say Y if unsure. config DEFAULT_MODULES_DIR string "Default directory containing modules" default "/lib/modules" depends on DEPMOD || MODPROBE || MODINFO help - Directory that contains kernel modules. - Defaults to "/lib/modules" + Directory that contains kernel modules. + Defaults to "/lib/modules" config DEFAULT_DEPMOD_FILE string "Default name of modules.dep" default "modules.dep" depends on DEPMOD || MODPROBE || MODINFO help - Filename that contains kernel modules dependencies. - Defaults to "modules.dep". - If you configured the "simplified modutils" (MODPROBE_SMALL), a - ".bb" suffix will be added after this name. Do not specify ".bb" - here unless you intend your depmod or modprobe to work on - "modules.dep.bb.bb" or such. + Filename that contains kernel modules dependencies. + Defaults to "modules.dep". + If you configured the "simplified modutils" (MODPROBE_SMALL), a + ".bb" suffix will be added after this name. Do not specify ".bb" + here unless you intend your depmod or modprobe to work on + "modules.dep.bb.bb" or such. endmenu diff --git a/modutils/depmod.c b/modutils/depmod.c index f6e889d8f..004c67a11 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c @@ -12,9 +12,9 @@ //config: default y //config: select PLATFORM_LINUX //config: help -//config: depmod generates modules.dep (and potentially modules.alias -//config: and modules.symbols) that contain dependency information -//config: for modprobe. +//config: depmod generates modules.dep (and potentially modules.alias +//config: and modules.symbols) that contain dependency information +//config: for modprobe. //applet:IF_DEPMOD(IF_NOT_MODPROBE_SMALL(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP))) diff --git a/modutils/insmod.c b/modutils/insmod.c index 6f448f34d..b8ede8a81 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -11,7 +11,7 @@ //config: default y //config: select PLATFORM_LINUX //config: help -//config: insmod is used to load specified modules in the running kernel. +//config: insmod is used to load specified modules in the running kernel. //applet:IF_INSMOD(IF_NOT_MODPROBE_SMALL(APPLET(insmod, BB_DIR_SBIN, BB_SUID_DROP))) diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 9fe0eff22..4bf8f8481 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c @@ -12,16 +12,16 @@ //config: default y //config: select PLATFORM_LINUX //config: help -//config: lsmod is used to display a list of loaded modules. +//config: lsmod is used to display a list of loaded modules. //config: //config:config FEATURE_LSMOD_PRETTY_2_6_OUTPUT //config: bool "Pretty output" //config: default y //config: depends on LSMOD && !MODPROBE_SMALL //config: help -//config: This option makes output format of lsmod adjusted to -//config: the format of module-init-tools for Linux kernel 2.6. -//config: Increases size somewhat. +//config: This option makes output format of lsmod adjusted to +//config: the format of module-init-tools for Linux kernel 2.6. +//config: Increases size somewhat. //applet:IF_LSMOD(IF_NOT_MODPROBE_SMALL(APPLET(lsmod, BB_DIR_SBIN, BB_SUID_DROP))) diff --git a/modutils/modinfo.c b/modutils/modinfo.c index 6eae1b7b1..371c93991 100644 --- a/modutils/modinfo.c +++ b/modutils/modinfo.c @@ -10,7 +10,7 @@ //config: default y //config: select PLATFORM_LINUX //config: help -//config: Show information about a Linux Kernel module +//config: Show information about a Linux Kernel module //applet:IF_MODINFO(APPLET(modinfo, BB_DIR_SBIN, BB_SUID_DROP)) diff --git a/modutils/modprobe.c b/modutils/modprobe.c index 6bcfb9bcd..1a7db09f2 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c @@ -12,19 +12,19 @@ //config: default y //config: select PLATFORM_LINUX //config: help -//config: Handle the loading of modules, and their dependencies on a high -//config: level. +//config: Handle the loading of modules, and their dependencies on a high +//config: level. //config: //config:config FEATURE_MODPROBE_BLACKLIST //config: bool "Blacklist support" //config: default y //config: depends on MODPROBE && !MODPROBE_SMALL //config: help -//config: Say 'y' here to enable support for the 'blacklist' command in -//config: modprobe.conf. This prevents the alias resolver to resolve -//config: blacklisted modules. This is useful if you want to prevent your -//config: hardware autodetection scripts to load modules like evdev, frame -//config: buffer drivers etc. +//config: Say 'y' here to enable support for the 'blacklist' command in +//config: modprobe.conf. This prevents the alias resolver to resolve +//config: blacklisted modules. This is useful if you want to prevent your +//config: hardware autodetection scripts to load modules like evdev, frame +//config: buffer drivers etc. //applet:IF_MODPROBE(IF_NOT_MODPROBE_SMALL(APPLET(modprobe, BB_DIR_SBIN, BB_SUID_DROP))) diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 1e87abf3a..d60e49413 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c @@ -12,7 +12,7 @@ //config: default y //config: select PLATFORM_LINUX //config: help -//config: rmmod is used to unload specified modules from the kernel. +//config: rmmod is used to unload specified modules from the kernel. //applet:IF_RMMOD(IF_NOT_MODPROBE_SMALL(APPLET(rmmod, BB_DIR_SBIN, BB_SUID_DROP))) |