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/ic/smc83c170.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/ic/smc83c170.c')
-rw-r--r-- | sys/dev/ic/smc83c170.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/smc83c170.c b/sys/dev/ic/smc83c170.c index ecff1f4aef6..af2b8ca9a19 100644 --- a/sys/dev/ic/smc83c170.c +++ b/sys/dev/ic/smc83c170.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smc83c170.c,v 1.10 2008/06/26 05:42:16 ray Exp $ */ +/* $OpenBSD: smc83c170.c,v 1.11 2008/09/10 14:01:22 blambert Exp $ */ /* $NetBSD: smc83c170.c,v 1.59 2005/02/27 00:27:02 perry Exp $ */ /*- @@ -900,7 +900,7 @@ epic_tick(void *arg) mii_tick(&sc->sc_mii); splx(s); - timeout_add(&sc->sc_mii_timeout, hz); + timeout_add_sec(&sc->sc_mii_timeout, 1); } /* @@ -1088,7 +1088,7 @@ epic_init(struct ifnet *ifp) /* * Start the one second clock. */ - timeout_add(&sc->sc_mii_timeout, hz); + timeout_add_sec(&sc->sc_mii_timeout, 1); /* * Attempt to start output on the interface. |