diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-10-12 20:16:02 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-10-12 20:16:02 +0000 |
| commit | 04e9e86c1f064483deebee2d089b293b27d48224 (patch) | |
| tree | f2ae6b514459b981c2c2e55febaa693f86e71845 /sys/dev/sio/sio.c | |
| parent | 6b8e5a9862449d5409d085ba4f9d420e6d524f5c (diff) | |
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
| -rw-r--r-- | sys/dev/sio/sio.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index f477d73c1b5f..f2c0009c1d38 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -993,14 +993,7 @@ sioattach(dev, xrid, rclk) tp->t_init_in.c_cflag = TTYDEF_CFLAG; tp->t_init_in.c_lflag = 0; if (unit == comconsole) { - tp->t_init_in.c_iflag = TTYDEF_IFLAG; - tp->t_init_in.c_oflag = TTYDEF_OFLAG; - tp->t_init_in.c_cflag = TTYDEF_CFLAG | CLOCAL; - tp->t_init_in.c_lflag = TTYDEF_LFLAG; - tp->t_lock_out.c_cflag = tp->t_lock_in.c_cflag = CLOCAL; - tp->t_lock_out.c_ispeed = tp->t_lock_out.c_ospeed = - tp->t_lock_in.c_ispeed = tp->t_lock_in.c_ospeed = - tp->t_init_in.c_ispeed = tp->t_init_in.c_ospeed = comdefaultrate; + ttyconsolemode(tp, comdefaultrate); } else tp->t_init_in.c_ispeed = tp->t_init_in.c_ospeed = TTYDEF_SPEED; if (siosetwater(com, tp->t_init_in.c_ispeed) != 0) { |
