summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sparc/dev/z8530tty.c3
-rw-r--r--sys/arch/sparc64/dev/z8530tty.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/z8530tty.c b/sys/arch/sparc/dev/z8530tty.c
index 8c1fa31d03a..410baf4f1d1 100644
--- a/sys/arch/sparc/dev/z8530tty.c
+++ b/sys/arch/sparc/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.6 2006/04/27 19:31:43 deraadt Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.7 2006/04/29 19:55:31 naddy Exp $ */
/* $NetBSD: z8530tty.c,v 1.13 1996/10/16 20:42:14 gwr Exp $ */
/*-
@@ -1380,6 +1380,7 @@ zstty_stint(cs, force)
int force;
{
struct zstty_softc *zst = cs->cs_private;
+ struct tty *tp = zst->zst_tty;
u_char rr0, delta;
rr0 = zs_read_csr(cs);
diff --git a/sys/arch/sparc64/dev/z8530tty.c b/sys/arch/sparc64/dev/z8530tty.c
index 3a4ba6ffb9b..06d5fd81c0e 100644
--- a/sys/arch/sparc64/dev/z8530tty.c
+++ b/sys/arch/sparc64/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.11 2006/04/27 19:43:02 deraadt Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.12 2006/04/29 19:55:31 naddy Exp $ */
/* $NetBSD: z8530tty.c,v 1.77 2001/05/30 15:24:24 lukem Exp $ */
/*-
@@ -1341,6 +1341,7 @@ zstty_stint(cs, force)
int force;
{
struct zstty_softc *zst = cs->cs_private;
+ struct tty *tp = zst->zst_tty;
u_char rr0, delta;
rr0 = zs_read_csr(cs);