summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-01-11 16:55:00 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-01-11 16:55:00 +0000
commit6254d18da4261171d49fa4a15608cee482b92f47 (patch)
tree12a1e9c0b0b4950a774fa231889ac60993c9e093 /sys/arch/macppc/dev
parent4084e28db0c6bedbe315fa8082c60a0caad21e07 (diff)
Actual final round of timeout_add(to, n * hz) -> timeout_add_sec(to, n)
conversions. ok kettenis@ ok krw@ (possibly for the second time :)
Diffstat (limited to 'sys/arch/macppc/dev')
-rw-r--r--sys/arch/macppc/dev/if_bm.c4
-rw-r--r--sys/arch/macppc/dev/z8530tty.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/macppc/dev/if_bm.c b/sys/arch/macppc/dev/if_bm.c
index 26471c4e44c..ad4cab124f1 100644
--- a/sys/arch/macppc/dev/if_bm.c
+++ b/sys/arch/macppc/dev/if_bm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bm.c,v 1.25 2008/11/28 02:44:17 brad Exp $ */
+/* $OpenBSD: if_bm.c,v 1.26 2009/01/11 16:54:59 blambert Exp $ */
/* $NetBSD: if_bm.c,v 1.1 1999/01/01 01:27:52 tsubai Exp $ */
/*-
@@ -435,7 +435,7 @@ bmac_init(struct bmac_softc *sc)
bmac_start(ifp);
- timeout_add(&sc->sc_tick_ch, hz);
+ timeout_add_sec(&sc->sc_tick_ch, 1);
}
void
diff --git a/sys/arch/macppc/dev/z8530tty.c b/sys/arch/macppc/dev/z8530tty.c
index 1bffdce0ff9..f9f6a33b4c6 100644
--- a/sys/arch/macppc/dev/z8530tty.c
+++ b/sys/arch/macppc/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.7 2008/03/01 19:17:03 kettenis Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.8 2009/01/11 16:54:59 blambert Exp $ */
/* $NetBSD: z8530tty.c,v 1.13 1996/10/16 20:42:14 gwr Exp $ */
/*-
@@ -1431,7 +1431,7 @@ zstty_rxsoft(struct zstty_softc *zst, struct tty *tp)
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);