Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757979AbXEOV5C (ORCPT ); Tue, 15 May 2007 17:57:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755218AbXEOV4w (ORCPT ); Tue, 15 May 2007 17:56:52 -0400 Received: from einhorn.in-berlin.de ([192.109.42.8]:47744 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755023AbXEOV4v (ORCPT ); Tue, 15 May 2007 17:56:51 -0400 X-Envelope-From: stefanr@s5r6.in-berlin.de Date: Tue, 15 May 2007 23:56:32 +0200 (CEST) From: Stefan Richter Subject: [PATCH] SCSI: Let users disable SCSI_WAIT_SCAN to be built To: linux-scsi@vger.kernel.org cc: Simon Arlott , James Bottomley , Dave Jones , Linux Kernel Mailing List , kernel-packagers@vger.kernel.org, Matthew Wilcox In-Reply-To: <20070515172905.GJ10562@parisc-linux.org> Message-ID: References: <1179073116.3723.45.camel@mulgrave.il.steeleye.com> <1179153096.3703.23.camel@mulgrave.il.steeleye.com> <17841.simon.1179228389@5ec7c279.invalid> <20070515120228.GI10562@parisc-linux.org> <4649E03A.1090004@simon.arlott.org.uk> <20070515172905.GJ10562@parisc-linux.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-Disposition: INLINE Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1403 Lines: 45 Signed-off-by: Stefan Richter --- drivers/scsi/Kconfig | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) Index: linux-2.6.22-rc1/drivers/scsi/Kconfig =================================================================== --- linux-2.6.22-rc1.orig/drivers/scsi/Kconfig +++ linux-2.6.22-rc1/drivers/scsi/Kconfig @@ -241,11 +241,19 @@ config SCSI_SCAN_ASYNC You can override this choice by specifying "scsi_mod.scan=sync" or async on the kernel's command line. -config SCSI_WAIT_SCAN +config SCSI_WAIT_SCAN_NO_Y tristate default m - depends on SCSI - depends on MODULES + +config SCSI_WAIT_SCAN + tristate "Pseudo driver which waits for SCSI scanning to finish" + depends on MODULES && SCSI && SCSI_WAIT_SCAN_NO_Y + help + When loaded, this module will do nothing else than wait for + SCSI low-level drivers to finish asynchronous scanning. + The module will be called scsi_wait_scan. + + Most people can say n here. menu "SCSI Transports" depends on SCSI Is there a better way to restrict SCSI_WAIT_SCAN to m and n? -- Stefan Richter -=====-=-=== -=-= -==== http://arcgraph.de/sr/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/