diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2010-07-02 04:23:16 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2010-07-02 04:23:16 +0000 |
commit | db7ccadcd7f13445144bbbdc0a2ec5cc440b72f0 (patch) | |
tree | febc34bd521d244b3ec1fc448b2655ac62ed3751 /sys/dev/isa | |
parent | 6432fb3d1ca28c8ab0f2e2b8e9ea4bbb18ae516e (diff) |
timeout_add -> timeout_add_msec
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/i82365_isa.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/i82365_isapnp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/isa/i82365_isa.c b/sys/dev/isa/i82365_isa.c index ba7468a6cea..8a290685258 100644 --- a/sys/dev/isa/i82365_isa.c +++ b/sys/dev/isa/i82365_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_isa.c,v 1.20 2005/03/25 16:41:18 mickey Exp $ */ +/* $OpenBSD: i82365_isa.c,v 1.21 2010/07/02 04:23:15 blambert Exp $ */ /* $NetBSD: i82365_isa.c,v 1.11 1998/06/09 07:25:00 thorpej Exp $ */ /* @@ -230,7 +230,7 @@ pcic_isa_attach(parent, self, aux) printf("polling enabled\n"); if (sc->poll_established == 0) { timeout_set(&sc->poll_timeout, pcic_poll_intr, sc); - timeout_add(&sc->poll_timeout, hz / 2); + timeout_add_msec(&sc->poll_timeout, 500); sc->poll_established = 1; } } diff --git a/sys/dev/isa/i82365_isapnp.c b/sys/dev/isa/i82365_isapnp.c index 834bda5b8a3..0a4b3ca8198 100644 --- a/sys/dev/isa/i82365_isapnp.c +++ b/sys/dev/isa/i82365_isapnp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_isapnp.c,v 1.6 2005/01/27 17:03:23 millert Exp $ */ +/* $OpenBSD: i82365_isapnp.c,v 1.7 2010/07/02 04:23:15 blambert Exp $ */ /* $NetBSD: i82365_isapnp.c,v 1.8 2000/02/23 17:22:11 soren Exp $ */ /* @@ -208,7 +208,7 @@ pcic_isapnp_attach(parent, self, aux) printf("polling enabled\n"); if (sc->poll_established == 0) { timeout_set(&sc->poll_timeout, pcic_poll_intr, sc); - timeout_add(&sc->poll_timeout, hz / 2); + timeout_add_msec(&sc->poll_timeout, 500); sc->poll_established = 1; } } |