Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934437AbXEMQVf (ORCPT ); Sun, 13 May 2007 12:21:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759468AbXEMQVS (ORCPT ); Sun, 13 May 2007 12:21:18 -0400 Received: from nic.NetDirect.CA ([216.16.235.2]:47491 "EHLO rubicon.netdirect.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759423AbXEMQVQ (ORCPT ); Sun, 13 May 2007 12:21:16 -0400 X-Originating-Ip: 72.143.66.196 Date: Sun, 13 May 2007 12:20:43 -0400 (EDT) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost.localdomain To: James Bottomley cc: Dave Jones , Linux Kernel Mailing List , linux-scsi@vger.kernel.org Subject: Re: why does x86 "make defconfig" build a single, lonely module? In-Reply-To: <1179072655.3723.42.camel@mulgrave.il.steeleye.com> Message-ID: References: <20070513160608.GA29024@redhat.com> <1179072655.3723.42.camel@mulgrave.il.steeleye.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Net-Direct-Inc-MailScanner-Information: Please contact the ISP for more information X-Net-Direct-Inc-MailScanner: Found to be clean X-Net-Direct-Inc-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-16.8, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -15.00, INIT_RECVD_OUR_AUTH -20.00, RCVD_IN_SORBS_DUL 20.00) X-Net-Direct-Inc-MailScanner-From: rpjday@mindspring.com Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2534 Lines: 70 On Sun, 13 May 2007, James Bottomley wrote: > On Sun, 2007-05-13 at 12:06 -0400, Dave Jones wrote: > > 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 > > > > 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 > > No. SCSI_SCAN_ASYNC is a bool ... if you depend on it, you'll force > the wait scan to be built in, which isn't the idea at all. since this thread looks like it's going to get away from me in a hurry :-), my only point in asking was to point out that that lone module was the only thing preventing the build from being module-free. i'm not saying that that's *necessarily* a good thing, but it just strikes me as odd that, out of all of the possible modules that might be selected in a default config for x86, this was the *only* one that was picked. i just think it's a bit weird, that's all. rday p.s. it's mostly a case of -- whenever i notice something being done only *once* in the entire source tree, i'm always a bit leery. -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main_Page ======================================================================== - 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/