summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/z8530kbd.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2008-10-15 19:12:21 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2008-10-15 19:12:21 +0000
commit447ea046b5b4aba425b2879f683099c1cfa3713f (patch)
tree8bca5f4e5c63f94a107ad0f4fb69f34c526fe488 /sys/arch/sparc64/dev/z8530kbd.c
parentb302a033156f300c77b20b1eb011b4ceaccff009 (diff)
Second pass of simple timeout_add -> timeout_add_sec conversions
This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
Diffstat (limited to 'sys/arch/sparc64/dev/z8530kbd.c')
-rw-r--r--sys/arch/sparc64/dev/z8530kbd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/z8530kbd.c b/sys/arch/sparc64/dev/z8530kbd.c
index 3d4a5ddae06..5610131842a 100644
--- a/sys/arch/sparc64/dev/z8530kbd.c
+++ b/sys/arch/sparc64/dev/z8530kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530kbd.c,v 1.19 2007/05/25 21:27:15 krw Exp $ */
+/* $OpenBSD: z8530kbd.c,v 1.20 2008/10/15 19:12:19 blambert Exp $ */
/* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */
/*-
@@ -932,7 +932,7 @@ zskbd_rxsoft(zst)
if (cc == zskbd_rbuf_size) {
zst->zst_floods++;
if (zst->zst_errors++ == 0)
- timeout_add(&zst->zst_diag_ch, 60 * hz);
+ timeout_add_sec(&zst->zst_diag_ch, 60);
}
while (cc) {
@@ -942,7 +942,7 @@ zskbd_rxsoft(zst)
if (ISSET(rr1, ZSRR1_DO)) {
zst->zst_overflows++;
if (zst->zst_errors++ == 0)
- timeout_add(&zst->zst_diag_ch, 60 * hz);
+ timeout_add_sec(&zst->zst_diag_ch, 60);
}
if (ISSET(rr1, ZSRR1_FE))
SET(code, TTY_FE);