Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/dev Put a comment about BREAK detection; DD...
details: https://anonhg.NetBSD.org/src/rev/8e5da38850a8
branches: trunk
changeset: 480413:8e5da38850a8
user: nisimura <nisimura%NetBSD.org@localhost>
date: Wed Jan 12 01:59:45 2000 +0000
description:
Put a comment about BREAK detection; DDB fails to resume. Need to clear
the condition before resume?
diffstat:
sys/arch/luna68k/dev/siotty.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r b85d8f7a98d0 -r 8e5da38850a8 sys/arch/luna68k/dev/siotty.c
--- a/sys/arch/luna68k/dev/siotty.c Wed Jan 12 01:57:22 2000 +0000
+++ b/sys/arch/luna68k/dev/siotty.c Wed Jan 12 01:59:45 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siotty.c,v 1.2 2000/01/07 05:13:08 nisimura Exp $ */
+/* $NetBSD: siotty.c,v 1.3 2000/01/12 01:59:45 nisimura Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: siotty.c,v 1.2 2000/01/07 05:13:08 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siotty.c,v 1.3 2000/01/12 01:59:45 nisimura Exp $");
#include "opt_ddb.h"
@@ -176,10 +176,11 @@
}
if (tp == NULL || (tp->t_state & TS_ISOPEN) == 0)
continue;
-#if 0 && defined(DDB)
- if ((rr && RR_BREAK) && tp->t_dev == cn_tab->cn_dev)
+#if 0 && defined(DDB) /* ?!?! fails to resume ?!?! */
+ if ((rr & RR_BREAK) && tp->t_dev == cn_tab->cn_dev) {
cpu_Debugger();
- else
+ return;
+ }
#endif
(*linesw[tp->t_line].l_rint)(code, tp);
} while ((rr = getsiocsr(sio)) & RR_RXRDY);
Home |
Main Index |
Thread Index |
Old Index