From ff05bd685b4637315e5ce84939a22468a8e66e40 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 30 Jun 2010 18:10:48 +0000 Subject: Make this compile after TTYHOG definition change (but the logic should be fixed to not depend on it). --- sys/arch/hp300/dev/apci.c | 4 ++-- sys/arch/hp300/dev/dca.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/hp300/dev') 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; } -- cgit v1.2.3