diff options
author | 2010-07-02 04:23:15 +0000 | |
---|---|---|
committer | 2010-07-02 04:23:15 +0000 | |
commit | 6ed05477edc54a42be005dec60b756e11c45fdbf (patch) | |
tree | 7c3bf724bdc9a34389728dabdad3eb1fff90cb37 /sys | |
parent | gremlin crept in by accident (diff) | |
download | wireguard-openbsd-6ed05477edc54a42be005dec60b756e11c45fdbf.tar.xz wireguard-openbsd-6ed05477edc54a42be005dec60b756e11c45fdbf.zip |
timeout_add -> timeout_add_msec
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/isa/i82365_isa.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/i82365_isapnp.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/i82365_pci.c | 4 |
3 files changed, 6 insertions, 6 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; } } diff --git a/sys/dev/pci/i82365_pci.c b/sys/dev/pci/i82365_pci.c index 583b018a12a..9aed3ab08dc 100644 --- a/sys/dev/pci/i82365_pci.c +++ b/sys/dev/pci/i82365_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_pci.c,v 1.9 2005/08/09 04:10:11 mickey Exp $ */ +/* $OpenBSD: i82365_pci.c,v 1.10 2010/07/02 04:23:15 blambert Exp $ */ /* $NetBSD: i82365_pci.c,v 1.11 2000/02/24 03:42:44 itohy Exp $ */ /* @@ -207,7 +207,7 @@ pcic_pci_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; } } |