diff options
author | Jordan Hargrave <jordan@cvs.openbsd.org> | 2007-02-22 07:01:42 +0000 |
---|---|---|
committer | Jordan Hargrave <jordan@cvs.openbsd.org> | 2007-02-22 07:01:42 +0000 |
commit | 299cee9a72154f952d3f7642d8d3da9958ed1fb5 (patch) | |
tree | 93cd139b228ffc7c4666c60557826147a4557217 /sys/dev/acpi | |
parent | fdb3a045215ae0f4100b4c7708a5670099b83442 (diff) |
Fixed ACPITIMER header revision for ACPI2.0 only
ok marco@
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r-- | sys/dev/acpi/acpitimer.c | 4 |
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 |