]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee50b27a11b2bb97a75235215aef5ed251a93740
tree03bbda99bc136f9f7ff98c67aa83621f6181c7ad
parent8be9babdf01e32867f8290fa02fa856ce5ff9734
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