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 Replace the (no longer working) check for...
details: https://anonhg.NetBSD.org/src/rev/9a0dd4985be7
branches: trunk
changeset: 499725:9a0dd4985be7
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Mon Nov 27 18:39:04 2000 +0000
description:
Replace the (no longer working) check for tp->t_line == 0 with
tp->t_linesw == linesw[0]. Hopefully this is correct.
diffstat:
sys/arch/hp300/dev/apci.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b6c2551e05ca -r 9a0dd4985be7 sys/arch/hp300/dev/apci.c
--- a/sys/arch/hp300/dev/apci.c Mon Nov 27 18:26:38 2000 +0000
+++ b/sys/arch/hp300/dev/apci.c Mon Nov 27 18:39:04 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apci.c,v 1.9 2000/11/02 00:35:05 eeh Exp $ */
+/* $NetBSD: apci.c,v 1.10 2000/11/27 18:39:04 jdolecek Exp $ */
/*-
* Copyright (c) 1996, 1997, 1999 The NetBSD Foundation, Inc.
@@ -482,7 +482,7 @@
case IIR_TXRDY:
tp->t_state &=~ (TS_BUSY|TS_FLUSH);
- if (tp->t_line)
+ if (tp->t_linesw != linesw[0])
(*tp->t_linesw->l_start)(tp);
else
apcistart(tp);
Home |
Main Index |
Thread Index |
Old Index