diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-10-18 21:51:27 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-10-18 21:51:27 +0000 |
| commit | 95bc56897714a12b8e95c92dd8e1a70f1154162d (patch) | |
| tree | 20f824d4840c6e3d41b20debf19f65f472d3916d /sys/dev/dcons | |
| parent | 2b0448ba0c40d092a45e294f98d8256c6fdb33d7 (diff) | |
Notes
Diffstat (limited to 'sys/dev/dcons')
| -rw-r--r-- | sys/dev/dcons/dcons_os.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c index a04d16eda9f2..5a5f0aa10731 100644 --- a/sys/dev/dcons/dcons_os.c +++ b/sys/dev/dcons/dcons_os.c @@ -294,12 +294,7 @@ dcons_open(DEV dev, int flag, int mode, THREAD *td) s = spltty(); if ((tp->t_state & TS_ISOPEN) == 0) { tp->t_state |= TS_CARR_ON; - ttychars(tp); - tp->t_iflag = TTYDEF_IFLAG; - tp->t_oflag = TTYDEF_OFLAG; - tp->t_cflag = TTYDEF_CFLAG|CLOCAL; - tp->t_lflag = TTYDEF_LFLAG; - tp->t_ispeed = tp->t_ospeed = TTYDEF_SPEED; + ttyconsolemode(tp, 0); ttsetwater(tp); } else if ((tp->t_state & TS_XCLUDE) && suser(td)) { splx(s); |
