[PATCH] scsi_wait_scan: no option appears when configuring for scsi_wait_scan.

From: Changli Gao
Date: Tue Jun 16 2009 - 22:08:03 EST


FIXBUG: missing comment after tristate leads to no option for
scsci_wait_scan when configuring.

When build kernel, this module is always built if I choose SCSI, and I
can't find any option in the configuration menu, so I can't disable it
or build it into kernel statically. After diving into the kernel source
code, I found no comment after keyword tristate, then I added the
comment and help.

Signed-off-by: Changli Gao <xiaosuo@xxxxxxxxx <mailto:xiaosuo@xxxxxxxxx>>
----

Kconfig | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

--- drivers/scsi/Kconfig.orig 2009-06-17 09:52:46.000000000 +0800
+++ drivers/scsi/Kconfig 2009-06-17 09:55:57.000000000 +0800
@@ -259,10 +259,15 @@
or async on the kernel's command line.

config SCSI_WAIT_SCAN
- tristate
+ tristate "Wait until all the async scans are complete"
default m
depends on SCSI
depends on MODULES
+ help
+ Wait until all the async scans are complete. The idea is to use it in
+ initrd/initramfs scripts. You modprobe it after all the modprobes of
+ the root SCSI drivers and it will wait until they have all finished
+ scanning their busses before allowing the boot to proceed

menu "SCSI Transports"
depends on SCSI

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/