diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2008-02-05 22:00:55 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2008-02-05 22:00:55 +0000 |
commit | 1c85bd544fb9501c3922670c79d44a2d5baedad0 (patch) | |
tree | df12ba6f16399da222aeb01d73670fabb21df233 /sys/arch/i386 | |
parent | f7f683ceca550f6597cca0cb7ec610da74cf5fed (diff) |
ACPI 3.0 seems to work just fine so lets enable it.
Idea from fulvio ciriaco <oivulf@gmail.com>
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/acpi_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/acpi_machdep.c b/sys/arch/i386/i386/acpi_machdep.c index c25d68b68fd..615c5739b0d 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.11 2007/12/05 19:17:13 deraadt Exp $ */ +/* $OpenBSD: acpi_machdep.c,v 1.12 2008/02/05 22:00:54 marco Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * @@ -100,7 +100,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 && + else if (rsdp->revision >= 2 && rsdp->revision <= 3 && acpi_checksum(ptr, sizeof(struct acpi_rsdp)) == 0) return (ptr); } |