diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2009-01-11 16:55:00 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2009-01-11 16:55:00 +0000 |
commit | 6254d18da4261171d49fa4a15608cee482b92f47 (patch) | |
tree | 12a1e9c0b0b4950a774fa231889ac60993c9e093 /sys/dev/ic/dc.c | |
parent | 4084e28db0c6bedbe315fa8082c60a0caad21e07 (diff) |
Actual final round of timeout_add(to, n * hz) -> timeout_add_sec(to, n)
conversions.
ok kettenis@
ok krw@ (possibly for the second time :)
Diffstat (limited to 'sys/dev/ic/dc.c')
-rw-r--r-- | sys/dev/ic/dc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c index 61ab4a56285..c3e36634817 100644 --- a/sys/dev/ic/dc.c +++ b/sys/dev/ic/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.107 2008/11/28 02:44:17 brad Exp $ */ +/* $OpenBSD: dc.c,v 1.108 2009/01/11 16:54:59 blambert Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2398,7 +2398,7 @@ dc_tick(void *xsc) if (sc->dc_flags & DC_21143_NWAY && !sc->dc_link) timeout_add(&sc->dc_tick_tmo, hz / 10); else - timeout_add(&sc->dc_tick_tmo, hz); + timeout_add_sec(&sc->dc_tick_tmo, 1); splx(s); } |