diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-04-12 22:00:41 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1995-04-12 22:00:41 +0000 |
| commit | 04a6a5a9ac1e8d4a986b601ecf2ad9ccb24deb5a (patch) | |
| tree | e0e93162ac70db77cedeae77faea5b0bbd584e32 /sys/dev/sio/sio.c | |
| parent | 15587f8eaf9ade03de554c62e2f22951ef98f650 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
| -rw-r--r-- | sys/dev/sio/sio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index d7d787bd1b6e..2c4c1cf7252c 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.89 1995/04/11 17:58:09 ache Exp $ + * $Id: sio.c,v 1.90 1995/04/12 20:48:05 wollman Exp $ */ #include "sio.h" @@ -1127,6 +1127,7 @@ siointr1(com) recv_data = inb(com->data_port); if (line_status & (LSR_PE|LSR_FE|LSR_BI)) { #ifdef DDB +#ifdef BREAK_TO_DEBUGGER if ( (line_status & LSR_BI) && (COMCONSOLE || boothowto & RB_SERIAL) && com->unit == comconsole) { @@ -1134,6 +1135,7 @@ siointr1(com) goto cont; } #endif +#endif /* Don't store PE if IGNPAR and BI if IGNBRK, this hack allows "raw" tty optimization @@ -1293,10 +1295,12 @@ sioioctl(dev, cmd, data, flag, p) tp = com->tp; term = tp->t_termios; oldcmd = cmd; +#if defined (COMPAT_43) if ((error = ttsetcompat(tp, &cmd, data, &term)) != 0) return error; if (cmd != oldcmd) data = (caddr_t)&term; +#endif if (mynor & CONTROL_MASK) { struct termios *ct; |
