summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-06-30 18:10:48 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-06-30 18:10:48 +0000
commitff05bd685b4637315e5ce84939a22468a8e66e40 (patch)
treea6228edff5decce2daf6795426664e30dcfe0299 /sys/arch/hp300/dev
parenta7c1f8cf47eb851ce70176ad74b2b8f57fe9c538 (diff)
Make this compile after TTYHOG definition change (but the logic should be fixed
to not depend on it).
Diffstat (limited to 'sys/arch/hp300/dev')
-rw-r--r--sys/arch/hp300/dev/apci.c4
-rw-r--r--sys/arch/hp300/dev/dca.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hp300/dev/apci.c b/sys/arch/hp300/dev/apci.c
index 709af09962a..4e5b9ad65ba 100644
--- a/sys/arch/hp300/dev/apci.c
+++ b/sys/arch/hp300/dev/apci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apci.c,v 1.39 2010/06/28 14:13:27 deraadt Exp $ */
+/* $OpenBSD: apci.c,v 1.40 2010/06/30 18:10:47 miod Exp $ */
/* $NetBSD: apci.c,v 1.9 2000/11/02 00:35:05 eeh Exp $ */
/*-
@@ -486,7 +486,7 @@ apciintr(arg)
}
if (iflowdone == 0 && tp != NULL &&
(tp->t_cflag & CRTS_IFLOW) &&
- tp->t_rawq.c_cc > (TTYHOG / 2)) {
+ tp->t_rawq.c_cc > (TTYHOG(tp) / 2)) {
apci->ap_mcr &= ~MCR_RTS;
iflowdone = 1;
}
diff --git a/sys/arch/hp300/dev/dca.c b/sys/arch/hp300/dev/dca.c
index c59e047f311..2083b880b70 100644
--- a/sys/arch/hp300/dev/dca.c
+++ b/sys/arch/hp300/dev/dca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dca.c,v 1.40 2010/06/28 14:13:27 deraadt Exp $ */
+/* $OpenBSD: dca.c,v 1.41 2010/06/30 18:10:47 miod Exp $ */
/* $NetBSD: dca.c,v 1.35 1997/05/05 20:58:18 thorpej Exp $ */
/*
@@ -570,7 +570,7 @@ dcaintr(arg)
}
if (iflowdone == 0 && tp != NULL &&
(tp->t_cflag & CRTS_IFLOW) &&
- tp->t_rawq.c_cc > (TTYHOG / 2)) {
+ tp->t_rawq.c_cc > (TTYHOG(tp) / 2)) {
dca->dca_mcr &= ~MCR_RTS;
iflowdone = 1;
}