[haiku-commits] haiku: hrev49103 - src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities

  • From: fredrik.holmqvist@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 24 Apr 2015 21:56:47 +0200 (CEST)

hrev49103 adds 1 changeset to branch 'master'
old head: 4eea0741422175450c25308b96809ed65e33b5ba
new head: bd7a8d8329ac2280879c1134091876437e339dd9
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=bd7a8d8329ac+%5E4eea07414221

----------------------------------------------------------------------------

bd7a8d8329ac: 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

https://github.com/acpica/acpica/commit/7af00219681ab35ebe57d64a9189fd04a5a026d8#diff-76c5dc94fc085f5e3e2d17e6304f3ae0L186

[ Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision: hrev49103
Commit: bd7a8d8329ac2280879c1134091876437e339dd9
URL: http://cgit.haiku-os.org/haiku/commit/?id=bd7a8d8329ac
Author: Fredrik Holmqvist <fredrik.holmqvist@xxxxxxxxx>
Date: Fri Apr 24 19:51:50 2015 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
.../kernel/bus_managers/acpi/acpica/components/utilities/utglobal.c | 2 +-

----------------------------------------------------------------------------

diff --git
a/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/utglobal.c
b/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/utglobal.c
index be14ea2..314f304 100644
---
a/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/utglobal.c
+++
b/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/utglobal.c
@@ -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},



Other related posts: