summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2003-09-28 13:12:26 +0000
committerbde <bde@FreeBSD.org>2003-09-28 13:12:26 +0000
commit458a41c429f33523a684910ffc79c605a7cee146 (patch)
tree3dccdf873614825bc6fcd8001ef354d3b34ea8b7 /sys/dev/sio
parentc0b2688791f0aeed88cfaf2ca398efc7e9ace231 (diff)
downloadFreeBSD-src-458a41c429f33523a684910ffc79c605a7cee146.zip
FreeBSD-src-458a41c429f33523a684910ffc79c605a7cee146.tar.gz
Removed some nearly dead code in comparam(). We don't need to recover
from fiddling with CS_TTGO since fiddling with CS_TTGO was removed in rev.1.218 of the i386/isa version (which was merged with loss of history in rev.1.223 of this version).
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index e8f88a8..50b2d55 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -2302,8 +2302,6 @@ comparam(tp, t)
if (sio_getreg(com, com_dlbh) != dlbh)
sio_setreg(com, com_dlbh, dlbh);
- if (!(tp->t_state & TS_TTSTOP))
- com->state |= CS_TTGO;
efr_flowbits = 0;
if (cflag & CRTS_IFLOW) {
@@ -2348,13 +2346,6 @@ comparam(tp, t)
/* XXX shouldn't call functions while intrs are disabled. */
disc_optim(tp, t, com);
- /*
- * Recover from fiddling with CS_TTGO. We used to call siointr1()
- * unconditionally, but that defeated the careful discarding of
- * stale input in sioopen().
- */
- if (com->state >= (CS_BUSY | CS_TTGO))
- siointr1(com);
mtx_unlock_spin(&sio_lock);
splx(s);
OpenPOWER on IntegriCloud