[PATCH] Allow to disable CONFIG_SCSI_WAIT_SCAN=m in menuconfig.

From: Clemens Koller
Date: Tue Dec 04 2007 - 07:46:18 EST


Hi there!

This was already discussed in May: http://lkml.org/lkml/2007/5/13/75
without any valuable results.

I don't want to have the scsi_wait_scan.ko around but still need
SCSI for usb disks and module support for driver development.
Otherwise, I am working with a monolithic kernel on embedded machines.

The attached patch is another try to at least allow to get
rid of this module.

Feedback is welcome.

Regards,
--
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Straße 45/1
Linhof Werksgelände
D-81379 München
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com
Allow to disable to build the scsi_wait_scan.ko module if not needed.

Signed-off-by: Clemens Koller <clemens.koller@xxxxxxxxxxx>

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