Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/dev Fix fallout from lastest tty changes.



details:   https://anonhg.NetBSD.org/src/rev/b254fb6f3880
branches:  trunk
changeset: 503143:b254fb6f3880
user:      leo <leo%NetBSD.org@localhost>
date:      Thu Feb 01 08:59:45 2001 +0000

description:
Fix fallout from lastest tty changes.

diffstat:

 sys/arch/atari/dev/ite.c |  14 +++++++-------
 sys/arch/atari/dev/zs.c  |   4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (63 lines):

diff -r f2bb47758d42 -r b254fb6f3880 sys/arch/atari/dev/ite.c
--- a/sys/arch/atari/dev/ite.c  Thu Feb 01 08:58:03 2001 +0000
+++ b/sys/arch/atari/dev/ite.c  Thu Feb 01 08:59:45 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.31 2000/11/02 00:32:52 eeh Exp $     */
+/*     $NetBSD: ite.c,v 1.32 2001/02/01 08:59:45 leo Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -1055,9 +1055,9 @@
                 * keypad-appmode sends SS3 followed by the above
                 * translated character
                 */
-               (*linesw[kbd_tty->t_line].l_rint) (27, kbd_tty);
-               (*linesw[kbd_tty->t_line].l_rint) ('O', kbd_tty);
-               (*linesw[kbd_tty->t_line].l_rint) (out[cp - in], kbd_tty);
+               kbd_tty->t_linesw->l_rint(27, kbd_tty);
+               kbd_tty->t_linesw->l_rint('O', kbd_tty);
+               kbd_tty->t_linesw->l_rint(out[cp - in], kbd_tty);
                splx(s);
                return;
        } else {
@@ -1087,11 +1087,11 @@
                 * in the default keymap
                 */
                for (i = *str++; i; i--)
-                       (*linesw[kbd_tty->t_line].l_rint) (*str++, kbd_tty);
+                       kbd_tty->t_linesw->l_rint(*str++, kbd_tty);
                splx(s);
                return;
        }
-       (*linesw[kbd_tty->t_line].l_rint) (code, kbd_tty);
+       kbd_tty->t_linesw->l_rint(code, kbd_tty);
 
        splx(s);
        return;
@@ -1107,7 +1107,7 @@
        kbd_tty = kbd_ite->tp;
        KDASSERT(kbd_tty);
        while (*str)
-               (*linesw[kbd_tty->t_line].l_rint) (*str++, kbd_tty);
+               kbd_tty->t_linesw->l_rint(*str++, kbd_tty);
 }
 
 static void
diff -r f2bb47758d42 -r b254fb6f3880 sys/arch/atari/dev/zs.c
--- a/sys/arch/atari/dev/zs.c   Thu Feb 01 08:58:03 2001 +0000
+++ b/sys/arch/atari/dev/zs.c   Thu Feb 01 08:59:45 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zs.c,v 1.32 2000/11/02 00:32:53 eeh Exp $      */
+/*     $NetBSD: zs.c,v 1.33 2001/02/01 08:59:45 leo Exp $      */
 
 /*
  * Copyright (c) 1995 L. Weppelman (Atari modifications)
@@ -706,7 +706,7 @@
        unit   = cs->cs_unit;   /* set up to handle interrupts  */
        zc     = cs->cs_zc;
        tp     = cs->cs_ttyp;
-       line   = &linesw[tp->t_line];
+       line   = tp->t_linesw;
        /*
         * Compute the number of interrupts in the receive ring.
         * If the count is overlarge, we lost some events, and



Home | Main Index | Thread Index | Old Index