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
..
2008-07-16 11:07:59 +10:00
2008-07-04 10:40:05 -07:00
2008-05-20 13:31:55 -07:00
2008-04-29 08:06:18 -07:00
2008-05-21 16:56:00 -07:00
2008-07-16 23:27:03 +02:00
2008-07-16 11:07:59 +10:00
2008-07-02 15:06:24 -06:00
2008-07-16 23:27:05 +02:00
2008-07-16 11:07:59 +10:00
2008-07-16 11:07:59 +10:00
2008-04-30 08:29:52 -07:00