diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-29 00:34:32 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 09:22:28 +0200 |
commit | 21855d69d1e3ace3efdb8159a4a7ab1ab98a6f19 (patch) | |
tree | bfa5bc70ab7dabe5e4117fde96199df6c05cd261 /lib/audit.c | |
parent | PNP: add pnp_get_pnp_resource() (diff) | |
download | linux-21855d69d1e3ace3efdb8159a4a7ab1ab98a6f19.tar.xz linux-21855d69d1e3ace3efdb8159a4a7ab1ab98a6f19.zip |
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>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions