diff options
author | 2010-06-30 18:10:47 +0000 | |
---|---|---|
committer | 2010-06-30 18:10:47 +0000 | |
commit | d485008a20fb6b78bbb1b30ed059b8140d7f239b (patch) | |
tree | 53708b29e43e969bc18b0e55712398525a08dde3 | |
parent | Bring cd(4) into line with sd(4) and st(4) by implementing CDF_DYING (diff) | |
download | wireguard-openbsd-d485008a20fb6b78bbb1b30ed059b8140d7f239b.tar.xz wireguard-openbsd-d485008a20fb6b78bbb1b30ed059b8140d7f239b.zip |
Make this compile after TTYHOG definition change (but the logic should be fixed
to not depend on it).
-rw-r--r-- | sys/arch/hp300/dev/apci.c | 4 | ||||
-rw-r--r-- | sys/arch/hp300/dev/dca.c | 4 |
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; } |