linux/drivers/pnp
Bjorn Helgaas 21855d69d1 PNP: add pnp_resource index for ISAPNP
Save the ISAPNP config register index in the struct pnp_resource.

We need this because it is important to write ISAPNP configuration
back to the same registers we read it from.  For example, if we
read valid regions from memory descriptors 0, 1, and 3, we'd
better write them back to the same registers, without compressing
them to descriptors 0, 1, and 2.

This was previously guaranteed by using the index into the
pnp_resource_table array as the ISAPNP config register index.
However, I am removing those fixed-size arrays, so we need to
save the ISAPNP register index elsewhere.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-04-29 03:22:28 -04:00
..
isapnp PNP: add pnp_resource index for ISAPNP 2008-04-29 03:22:28 -04:00
pnpacpi PNP: remove pnp_resource_table references from resource decoders 2008-04-29 03:22:27 -04:00
pnpbios PNP: remove pnp_resource_table references from resource decoders 2008-04-29 03:22:27 -04:00
base.h PNP: add pnp_resource index for ISAPNP 2008-04-29 03:22:28 -04: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: add pnp_resource index for ISAPNP 2008-04-29 03:22:28 -04: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: add pnp_resource index for ISAPNP 2008-04-29 03:22:28 -04:00
quirks.c PNP: remove PNP_MAX_* uses 2008-04-29 03:22:26 -04:00
resource.c PNP: add pnp_get_pnp_resource() 2008-04-29 03:22:28 -04:00
support.c PNP: convert assign, interface to use pnp_get_resource(), not pnp_resource_table 2008-04-29 03:22:26 -04:00
system.c PNP: remove PNP_MAX_* uses 2008-04-29 03:22:26 -04:00