summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-27 19:31:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-27 19:31:45 +0000
commit30d8e2d9eb115d129bbf776a5861f20d9ca37c53 (patch)
treee7c34955015f14585a7a9ad462dbbd82b64f89db /sys/arch/sparc
parenta15426ecd54ac6bd38f84c977ce6e8dd09f7d5cf (diff)
2 lines of code in most drivers, to do the timestamping; ok miod kettenis
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/z8530tty.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/z8530tty.c b/sys/arch/sparc/dev/z8530tty.c
index 2403cba6830..8c1fa31d03a 100644
--- a/sys/arch/sparc/dev/z8530tty.c
+++ b/sys/arch/sparc/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.5 2005/11/11 15:21:59 fgsch Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.6 2006/04/27 19:31:43 deraadt Exp $ */
/* $NetBSD: z8530tty.c,v 1.13 1996/10/16 20:42:14 gwr Exp $ */
/*-
@@ -1397,6 +1397,10 @@ zstty_stint(cs, force)
delta = rr0 ^ cs->cs_rr0;
else
delta = cs->cs_rr0_mask;
+
+ ttytstamp(tp, cs->cs_rr0 & ZSRR0_CTS, rr0 & ZSRR0_CTS,
+ cs->cs_rr0 & ZSRR0_DCD, rr0 & ZSRR0_DCD);
+
cs->cs_rr0 = rr0;
if (ISSET(delta, cs->cs_rr0_mask)) {