From 69855f0c064a5a3ac074abeacf4086da42cf9904 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 8 Aug 2010 21:23:43 +0000 Subject: 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 --- sys/arch/amd64/amd64/acpi_machdep.c | 4 ++-- sys/arch/i386/i386/acpi_machdep.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys') 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 * @@ -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 * @@ -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); } -- cgit v1.2.3