From: Matthew Wilcox <willy@debian.org>
To: Olaf Hering <olh@suse.de>
Cc: Matthew Wilcox <willy@debian.org>,
"Randy.Dunlap" <rddunlap@xenotime.net>,
linux-scsi@vger.kernel.org, jejb <james.bottomley@steeleye.com>,
gibbs@scsiguy.com
Subject: Re: 2.6.3 CONFIG_SCSI_AIC7 X X X Kconfig bug
Date: Thu, 11 Mar 2004 13:32:23 +0000 [thread overview]
Message-ID: <20040311133223.GI2148@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <20040311131811.GA21286@suse.de>
On Thu, Mar 11, 2004 at 02:18:11PM +0100, Olaf Hering wrote:
> On Thu, Mar 11, Matthew Wilcox wrote:
> > On Thu, Mar 11, 2004 at 01:53:33PM +0100, Olaf Hering wrote:
> > > On Thu, Mar 11, Matthew Wilcox wrote:
> > > > config SCSI_SATA
> > > > bool "Serial ATA (SATA) support"
> > > > - depends on SCSI && EXPERIMENTAL
> > > > + depends on EXPERIMENTAL
> > > > config SCSI_SATA_SVW
> > > > tristate "ServerWorks Frodo / Apple K2 SATA support (EXPERIMENTAL)"
> > > > - depends on SCSI_SATA && PCI && EXPERIMENTAL
> > > > + depends on SCSI_SATA && PCI && (X86 || PPC) && EXPERIMENTAL
> > >
> > > how do you handle the SCSI=m here? sata remains =y. I havent tried to
> > > load scsi_mod and sd_mod, is SCSI=m supposed to work for SATA?
> >
> > Putting the 'depends on SCSI' attribute on the menu means it applies to
> > every item in the menu. So if SCSI=m, SCSI_SATA would also be constrained
> > to 'm' or 'n'.
>
> even with 'bool' instead ot 'tristate'?
Oh, good point. Actually, I think this patch fixes a bug in the current
Kconfiggery. Right now (and I just confirmed this):
SCSI=m
SCSI_SATA=y
SCSI_SATA_SVW can be Y/N/M
With my patch, SCSI_SATA_SVW inherits a dependency on SCSI as well as
SCSI_SATA and is thus constrained to be M/N (which would be correct).
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
next prev parent reply other threads:[~2004-03-11 13:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-09 5:11 2.6.3 CONFIG_SCSI_AIC7 X X X Kconfig bug Randy.Dunlap
2004-03-11 12:46 ` Matthew Wilcox
2004-03-11 12:53 ` Olaf Hering
2004-03-11 13:10 ` Matthew Wilcox
2004-03-11 13:18 ` Olaf Hering
2004-03-11 13:32 ` Matthew Wilcox [this message]
2004-03-11 15:42 ` rddunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040311133223.GI2148@parcelfarce.linux.theplanet.co.uk \
--to=willy@debian.org \
--cc=gibbs@scsiguy.com \
--cc=james.bottomley@steeleye.com \
--cc=linux-scsi@vger.kernel.org \
--cc=olh@suse.de \
--cc=rddunlap@xenotime.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox