Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/dev New line discipline.
details: https://anonhg.NetBSD.org/src/rev/d5698d86836f
branches: trunk
changeset: 499155:d5698d86836f
user: minoura <minoura%NetBSD.org@localhost>
date: Mon Nov 13 15:20:28 2000 +0000
description:
New line discipline.
diffstat:
sys/arch/x68k/dev/ite.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (45 lines):
diff -r bda0bc61b0ba -r d5698d86836f sys/arch/x68k/dev/ite.c
--- a/sys/arch/x68k/dev/ite.c Mon Nov 13 15:11:57 2000 +0000
+++ b/sys/arch/x68k/dev/ite.c Mon Nov 13 15:20:28 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ite.c,v 1.23 2000/11/02 00:42:41 eeh Exp $ */
+/* $NetBSD: ite.c,v 1.24 2000/11/13 15:20:28 minoura Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -747,7 +747,7 @@
itesendch (ch)
int ch;
{
- (*linesw[kbd_tty->t_line].l_rint)(ch, kbd_tty);
+ (*kbd_tty->t_linesw->l_rint)(ch, kbd_tty);
}
@@ -898,9 +898,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 {
@@ -929,11 +929,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;
Home |
Main Index |
Thread Index |
Old Index