From 8eefd80d06f8f0daa2e14d686c3efab664c7d282 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 28 Mar 1995 11:13:44 +0000 Subject: [PATCH] Forget to add LSR_FE to discard (see prev commit) Reviewed by: Submitted by: Obtained from: CVS: --- sys/dev/sio/sio.c | 4 ++-- sys/i386/isa/sio.c | 4 ++-- sys/isa/sio.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 0c8883ee9aed..70d0f4d4e33b 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.73 1995/03/28 06:15:44 ache Exp $ + * $Id: sio.c,v 1.74 1995/03/28 10:51:59 ache Exp $ */ #include "sio.h" @@ -1127,7 +1127,7 @@ if (com->iptr - com->ibuf == 8) works even if IGN* is set. Assume TTY_OE mapped to TTY_PE */ - if ( (!(line_status & (LSR_PE|LSR_OE)) + if ( (!(line_status & (LSR_PE|LSR_OE|LSR_FE)) || !(com->tp->t_iflag & IGNPAR)) && (!(line_status & LSR_BI) || !(com->tp->t_iflag & IGNBRK))) { diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c index 0c8883ee9aed..70d0f4d4e33b 100644 --- a/sys/i386/isa/sio.c +++ b/sys/i386/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.73 1995/03/28 06:15:44 ache Exp $ + * $Id: sio.c,v 1.74 1995/03/28 10:51:59 ache Exp $ */ #include "sio.h" @@ -1127,7 +1127,7 @@ if (com->iptr - com->ibuf == 8) works even if IGN* is set. Assume TTY_OE mapped to TTY_PE */ - if ( (!(line_status & (LSR_PE|LSR_OE)) + if ( (!(line_status & (LSR_PE|LSR_OE|LSR_FE)) || !(com->tp->t_iflag & IGNPAR)) && (!(line_status & LSR_BI) || !(com->tp->t_iflag & IGNBRK))) { diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 0c8883ee9aed..70d0f4d4e33b 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.73 1995/03/28 06:15:44 ache Exp $ + * $Id: sio.c,v 1.74 1995/03/28 10:51:59 ache Exp $ */ #include "sio.h" @@ -1127,7 +1127,7 @@ if (com->iptr - com->ibuf == 8) works even if IGN* is set. Assume TTY_OE mapped to TTY_PE */ - if ( (!(line_status & (LSR_PE|LSR_OE)) + if ( (!(line_status & (LSR_PE|LSR_OE|LSR_FE)) || !(com->tp->t_iflag & IGNPAR)) && (!(line_status & LSR_BI) || !(com->tp->t_iflag & IGNBRK))) {