Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/dev More fixes for linesw changes.
details: https://anonhg.NetBSD.org/src/rev/c9a0c5317b71
branches: trunk
changeset: 499714:c9a0c5317b71
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Mon Nov 27 15:28:41 2000 +0000
description:
More fixes for linesw changes.
diffstat:
sys/arch/hp300/dev/dca.c | 7 ++-----
sys/arch/hp300/dev/ite.c | 6 +++---
2 files changed, 5 insertions(+), 8 deletions(-)
diffs (44 lines):
diff -r 771c79df1c8f -r c9a0c5317b71 sys/arch/hp300/dev/dca.c
--- a/sys/arch/hp300/dev/dca.c Mon Nov 27 15:26:17 2000 +0000
+++ b/sys/arch/hp300/dev/dca.c Mon Nov 27 15:28:41 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dca.c,v 1.40 2000/11/02 00:35:05 eeh Exp $ */
+/* $NetBSD: dca.c,v 1.41 2000/11/27 15:28:42 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -573,10 +573,7 @@
if (tp == NULL)
break;
tp->t_state &=~ (TS_BUSY|TS_FLUSH);
- if (tp->t_line)
- (*tp->t_linesw->l_start)(tp);
- else
- dcastart(tp);
+ (*tp->t_linesw->l_start)(tp);
break;
case IIR_RLS:
dcaeint(sc, dca->dca_lsr);
diff -r 771c79df1c8f -r c9a0c5317b71 sys/arch/hp300/dev/ite.c
--- a/sys/arch/hp300/dev/ite.c Mon Nov 27 15:26:17 2000 +0000
+++ b/sys/arch/hp300/dev/ite.c Mon Nov 27 15:28:41 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ite.c,v 1.45 2000/11/02 00:35:05 eeh Exp $ */
+/* $NetBSD: ite.c,v 1.46 2000/11/27 15:28:41 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -574,11 +574,11 @@
if (code == '\0' && (str = kbd_stringmap[(int)c]) != '\0') {
while (*str)
- (*linesw[kbd_tty->t_line].l_rint)(*str++, kbd_tty);
+ (*kbd_tty->t_linesw->l_rint)(*str++, kbd_tty);
} else {
if (metamode)
code |= 0x80;
- (*linesw[kbd_tty->t_line].l_rint)(code, kbd_tty);
+ (*kbd_tty->t_linesw->l_rint)(code, kbd_tty);
}
}
Home |
Main Index |
Thread Index |
Old Index