diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2008-09-10 14:01:24 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2008-09-10 14:01:24 +0000 |
commit | 33d64896abc9e79070ec22125a832e7d8ef87878 (patch) | |
tree | 1f2297f6ceb3127f1cc36b8d9c89baeeceb16922 /sys/dev/pci/if_ste.c | |
parent | 528af50e90df2cf2ebdf638dc4d94752c1861936 (diff) |
Convert timeout_add() calls using multiples of hz to timeout_add_sec()
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
Diffstat (limited to 'sys/dev/pci/if_ste.c')
-rw-r--r-- | sys/dev/pci/if_ste.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ste.c b/sys/dev/pci/if_ste.c index 273804c90d9..c2f1b3fe9bd 100644 --- a/sys/dev/pci/if_ste.c +++ b/sys/dev/pci/if_ste.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ste.c,v 1.40 2007/07/17 23:25:15 krw Exp $ */ +/* $OpenBSD: if_ste.c,v 1.41 2008/09/10 14:01:22 blambert Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -815,7 +815,7 @@ ste_stats_update(void *xsc) } } - timeout_add(&sc->sc_stats_tmo, hz); + timeout_add_sec(&sc->sc_stats_tmo, 1); splx(s); return; @@ -1196,7 +1196,7 @@ ste_init(void *xsc) splx(s); timeout_set(&sc->sc_stats_tmo, ste_stats_update, sc); - timeout_add(&sc->sc_stats_tmo, hz); + timeout_add_sec(&sc->sc_stats_tmo, 1); return; } |