2007-12-04 12:46:16

by Clemens Koller

[permalink] [raw]
Subject: [PATCH] Allow to disable CONFIG_SCSI_WAIT_SCAN=m in menuconfig.

Allow to disable to build the scsi_wait_scan.ko module if not needed.

Signed-off-by: Clemens Koller <[email protected]>

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index a6676be..1dc452d 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -248,10 +248,19 @@ config SCSI_SCAN_ASYNC
or async on the kernel's command line.

config SCSI_WAIT_SCAN
- tristate
+ tristate "create module which waits for SCSI scanning to finish"
default m
depends on SCSI
depends on MODULES
+ help
+ When this module is loaded, it will do nothing else than wait for
+ SCSI low-level drivers to finish asynchronous scanning for devices.
+ This module will be called scsi_wait_scan.
+
+ It's default and safe to create this module even if it's not used
+ in your distro's init scripts. You can override this if you are
+ really sure you don't need or want it. It does not make sense to
+ compile this into the kernel with Y.

menu "SCSI Transports"
depends on SCSI


Attachments:
allow-disabling-of-scsi_wait_scan-module.patch (0.98 kB)