diff options
| -rw-r--r-- | sys/kern/tty.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 70aff3a4c73..d3e09eb5c03 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -130,8 +130,13 @@ const char ttyout[] = "ttyout"; * 2) It's a locally attached terminal, and we are therefore ignoring carrier. * 3) We're using a flow control mechanism that overloads the carrier signal. */ +#ifndef LOCKDOC #define CONNECTED(tp) (ISSET(tp->t_state, TS_CARR_ON) || \ ISSET(tp->t_cflag, CLOCAL | MDMBUF)) +#else +/* Circumvent Bochs' interesting com* implementation */ +#define CONNECTED(tp) true +#endif /* * Table with character classes and parity. The 8th bit indicates parity, |
