Temporarily hardcode ACPI _REV to 2 until we upgrade ACPICA.

Some manufacturers (Dell, HP, ..) use this value to detect Windows and
only do proper setup in this case. Now we pretend to be Windows as well.
This may cause some things to behave different or stop working.

Please keep this in mind.

For more information see:
http://mjg59.dreamwidth.org/34542.html
7af0021968 (diff-76c5dc94fc085f5e3e2d17e6304f3ae0L186)
This commit is contained in:
Fredrik Holmqvist 2015-04-24 21:51:50 +02:00
parent 4eea074142
commit bd7a8d8329

View File

@ -184,7 +184,7 @@ const ACPI_PREDEFINED_NAMES AcpiGbl_PreDefinedNames[] =
{"_SB_", ACPI_TYPE_DEVICE, NULL},
{"_SI_", ACPI_TYPE_LOCAL_SCOPE, NULL},
{"_TZ_", ACPI_TYPE_DEVICE, NULL},
{"_REV", ACPI_TYPE_INTEGER, (char *) ACPI_CA_SUPPORT_LEVEL},
{"_REV", ACPI_TYPE_INTEGER, (char *) 2},
{"_OS_", ACPI_TYPE_STRING, ACPI_OS_NAME},
{"_GL_", ACPI_TYPE_MUTEX, (char *) 1},