[Intel-gfx] [PATCH] pnp: add PNP resource range checking function

Jesse Barnes jbarnes at virtuousgeek.org
Wed Apr 15 00:55:05 CEST 2009

On Tue, 14 Apr 2009 16:53:11 -0600
Bjorn Helgaas <bjorn.helgaas at hp.com> wrote:

> On Tuesday 14 April 2009 01:46:18 pm Jesse Barnes wrote:
> > This patch adds a new export from the ACPI PNP core,
> > is_acpi_pnp_reserved, which is intended for use by drivers to check
> > whether a given range is already reserved (and therefore likely
> > safe to use) or not (indicating that new resource space should
> > probably be allocated).
> This doesn't really need to be ACPI-specific, does it?  And can't
> you use the pre-parsed resources in pnp_dev->resources?  And wouldn't
> you just look at all resources for all PNP devices, not just the
> PNP0C01/2 ones?
> Sorry I don't have time to code up an example right now; maybe next
> week, though, if you remind me :-)

Sure, that all sounds reasonable...  I'll try to remind you.  :)

Jesse Barnes, Intel Open Source Technology Center

More information about the Intel-gfx mailing list