2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 00:26:39 +08:00
linux-next/drivers/pnp
Bjorn Helgaas 87e4acf3eb PNP: remove pnp_resource.index
We used pnp_resource.index to keep track of which ISAPNP configuration
register a resource should be written to.  We needed this only to
handle the case where a register is disabled but a subsequent register
in the same set is enabled.

Rather than explicitly maintaining the pnp_resource.index, this patch
adds a resource every time we read an ISAPNP configuration register
and marks the resource as IORESOURCE_DISABLED when appropriate.  This
makes the position in the pnp_resource_table always correspond to the
config register index.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
2008-07-16 23:27:05 +02:00
..
isapnp PNP: remove pnp_resource.index 2008-07-16 23:27:05 +02:00
pnpacpi ACPI PM: acpi_pm_device_sleep_state() cleanup 2008-07-16 23:27:02 +02:00
pnpbios PNP: fix printk format warnings 2008-05-01 08:04:00 -07:00
base.h PNP: remove pnp_resource.index 2008-07-16 23:27:05 +02:00
card.c PNP: add pnp_alloc_card() 2008-04-29 03:22:17 -04:00
core.c PNP: make pnp_resource_table private to PNP core 2008-04-29 03:22:27 -04: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: remove pnp_resource.index 2008-07-16 23:27:05 +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 pnp_resource.index 2008-07-16 23:27:05 +02:00
quirks.c PNP: mark resources that conflict with PCI devices "disabled" 2008-06-02 15:59:06 -07:00
resource.c pnp: add pnp_build_option() to the API 2008-05-14 19:11:13 -07:00
support.c PNP: add detail to debug resource dump 2008-07-16 23:27:05 +02:00
system.c PNP: skip UNSET MEM resources as well as DISABLED ones 2008-06-05 10:30:37 -07:00