diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2010-07-02 15:47:55 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2010-07-02 15:47:55 +0000 |
commit | a4abcea58c453037f43c823cf01e7fff298aae56 (patch) | |
tree | f9fd0f376030b1892cadcf519967a7cc84ab657f /sys/dev/ic | |
parent | ebc9831d5c99b43eb0cc8302c0114b7347fce458 (diff) |
timeout_add -> timeout_add_msec
ok krw@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/dc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c index d0e5f5c6356..c2f3e462a97 100644 --- a/sys/dev/ic/dc.c +++ b/sys/dev/ic/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.114 2010/05/19 15:27:35 oga Exp $ */ +/* $OpenBSD: dc.c,v 1.115 2010/07/02 15:47:54 blambert Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2405,7 +2405,7 @@ dc_tick(void *xsc) } if (sc->dc_flags & DC_21143_NWAY && !sc->dc_link) - timeout_add(&sc->dc_tick_tmo, hz / 10); + timeout_add_msec(&sc->dc_tick_tmo, 100); else timeout_add_sec(&sc->dc_tick_tmo, 1); @@ -2907,7 +2907,7 @@ dc_init(void *xsc) sc->dc_link = 1; else { if (sc->dc_flags & DC_21143_NWAY) - timeout_add(&sc->dc_tick_tmo, hz / 10); + timeout_add_msec(&sc->dc_tick_tmo, 100); else timeout_add_sec(&sc->dc_tick_tmo, 1); } |