summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpihpet.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/dev/acpi/acpihpet.c b/sys/dev/acpi/acpihpet.c
index ff34331ddec..29c167471b3 100644
--- a/sys/dev/acpi/acpihpet.c
+++ b/sys/dev/acpi/acpihpet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpihpet.c,v 1.9 2009/10/13 19:33:16 pirofti Exp $ */
+/* $OpenBSD: acpihpet.c,v 1.10 2009/11/23 01:33:08 pirofti Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -71,12 +71,9 @@ acpihpet_activate(struct device *self, int act)
struct acpihpet_softc *sc = (struct acpihpet_softc *) self;
switch(act) {
- case DVACT_ACTIVATE:
- if (!cold)
- bus_space_write_4(sc->sc_iot, sc->sc_ioh,
- HPET_CONFIGURATION, 1);
- break;
- case DVACT_DEACTIVATE:
+ case DVACT_RESUME:
+ bus_space_write_4(sc->sc_iot, sc->sc_ioh,
+ HPET_CONFIGURATION, 1);
break;
}