aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sio/sio.c6
-rw-r--r--sys/i386/isa/sio.c6
-rw-r--r--sys/isa/sio.c6
3 files changed, 15 insertions, 3 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 194ce00e8ea2..fd3efc82d202 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.17 1993/12/09 17:24:19 ache Exp $
+ * $Id: sio.c,v 1.18 1993/12/11 00:36:14 ache Exp $
*/
#include "sio.h"
@@ -662,7 +662,11 @@ bidir_open_top:
* Ache.
*/
tp->t_iflag = 0;
+#ifdef COMCONSOLE
+ tp->t_oflag = TTYDEF_OFLAG;
+#else
tp->t_oflag = 0;
+#endif
tp->t_cflag = CREAD | CS8 | CLOCAL;
tp->t_lflag = 0;
tp->t_ispeed = tp->t_ospeed = comdefaultrate;
diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c
index 194ce00e8ea2..fd3efc82d202 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.17 1993/12/09 17:24:19 ache Exp $
+ * $Id: sio.c,v 1.18 1993/12/11 00:36:14 ache Exp $
*/
#include "sio.h"
@@ -662,7 +662,11 @@ bidir_open_top:
* Ache.
*/
tp->t_iflag = 0;
+#ifdef COMCONSOLE
+ tp->t_oflag = TTYDEF_OFLAG;
+#else
tp->t_oflag = 0;
+#endif
tp->t_cflag = CREAD | CS8 | CLOCAL;
tp->t_lflag = 0;
tp->t_ispeed = tp->t_ospeed = comdefaultrate;
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 194ce00e8ea2..fd3efc82d202 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.17 1993/12/09 17:24:19 ache Exp $
+ * $Id: sio.c,v 1.18 1993/12/11 00:36:14 ache Exp $
*/
#include "sio.h"
@@ -662,7 +662,11 @@ bidir_open_top:
* Ache.
*/
tp->t_iflag = 0;
+#ifdef COMCONSOLE
+ tp->t_oflag = TTYDEF_OFLAG;
+#else
tp->t_oflag = 0;
+#endif
tp->t_cflag = CREAD | CS8 | CLOCAL;
tp->t_lflag = 0;
tp->t_ispeed = tp->t_ospeed = comdefaultrate;