linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: linux-acpi@vger.kernel.org, Adam Belay <ambx1@neo.rr.com>,
	Matthieu Castet <castet.matthieu@free.fr>,
	Li Shaohua <shaohua.li@intel.com>
Subject: Re: [patch 4/5] i386: turn on CONFIG_PNP in defconfig
Date: Fri, 19 Jan 2007 03:53:52 -0500	[thread overview]
Message-ID: <200701190353.52224.lenb@kernel.org> (raw)
In-Reply-To: <200701181049.00452.bjorn.helgaas@hp.com>

On Thursday 18 January 2007 12:49, Bjorn Helgaas wrote:
> On Wednesday 17 January 2007 20:08, Len Brown wrote:
> > > --- mm-work13.orig/arch/i386/defconfig	2007-01-11 13:56:18.000000000 -0700
> > > +++ mm-work13/arch/i386/defconfig	2007-01-11 13:57:23.000000000 -0700
> > > @@ -466,7 +466,7 @@
> > >  #
> > >  # Plug and Play support
> > >  #
> > > -# CONFIG_PNP is not set
> > > +CONFIG_PNP=y
> > >  
> > >  #
> > >  # Block devices
> > 
> > shouldn't CONFIG_PNPACPI=y also appear in defconfig with this change?
> > If it doesn't, then somebody who runs make oldconfig will get prompted for it.
> 
> Yes, you're right.  I'll add PNPACPI=y in the next round.

Hmm, I guess if we're going to include it by default,
it is time to delete its dependency on EXPERIMENTAL:
Though so many things depend on EXPERIMENTAL
these days that maybe it doesn't mean so much.

config PNPACPI
        bool "Plug and Play ACPI support (EXPERIMENTAL)"
        depends on PNP && ACPI && EXPERIMENTAL

> > Also, do we need to be concerned about the case where
> > CONFIG_PNP=n
> > CONFIG_ACPI=y
> > This is the case that motherboard.c was intended to cover.
> > 
> > CONFIG_PNP depends on ACPI (or ISA)
> > But nothing mandates that somebody must select it.
> 
> Hmmm... true.  Could we get away with having ACPI select PNP?

Every time I've tried to use select in recent memory it seems
something goes bad.  I think there is a rule, such as the
thing selected can not depend on anything else, which if violated
breaks people's ranconfigs and adrian get grumpy about it.

So I think if we want to tie them together, then ACPI
should actually depend on PNP -- which is consistent,
with how ACPI depends on PM today.

 
> Two other, longer term thoughts:
>   1) I think it would be good if PNP reserved resources for all
>      active devices, as PCI already does (though PCI might do it
>      even for disabled devices).  Then we really wouldn't need
>      system.c or motherboard.c at all.
> 
>   2) I think we should deprecate ACPI driver registration and do
>      everything through PNP, with the ACPI stuff as an optional
>      capability of PNP devices.  Then PNP=n, ACPI=y really wouldn't
>      make much sense.

Whelp, when we're guaranteed that PNP exists when ACPI exists
then we can get smarter about PNP.

thanks,
-Len

  reply	other threads:[~2007-01-19  8:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-16 17:28 [0/5] remove ACPI motherboard driver, use PNP system driver instead Bjorn Helgaas
2007-01-16 17:33 ` [patch 1/5] ACPI: move FADT resource reservations from motherboard driver to osl Bjorn Helgaas
2007-01-17  1:59   ` Shaohua Li
2007-01-18 17:18     ` Bjorn Helgaas
2007-01-16 17:34 ` [patch 2/5] PNP: reserve system board iomem resources as well as ioport resources Bjorn Helgaas
2007-01-16 17:34 ` [patch 3/5] PNP: system.c whitespace cleanup Bjorn Helgaas
2007-01-16 17:34 ` [patch 4/5] i386: turn on CONFIG_PNP in defconfig Bjorn Helgaas
2007-01-18  3:08   ` Len Brown
2007-01-18 17:49     ` Bjorn Helgaas
2007-01-19  8:53       ` Len Brown [this message]
2007-01-16 17:35 ` [patch 5/5] ACPI: remove motherboard driver (redundant with PNP system driver) Bjorn Helgaas
  -- strict thread matches above, loose matches on Subject: below --
2007-01-18 23:36 [0/5] remove ACPI motherboard driver, use PNP system driver instead (take 2) Bjorn Helgaas
2007-01-18 23:44 ` [patch 4/5] i386: turn on CONFIG_PNP in defconfig Bjorn Helgaas

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=200701190353.52224.lenb@kernel.org \
    --to=lenb@kernel.org \
    --cc=ambx1@neo.rr.com \
    --cc=bjorn.helgaas@hp.com \
    --cc=castet.matthieu@free.fr \
    --cc=linux-acpi@vger.kernel.org \
    --cc=shaohua.li@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).