ACPICA: FADT: Favor 32-bit register addresses for compatibility
authorBob Moore <robert.moore@intel.com>
Thu, 19 Mar 2009 02:12:13 +0000 (10:12 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 27 Mar 2009 16:11:05 +0000 (12:11 -0400)
commit31fbc073a35a017e34840deb9e865a701e986002
tree03bbda99bc136f9f7ff98c67aa83621f6181c7ad
parentf28ad2c3daf0691081d91488df4d9d101e1a2b5d
ACPICA: FADT: Favor 32-bit register addresses for compatibility

Use the 32-bit register addresses whenever they are non-zero. This
means that the 32-bit addresses are favored over the 64-bit
(GAS) addresses. The 64-bit addresses are only used if the 32-bit
addresses are zero. This change provides compatibility with all
versions of Windows. The worst case that this solves is when both
the 32-bit and 64-bit addresses are non-zero, but only the 32-bit
addresses are actually valid. This appears to happen in some
BIOSes because in this case, Windows uses the 32-bit addresses.

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>
drivers/acpi/acpica/tbfadt.c