From 31fe353912db9e9ba620136e4614fb9d4a0b69eb Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Sat, 3 Nov 2007 17:33:51 +0000 Subject: 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 --- sys/dev/acpi/dsdt.c | 4 ++-- 1 file 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 * @@ -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 }, -- cgit v1.2.3