summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2010-07-06 09:05:42 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2010-07-06 09:05:42 +0000
commit6a5abb5090475ac195b2efb17a024a2204c6e8b8 (patch)
tree0ea50ef63e872d7523b583da0a216c0bfa5a3202
parent4c38f1b5c06d2b4a26b8948148c0247d0358dcd3 (diff)
timeout_add -> timeout_add_msec
ok jsg@
-rw-r--r--sys/dev/pci/viaenv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/viaenv.c b/sys/dev/pci/viaenv.c
index a241b7996b0..39efac5c931 100644
--- a/sys/dev/pci/viaenv.c
+++ b/sys/dev/pci/viaenv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: viaenv.c,v 1.13 2009/06/06 19:21:33 jasper Exp $ */
+/* $OpenBSD: viaenv.c,v 1.14 2010/07/06 09:05:41 blambert Exp $ */
/* $NetBSD: viaenv.c,v 1.9 2002/10/02 16:51:59 thorpej Exp $ */
/*
@@ -318,7 +318,7 @@ viaenv_attach(struct device * parent, struct device * self, void *aux)
/* Refresh sensors data every 1.5 seconds */
timeout_set(&viaenv_timeout, viaenv_refresh, sc);
- timeout_add(&viaenv_timeout, (15 * hz) / 10);
+ timeout_add_msec(&viaenv_timeout, 1500);
nohwm:
#ifdef __HAVE_TIMECOUNTER
@@ -360,7 +360,7 @@ viaenv_refresh(void *arg)
struct viaenv_softc *sc = (struct viaenv_softc *)arg;
viaenv_refresh_sensor_data(sc);
- timeout_add(&viaenv_timeout, (15 * hz) / 10);
+ timeout_add_msec(&viaenv_timeout, 1500);
}
#ifdef __HAVE_TIMECOUNTER