summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Kuethe <ckuethe@cvs.openbsd.org>2007-11-03 17:33:51 +0000
committerChris Kuethe <ckuethe@cvs.openbsd.org>2007-11-03 17:33:51 +0000
commit31fe353912db9e9ba620136e4614fb9d4a0b69eb (patch)
treedde4456680e59c2540ff56e4522d0679ea92dfeb
parentcbf8e14ccbee7662432ef2d37170ec00070a1c06 (diff)
ACPI allows the OS to identify itself in a couple of ways and may behave
differently based on what OS is running. This diff causes us to run the WinNT code path in hopes that it is "better" AML, or has better settings for machine that do not support _OSI. This is the same method used by other non-windows operating sytems. ok gwk, beck, jordan
-rw-r--r--sys/dev/acpi/dsdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index 021670f4d18..4d9f35ea502 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.c,v 1.91 2007/11/03 17:23:25 jordan Exp $ */
+/* $OpenBSD: dsdt.c,v 1.92 2007/11/03 17:33:50 ckuethe Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -3312,7 +3312,7 @@ struct aml_defval {
const void *bval;
struct aml_value **gval;
} aml_defobj[] = {
- { "_OS_", AML_OBJTYPE_STRING, -1, "OpenBSD" },
+ { "_OS_", AML_OBJTYPE_STRING, -1, "Microsoft Windows NT\0(TM)" },
{ "_REV", AML_OBJTYPE_INTEGER, 2, NULL },
{ "_GL", AML_OBJTYPE_MUTEX, 1, NULL, &aml_global_lock },
{ "_OSI", AML_OBJTYPE_METHOD, 1, aml_callosi },