aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1993-12-13 13:20:50 +0000
committerDavid Greenman <dg@FreeBSD.org>1993-12-13 13:20:50 +0000
commitd39cf1821308c71f8e3af03907f603a1175275f5 (patch)
tree0fba097d852cb9f2f3e87adf0a1e16b312808806
parentdaac7d88f829cd4700a7ff99ed1a1f6c2f1e0bcf (diff)
downloadsrc-d39cf1821308c71f8e3af03907f603a1175275f5.tar.gz
src-d39cf1821308c71f8e3af03907f603a1175275f5.zip
set output flags to ttydefault if COMCONSOLE is defined.
Notes
Notes: svn path=/head/; revision=858
-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;