Re: why does x86 "make defconfig" build a single, lonely module?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dave Jones
Date: Sunday, May 13, 2007 - 9:06 am

On Sun, May 13, 2007 at 11:22:55AM -0400, Robert P. J. Day wrote:
 > 
 >   not a big deal, but is there a reason that a "make defconfig" on my
 > x86 system ends up selecting and building a single module?
 > 
 >   Building modules, stage 2.
 >   MODPOST 1 modules
 >   CC      drivers/scsi/scsi_wait_scan.mod.o
 >   LD [M]  drivers/scsi/scsi_wait_scan.ko
 > 
 > is there something special about that module?  just curious.

My guess is that someone was paranoid and wanted not to have
to answer a zillion "my machine won't boot any more" questions
when async scsi scanning was added.
This might further clarify..

---

The scsi_wait_scan module is only really useful if async scanning
is enabled.

Signed-off-by: Dave Jones <davej@redhat.com>

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index e62d23f..0f6c370 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -244,7 +244,7 @@ config SCSI_SCAN_ASYNC
 config SCSI_WAIT_SCAN
 	tristate
 	default m
-	depends on SCSI
+	depends on SCSI_SCAN_ASYNC
 	depends on MODULES
 
 menu "SCSI Transports"



-- 
http://www.codemonkey.org.uk
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: why does x86 "make defconfig" build a single, lonely m ..., Dave Jones, (Sun May 13, 9:06 am)
Asynchronous scsi scanning, Matthew Wilcox, (Tue May 15, 5:02 am)
Re: Asynchronous scsi scanning, Simon Arlott, (Tue May 15, 9:30 am)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Tue May 15, 10:29 am)
[PATCH] SCSI: Let users disable SCSI_WAIT_SCAN to be built, Stefan Richter, (Tue May 15, 2:56 pm)
Re: Asynchronous scsi scanning, Satyam Sharma, (Tue May 15, 4:27 pm)
Re: Asynchronous scsi scanning, Arjan van de Ven, (Tue May 15, 4:28 pm)
Re: Asynchronous scsi scanning, Satyam Sharma, (Tue May 15, 4:49 pm)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Tue May 15, 7:51 pm)
Re: Asynchronous scsi scanning, Roland Dreier, (Tue May 15, 7:59 pm)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 10:13 am)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Thu May 17, 10:20 am)
sysfs makes scaling suck Re: Asynchronous scsi scanning, Benjamin LaHaise, (Thu May 17, 10:32 am)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 10:41 am)
Re: sysfs makes scaling suck Re: Asynchronous scsi scanning, James Bottomley, (Thu May 17, 10:45 am)
Re: sysfs makes scaling suck Re: Asynchronous scsi scanning, Benjamin LaHaise, (Thu May 17, 10:49 am)
Re: Asynchronous scsi scanning, Christoph Hellwig, (Thu May 17, 11:24 am)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 11:47 am)
Re: Asynchronous scsi scanning, Christoph Hellwig, (Thu May 17, 11:51 am)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 12:04 pm)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Thu May 17, 12:39 pm)
Re: Asynchronous scsi scanning, Benjamin LaHaise, (Thu May 17, 12:43 pm)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Thu May 17, 2:30 pm)
Re: Asynchronous scsi scanning, Dave Jones, (Thu May 17, 2:42 pm)
Re: Asynchronous scsi scanning, Peter Jones, (Thu May 17, 3:00 pm)
Re: Asynchronous scsi scanning, Peter Jones, (Thu May 17, 3:24 pm)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 8:41 pm)
Re: Asynchronous scsi scanning, Satyam Sharma, (Thu May 17, 10:28 pm)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Fri May 18, 4:19 am)
Re: Asynchronous scsi scanning, Matthew Wilcox, (Fri May 18, 4:24 am)
Re: Asynchronous scsi scanning, Satyam Sharma, (Fri May 18, 6:06 am)
Re: Asynchronous scsi scanning, Satyam Sharma, (Fri May 18, 6:14 am)
Re: Asynchronous scsi scanning, Stefan Richter, (Fri May 18, 7:00 am)