summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJordan Hargrave <jordan@cvs.openbsd.org>2007-02-22 07:01:42 +0000
committerJordan Hargrave <jordan@cvs.openbsd.org>2007-02-22 07:01:42 +0000
commit299cee9a72154f952d3f7642d8d3da9958ed1fb5 (patch)
tree93cd139b228ffc7c4666c60557826147a4557217 /sys
parentfdb3a045215ae0f4100b4c7708a5670099b83442 (diff)
Fixed ACPITIMER header revision for ACPI2.0 only
ok marco@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/acpitimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpitimer.c b/sys/dev/acpi/acpitimer.c
index 271deab9602..700e08c6de0 100644
--- a/sys/dev/acpi/acpitimer.c
+++ b/sys/dev/acpi/acpitimer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpitimer.c,v 1.5 2007/02/20 22:10:27 marco Exp $ */
+/* $OpenBSD: acpitimer.c,v 1.6 2007/02/22 07:01:41 jordan Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -81,7 +81,7 @@ acpitimerattach(struct device *parent, struct device *self, void *aux)
struct acpi_softc *psc = (struct acpi_softc *) parent;
int rc;
- if (psc->sc_fadt->hdr_revision > 1)
+ if (psc->sc_fadt->hdr_revision >= 3)
rc = acpi_map_address(psc, &psc->sc_fadt->x_pm_tmr_blk, 0,
psc->sc_fadt->pm_tmr_len, &sc->sc_ioh, &sc->sc_iot);
else