login
Header Space

 
 

[patch 00/37] PNP resource_table cleanups, v2

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Len Brown <lenb@...>
Cc: <linux-acpi@...>, <linux-kernel@...>, Adam Belay <ambx1@...>, Li Shaohua <shaohua.li@...>, Matthieu Castet <castet.matthieu@...>, Thomas Renninger <trenn@...>, Rene Herman <rene.herman@...>, Jaroslav Kysela <perex@...>, Andrew Morton <akpm@...>
Date: Tuesday, April 1, 2008 - 11:16 am

This series of patches does some PNP housecleaning and
consolidation.

PNP currently uses a fixed-size table (pnp_resource_table)
to track the IO, MMIO, IRQ, and DMA resources used by a
device.  Some motherboard devices have many resources, so
we've been plagued by table overflows and we've had to
drastically increase the table size, which wastes a lot
of memory.

The end goal is to replace that fixed-size table with something
more dynamic.  These patches don't go that far, but they do make
pnp_resource_table private to the PNP core and centralize all
references to it in a small set of shared functions.

In addition, this series contains a number of related
cleanups, like centralized allocation of struct pnp_dev,
conversion to dev_printk when possible, removing many
PNP core internal functions from the public interface,
and alignment of the ISAPNP, PNPBIOS, and PNPACPI backends.

Changes between first post and v2:

  - export pnp_get_resource()
  - fix EISA ID conversion and make a common function for ISAPNP/PNPBIOS
  - fix typos in pnp_check_{port,mem,etc} that made resource assign fail

  - the following fixes should precede this series (they're in -mm already):
	- parport_pc: wrap PNP probe code in CONFIG_PNP
	- radio-cadet: wrap PNP probe code in CONFIG_PNP
	- smsc-ircc2: wrap PNP probe code in CONFIG_PNP
	- nsc-ircc: wrap PNP probe code in CONFIG_PNP

Thanks to Rene Herman for finding and fixing the EISA ID and resource
check bugs.

Bjorn
-- 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 00/37] PNP resource_table cleanups, v2, Bjorn Helgaas, (Tue Apr 1, 11:16 am)
Re: [patch 00/37] PNP resource_table cleanups, v2, Rene Herman, (Tue Apr 1, 7:43 pm)
Re: [patch 00/37] PNP resource_table cleanups, v2, Bjorn Helgaas, (Wed Apr 2, 5:35 pm)
Re: [patch 00/37] PNP resource_table cleanups, v2, Rene Herman, (Thu Apr 3, 11:54 am)
Re: [patch 00/37] PNP resource_table cleanups, v2, Bjorn Helgaas, (Thu May 1, 4:47 pm)
Re: [patch 00/37] PNP resource_table cleanups, v2, Rene Herman, (Sun May 4, 10:14 am)
Re: [patch 00/37] PNP resource_table cleanups, v2, Rene Herman, (Sun May 4, 10:19 am)
Re: [patch 00/37] PNP resource_table cleanups, v2, Bjorn Helgaas, (Mon May 5, 10:48 am)
Re: [patch 00/37] PNP resource_table cleanups, v2, Bjorn Helgaas, (Thu Apr 3, 12:43 pm)
Re: [patch 00/37] PNP resource_table cleanups, v2, Rene Herman, (Thu Apr 3, 1:12 pm)
Re: [patch 00/37] PNP resource_table cleanups, v2, Rene Herman, (Thu Apr 3, 3:29 pm)
speck-geostationary