ACPICA: Workaround for reversed _PRT entries from BIOS
commitd0e184abc5983281ef189db2c759d65d56eb1b80
authorBob Moore <robert.moore@intel.com>
Tue, 10 Jun 2008 06:16:47 +0000 (10 14:16 +0800)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 16 Jul 2008 21:27:04 +0000 (16 23:27 +0200)
tree48ec8b44dcfec1e5c537997f115b21c887da1e52
parentb25d2a470bc9ffef4c34248952d914bd6fc0fcf6
ACPICA: Workaround for reversed _PRT entries from BIOS

Some BIOSs erroneously reverse the _PRT SourceName and the
SourceIndex.  Detect and repair this problem. MS ACPI also allows
and repairs this problem, thus ACPICA must also.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/resources/rscreate.c