From: David Mosberger <davidm@napali.hpl.hp.com>
To: "Noah J. Misch" <noah@caltech.edu>
Cc: Matthew Wilcox <willy@debian.org>,
linux-ia64@linuxia64.org, linux-kernel@vger.kernel.org
Subject: Re: IA64/simulators - Kconfig logic for drivers/*
Date: Mon, 3 Nov 2003 13:55:22 -0800 [thread overview]
Message-ID: <16294.52938.599699.302478@napali.hpl.hp.com> (raw)
In-Reply-To: <Pine.GSO.4.58.0311012038250.20298@sue>
>>>>> On Sat, 1 Nov 2003 22:41:07 -0800 (PST), "Noah J. Misch" <noah@caltech.edu> said:
Noah> On Sun, 2 Nov 2003, Matthew Wilcox wrote:
>> > Why not include drivers/Kconfig and scrap the individual subdirectory
>> > includes, as i386 does?
>> At that time, I hadn't done the work to create drivers/Kconfig ;-)
>> The main problem for ia64 is the simulator stuff. Maybe something like:
>> if !IA64_HP_SIM
>> source "drivers/Kconfig"
>> endif
>> if IA64_HP_SIM
>> source "drivers/base/Kconfig"
>> source "drivers/scsi/Kconfig"
>> source "net/Kconfig"
>> source "drivers/block/Kconfig"
>> source "arch/ia64/hp/sim/Kconfig"
>> endif
Noah> I would guess that everyone who uses a simulator is a kernel
Noah> developer or maybe an application developer. I worry that the
Noah> risk of hiding useful configs from simulator users by lax
Noah> maintenance of that block of Kconfig logic exceeds the risk of
Noah> those people trying to build a simulator kernel with all kinds
Noah> of hardware drivers and finding that it doesn't work. A
Noah> quieter configuration is nice, however. Hmmm.
I suspect it should be possible to do this much cleaner with the new
Kconfig system. For example, if all PCI-dependent drivers really do
specify "depends on PCI" (or something equivalent), then a good
portion of the hopeless drivers would automagically go away from the
simulator configuration. What's there now "works", but it clearly
could stand some modernization.
--david
prev parent reply other threads:[~2003-11-03 21:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-02 0:35 [PATCH][RFC] Clean up Kconfig logic for IA64 ACPI Noah J. Misch
2003-11-02 3:16 ` [ACPI] " Matthew Wilcox
2003-11-02 4:05 ` Noah J. Misch
2003-11-02 4:34 ` Matthew Wilcox
2003-11-02 6:41 ` IA64/simulators - Kconfig logic for drivers/* Noah J. Misch
2003-11-03 21:55 ` David Mosberger [this message]
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=16294.52938.599699.302478@napali.hpl.hp.com \
--to=davidm@napali.hpl.hp.com \
--cc=davidm@hpl.hp.com \
--cc=linux-ia64@linuxia64.org \
--cc=linux-kernel@vger.kernel.org \
--cc=noah@caltech.edu \
--cc=willy@debian.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®