summaryrefslogtreecommitdiff
path: root/sys/dev/pci/hifn7751.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2010-07-05 11:07:57 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2010-07-05 11:07:57 +0000
commit2cb0520cd7767abe966bb8d7e955d07ad07f2883 (patch)
tree6b54ed6b3d37f49f7bf1cb66e1f62a40b7c670d0 /sys/dev/pci/hifn7751.c
parent7a06c554ddc3961174788a0752ad7b2e2eb4b052 (diff)
timeout_add -> timeout_add_sec
ok art@
Diffstat (limited to 'sys/dev/pci/hifn7751.c')
-rw-r--r--sys/dev/pci/hifn7751.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index 241c6edcf4e..34918a52d48 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.161 2010/07/02 02:40:16 blambert Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.162 2010/07/05 11:07:56 blambert Exp $ */
/*
* Invertex AEON / Hifn 7751 driver
@@ -314,7 +314,7 @@ hifn_attach(struct device *parent, struct device *self, void *aux)
hifn_init_pubrng(sc);
timeout_set(&sc->sc_tickto, hifn_tick, sc);
- timeout_add(&sc->sc_tickto, hz);
+ timeout_add_sec(&sc->sc_tickto, 1);
return;
@@ -1674,7 +1674,7 @@ hifn_tick(void *vsc)
else
sc->sc_active--;
splx(s);
- timeout_add(&sc->sc_tickto, hz);
+ timeout_add_sec(&sc->sc_tickto, 1);
}
int