diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2009-08-02 17:20:09 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2009-08-02 17:20:09 +0000 |
commit | 4fffe3d459e475c9b296c8696da1adf1c2d56010 (patch) | |
tree | 0da4e01c093f94235935dddc986f8c822f822f8b /sys/dev | |
parent | 9c2333f98f1c63ee60ef959325d7f47946aa8789 (diff) |
timeout_add -> timeout_add_msec
ok miod@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/i82365.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/i82365.c b/sys/dev/ic/i82365.c index e96df2cab3d..36ef617a2b4 100644 --- a/sys/dev/ic/i82365.c +++ b/sys/dev/ic/i82365.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365.c,v 1.27 2008/05/22 19:23:04 mk Exp $ */ +/* $OpenBSD: i82365.c,v 1.28 2009/08/02 17:20:08 blambert Exp $ */ /* $NetBSD: i82365.c,v 1.10 1998/06/09 07:36:55 thorpej Exp $ */ /* @@ -684,7 +684,7 @@ pcic_poll_intr(arg) if (sc->handle[i].flags & PCIC_FLAG_SOCKETP) pcic_intr_socket(&sc->handle[i]); - timeout_add(&sc->poll_timeout, hz / 2); + timeout_add_msec(&sc->poll_timeout, 500); splx(s); } @@ -846,7 +846,7 @@ pcic_power(why, arg) while ((pe = SIMPLEQ_FIRST(&h->events))) pcic_event_process(h, pe); - timeout_add(&sc->poll_timeout, hz / 2); + timeout_add_msec(&sc->poll_timeout, 500); } } |