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/re.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/re.c')
-rw-r--r-- | sys/dev/ic/re.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index 635acdad908..3ee58670a43 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.89 2008/08/29 22:59:56 brad Exp $ */ +/* $OpenBSD: re.c,v 1.90 2008/09/10 14:01:22 blambert Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -1524,7 +1524,7 @@ re_tick(void *xsc) } splx(s); - timeout_add(&sc->timer_handle, hz); + timeout_add_sec(&sc->timer_handle, 1); } int @@ -2007,7 +2007,7 @@ re_init(struct ifnet *ifp) sc->rl_flags &= ~RL_FLAG_LINK; - timeout_add(&sc->timer_handle, hz); + timeout_add_sec(&sc->timer_handle, 1); return (0); } |