From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: "Valdis.Kletnieks@vt.edu" <Valdis.Kletnieks@vt.edu>
Cc: "Roman Zippel" <zippel@linux-m68k.org>, linux-kernel@vger.kernel.org
Subject: Re: Fwd: Using select in boolean dependents of a tristate symbol
Date: Wed, 19 Jul 2006 16:50:56 -0400 [thread overview]
Message-ID: <d120d5000607191350u6856b63etba9ffc353632a360@mail.gmail.com> (raw)
In-Reply-To: <200607192041.k6JKfK6u005519@turing-police.cc.vt.edu>
On 7/19/06, Valdis.Kletnieks@vt.edu <Valdis.Kletnieks@vt.edu> wrote:
> On Wed, 19 Jul 2006 16:17:38 EDT, Dmitry Torokhov said:
>
> > Another question for you - what is the best way to describe
> > dependancy of a sub-option on a subsystem so you won't end up with the
> > subsystem as a module and user built in. Something like
> >
> > config IBM_ASM
> > tristate "Device driver for IBM RSA service processor"
> > depends on X86 && PCI && EXPERIMENTAL
> > ...
> > config IBM_ASM_INPUT
> > bool "Support for remote keyboard/mouse"
> > depends on IBM_ASM && (INPUT=y || INPUT=IMB_ASM)
> >
> > But the above feels yucky. Could we have something like:
> >
> > depends on matching(INPUT, IBM_ASM)
>
> What feels yucky is the dependency of a 'bool' on a tristate. Does the
> ASM_INPUT get used in places where the source file can only be a builtin,
> not a module?
>
In this case ASM_INPUT enables an optional part of a bigger module
(IBM_ASM). Sometimes it is done because optional part is too small to
be split into a separately loadable module or because it is difficult
to implement "attaching" of the optional part at the later time if it
is compiled as a module.
--
Dmitry
next prev parent reply other threads:[~2006-07-19 20:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <d120d5000607131232i74dfdb9t1a132dfc5dd32bc4@mail.gmail.com>
2006-07-13 19:35 ` Dmitry Torokhov
2006-07-13 22:58 ` Roman Zippel
2006-07-14 2:31 ` Dmitry Torokhov
2006-07-14 9:20 ` Roman Zippel
2006-07-19 20:17 ` Dmitry Torokhov
2006-07-19 20:41 ` Valdis.Kletnieks
2006-07-19 20:50 ` Dmitry Torokhov [this message]
2006-07-27 0:42 ` Roman Zippel
2006-07-27 1:05 ` Dmitry Torokhov
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=d120d5000607191350u6856b63etba9ffc353632a360@mail.gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=zippel@linux-m68k.org \
/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
all inboxes | Powered by JetHome®