summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-08 21:23:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-08 21:23:43 +0000
commit69855f0c064a5a3ac074abeacf4086da42cf9904 (patch)
treee5b2c4bcb01c41bc2e0a081069c1e0fffe998002 /sys
parent34919281a13ccd6bd7e93e33da1c0a82d307a092 (diff)
Accept "ACPI 4" or such, bug in laptop or spec? -- Thinkpad SL510
from marco, ok kettenis, hard to argue with it making the laptop work
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/amd64/acpi_machdep.c4
-rw-r--r--sys/arch/i386/i386/acpi_machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/acpi_machdep.c b/sys/arch/amd64/amd64/acpi_machdep.c
index 09e0f4f445e..3ae4a2569cf 100644
--- a/sys/arch/amd64/amd64/acpi_machdep.c
+++ b/sys/arch/amd64/amd64/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.43 2010/07/29 00:29:49 mlarkin Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.44 2010/08/08 21:23:42 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -116,7 +116,7 @@ acpi_scan(struct acpi_mem_map *handle, paddr_t pa, size_t len)
if (rsdp->revision == 0 &&
acpi_checksum(ptr, sizeof(struct acpi_rsdp1)) == 0)
return (ptr);
- else if (rsdp->revision >= 2 && rsdp->revision <= 3 &&
+ else if (rsdp->revision >= 2 && rsdp->revision <= 4 &&
acpi_checksum(ptr, sizeof(struct acpi_rsdp)) == 0)
return (ptr);
}
diff --git a/sys/arch/i386/i386/acpi_machdep.c b/sys/arch/i386/i386/acpi_machdep.c
index 27d5934509e..bf220459368 100644
--- a/sys/arch/i386/i386/acpi_machdep.c
+++ b/sys/arch/i386/i386/acpi_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_machdep.c,v 1.37 2010/07/29 00:29:49 mlarkin Exp $ */
+/* $OpenBSD: acpi_machdep.c,v 1.38 2010/08/08 21:23:41 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -122,7 +122,7 @@ acpi_scan(struct acpi_mem_map *handle, paddr_t pa, size_t len)
if (rsdp->revision == 0 &&
acpi_checksum(ptr, sizeof(struct acpi_rsdp1)) == 0)
return (ptr);
- else if (rsdp->revision >= 2 && rsdp->revision <= 3 &&
+ else if (rsdp->revision >= 2 && rsdp->revision <= 4 &&
acpi_checksum(ptr, sizeof(struct acpi_rsdp)) == 0)
return (ptr);
}