summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-27 19:43:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-27 19:43:03 +0000
commite317d0527a2e9963eb4d77f7416c9714f02efcfd (patch)
treeeaa8063fc0ac3d08d1f163a76afbf89c8b0d3f4c /sys/arch/sparc64/dev
parent30d8e2d9eb115d129bbf776a5861f20d9ca37c53 (diff)
2 lines of code to support tty timestamps
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/z8530tty.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/z8530tty.c b/sys/arch/sparc64/dev/z8530tty.c
index 52fc7bcc412..3a4ba6ffb9b 100644
--- a/sys/arch/sparc64/dev/z8530tty.c
+++ b/sys/arch/sparc64/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.10 2005/06/06 01:08:47 miod Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.11 2006/04/27 19:43:02 deraadt Exp $ */
/* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */
/*-
@@ -1358,6 +1358,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)) {