CHROMIUM: ACPI update to support the latest firmware.
authorvbendeb <vbendeb@chromium.org>
Thu, 24 Jun 2010 02:09:49 +0000 (19:09 -0700)
committerGrant Grundler <grundler@google.com>
Thu, 24 May 2012 22:14:32 +0000 (15:14 -0700)
Pick up FWID value provided by the BIOS now and use
the proper Google assigned ACPI device name.

Tested by installing the new driver on a ZGA machine with
the latest firmware.

Review URL: http://codereview.chromium.org/2870021

Change-Id: I0ebd7ecfdc6c80dbda2c5b3e88846227f351f897

drivers/platform/x86/chromeos_acpi.c

index 1cf307e..8581c78 100644 (file)
@@ -47,7 +47,7 @@ MODULE_LICENSE("GPL");
 #define CHROMEOS_ACPI_VERSION "0.02"
 
 static const struct acpi_device_id chromeos_device_ids[] = {
-        {"CHROMEHW", 0}, /* this name does not yet work */
+        {"GGL0001", 0}, /* Google's own */
        {"PNP6666", 0},  /* dummy name to get us going */
        {"", 0},
 };
@@ -69,7 +69,7 @@ static struct acpi_driver chromeos_acpi_driver = {
 
 /* The methods the chromeos ACPI device is supposed to export */
 static char *chromeos_methods[] = {
-       "CHSW", "HWID", "BINF", "GPIO", "CHNV"
+       "CHSW", "HWID", "BINF", "GPIO", "CHNV", "FWID"
 };
 
 /*