diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-06-28 00:56:58 +0200 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2008-07-16 23:27:06 +0200 |
commit | 5acf91415799025410cc0d13101340d352f34c89 (patch) | |
tree | 27b50f8db97be4d5c06dbb989fa49be928aeb38d /include/xen/hvc-console.h | |
parent | PNP: replace pnp_resource_table with dynamically allocated resources (diff) | |
download | linux-5acf91415799025410cc0d13101340d352f34c89.tar.xz linux-5acf91415799025410cc0d13101340d352f34c89.zip |
PNPACPI: keep disabled resources when parsing current config
When we parse a device's _CRS data (the current resource settings),
we should keep track of everything we find, even if it's currently
disabled or invalid.
This is what we already do for ISAPNP and PNPBIOS, and it helps
keep things matched up when we subsequently re-encode resources.
For example, consider a device with (mem, irq0, irq1, io), where
irq0 is disabled. If we drop irq0 when parsing the _CRS, we will
mistakenly put irq1 in the irq0 slot when we encode resources
for an _SRS call.
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions