diff options
author | 2007-02-22 07:01:41 +0000 | |
---|---|---|
committer | 2007-02-22 07:01:41 +0000 | |
commit | 8baa497b43f77da8bf416fed8ffa4ec1e7ff5c76 (patch) | |
tree | f5d85c81f746b23d3dadcc773eef438a63a8b9db | |
parent | general includes cleanup sweep. ok joris@ niallo@ (diff) | |
download | wireguard-openbsd-8baa497b43f77da8bf416fed8ffa4ec1e7ff5c76.tar.xz wireguard-openbsd-8baa497b43f77da8bf416fed8ffa4ec1e7ff5c76.zip |
Fixed ACPITIMER header revision for ACPI2.0 only
ok marco@
-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 |