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/rtl81x9.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/rtl81x9.c')
-rw-r--r-- | sys/dev/ic/rtl81x9.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c index 9011926a09c..bc437adb649 100644 --- a/sys/dev/ic/rtl81x9.c +++ b/sys/dev/ic/rtl81x9.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtl81x9.c,v 1.58 2008/04/20 00:23:28 brad Exp $ */ +/* $OpenBSD: rtl81x9.c,v 1.59 2008/09/10 14:01:22 blambert Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1052,7 +1052,7 @@ void rl_init(xsc) splx(s); timeout_set(&sc->sc_tick_tmo, rl_tick, sc); - timeout_add(&sc->sc_tick_tmo, hz); + timeout_add_sec(&sc->sc_tick_tmo, 1); } /* @@ -1473,7 +1473,7 @@ rl_tick(v) s = splnet(); mii_tick(&sc->sc_mii); splx(s); - timeout_add(&sc->sc_tick_tmo, hz); + timeout_add_sec(&sc->sc_tick_tmo, 1); } struct cfdriver rl_cd = { |