kernel-ark/drivers/pnp
Bjorn Helgaas c227536b4c PNP: centralize resource option allocations
This patch moves all the option allocations (pnp_mem, pnp_port, etc)
into the pnp_register_{mem,port,irq,dma}_resource() functions.  This
will make it easier to rework the option data structures.

The non-trivial part of this patch is the IRQ handling.  The backends
have to allocate a local pnp_irq_mask_t bitmap, populate it, and pass
a pointer to pnp_register_irq_resource().

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-07-16 23:27:07 +02:00
..
isapnp PNP: centralize resource option allocations 2008-07-16 23:27:07 +02:00
pnpacpi PNP: centralize resource option allocations 2008-07-16 23:27:07 +02:00
pnpbios PNP: centralize resource option allocations 2008-07-16 23:27:07 +02:00
base.h PNP: centralize resource option allocations 2008-07-16 23:27:07 +02:00
card.c PNP: add pnp_alloc_card() 2008-04-29 03:22:17 -04:00
core.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00
driver.c PNP: change pnp_add_id() to allocate its own pnp_id structures 2008-04-29 03:22:16 -04:00
interface.c PNP: increase I/O port & memory option address sizes 2008-07-16 23:27:06 +02:00
Kconfig Use menuconfig objects: PNP 2007-07-16 09:05:40 -07:00
Makefile PNP: use dev_info(), dev_err(), etc in core 2007-10-17 08:43:04 -07:00
manager.c PNP: remove redundant pnp_can_configure() check 2008-07-16 23:27:07 +02:00
quirks.c PNP: introduce pnp_irq_mask_t typedef 2008-07-16 23:27:06 +02:00
resource.c PNP: centralize resource option allocations 2008-07-16 23:27:07 +02:00
support.c PNP: in debug resource dump, make empty list obvious 2008-07-16 23:27:06 +02:00
system.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00