From: "Robert P. J. Day" <rpjday@mindspring.com>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Use menuconfig objects - Fusion
Date: Sat, 21 Jul 2007 15:05:47 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0707211501570.5853@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64.0707182035080.5385@fbirervta.pbzchgretzou.qr>
On Sat, 21 Jul 2007, Jan Engelhardt wrote:
> -menu "Fusion MPT device support"
> +menuconfig FUSION
> + bool "Fusion MPT device support"
> depends on PCI
> + ---help---
> + Say Y here to get to see options for Fusion Message
> + Passing Technology (MPT) drivers.
> + This option alone does not add any kernel code.
> +
> + If you say N, all options in this submenu will be skipped and disabled.
>
...
> +if FUSION
>
> config FUSION_SPI
...
> +endif # FUSION
i just *know* i'm going to regret asking this, but is there a
compelling reason why the internal contents of a "menuconfig FUBAR"
needs to still be surrounded by a "if FUBAR" condition? wouldn't it
be philosophically cleaner if the internals of a menuconfig structure
*automatically* depended on selection of the menuconfig and the "if"
part was implicit?
and having said that, i realize that there are menuconfig examples
for which the above is not strictly true, but i can't remember where
i've seen them. all i remember about them is that they we're a bit
confusing.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
next prev parent reply other threads:[~2007-07-21 19:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200705102317.l4ANHrUC001117@shell0.pdx.osdl.net>
2007-07-21 18:56 ` Jan Engelhardt
2007-07-21 19:05 ` Robert P. J. Day [this message]
2007-07-21 19:14 ` Jan Engelhardt
2007-07-21 19:15 ` Robert P. J. Day
2007-07-21 19:35 ` Jan Engelhardt
2007-07-21 19:36 ` Robert P. J. Day
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=Pine.LNX.4.64.0707211501570.5853@localhost.localdomain \
--to=rpjday@mindspring.com \
--cc=jengelh@computergmbh.de \
--cc=linux-kernel@vger.kernel.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®