summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2010-07-05 11:07:56 +0000
committerblambert <blambert@openbsd.org>2010-07-05 11:07:56 +0000
commitdb7557aab3d7d8a7276b644c27d8040ee76b7f3a (patch)
treed0a86961883335ebd3c029fd42518db5ac842c94
parenttimeout_add -> timeout_add_sec (diff)
downloadwireguard-openbsd-db7557aab3d7d8a7276b644c27d8040ee76b7f3a.tar.xz
wireguard-openbsd-db7557aab3d7d8a7276b644c27d8040ee76b7f3a.zip
timeout_add -> timeout_add_sec
ok art@
-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