summaryrefslogtreecommitdiffstats
path: root/sys/dev/si/si.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/si/si.c')
-rw-r--r--sys/dev/si/si.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 564227d..603dcf6 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -1369,10 +1369,7 @@ siparam(struct tty *tp, struct termios *t)
ccbp->hi_mask = val;
/* ========== set hi_prtcl ========== */
- val = 0;
- /* Monitor DCD etc. if a modem */
- if (!(cflag & CLOCAL))
- val |= SP_DCEN;
+ val = SP_DCEN; /* Monitor DCD always, or TIOCMGET misses it */
if (iflag & IXANY)
val |= SP_TANY;
if (iflag & IXON)
OpenPOWER on IntegriCloud