ACPI : Add the EC dmi table to fix the incorrect ECDT table
authorZhao Yakui <yakui.zhao@intel.com>
Tue, 12 Aug 2008 02:40:10 +0000 (10:40 +0800)
committerAndi Kleen <ak@linux.intel.com>
Fri, 15 Aug 2008 01:12:27 +0000 (03:12 +0200)
commit2500822bf4eb0179ef80e5b072c1e0fa83037381
tree33412466417282b2b1cd251e80aa8bc1a050b490
parentb635acec48bcaa9183fcbf4e3955616b0d4119b5
ACPI : Add the EC dmi table to fix the incorrect ECDT table

On some ASUS laptops the ECDT gives the incorrect command/status & Data I/O
register address.

AK: it seems like the command/data addresses are exchanged.

In such case it will cause that EC device can't be
initialized correctly.
To add the EC dmi table is to fix this issue. If the laptop falls into the
EC dmi table, the EC command/data I/O address will be fixed.

AK: Add comments describing this better

http://bugzilla.kernel.org/show_bug.cgi?id=9399

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
tested-by    : Jan Kasprzak  <kas@fi.muni.cz>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/ec.c