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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux