public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] unnecessary SCSI module
@ 2009-03-09 19:06 Ingo Brueckl
  2009-03-09 21:10 ` James Bottomley
  0 siblings, 1 reply; 5+ messages in thread
From: Ingo Brueckl @ 2009-03-09 19:06 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-kernel, linux-scsi

When configuring MODULES with the kernel to be able to load external drivers
coming as modules, but not using anything as module in the kernel itself, one
would expect to end up in a module-free kernel. Currently, you don't if you
use SCSI. You'll get one unnecessary module.

Please consider the attached patch.

Signed-off-by: Ingo Brueckl <ib@wupperonline.de>

--- linux-2.6.28/drivers/scsi/Kconfig.orig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28/drivers/scsi/Kconfig	2009-03-06 22:49:40.000000000 +0100
@@ -259,7 +259,7 @@ config SCSI_SCAN_ASYNC
 config SCSI_WAIT_SCAN
 	tristate
 	default m
-	depends on SCSI
+	depends on SCSI = m || SCSI_SCAN_ASYNC = y
 	depends on MODULES

 menu "SCSI Transports"

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-10 17:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 19:06 [PATCH] unnecessary SCSI module Ingo Brueckl
2009-03-09 21:10 ` James Bottomley
2009-03-10  7:00   ` Ingo Brueckl
2009-03-10 14:46     ` James Bottomley
2009-03-10 17:24   ` Stefan Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox