[RFC PATCH 2/5] hvc_console: Add tty driver flag TTY_DRIVER_RESET_TERMIOS

Alan Cox alan at lxorguk.ukuu.org.uk
Tue Oct 14 20:40:25 EST 2008


On Tue, 14 Oct 2008 11:12:49 +0200
Hendrik Brueckner <brueckner at linux.vnet.ibm.com> wrote:

> From: Hendrik Brueckner <brueckner at linux.vnet.ibm.com>
> 
> After a tty hangup() or close() operation, processes might not reset the
> termio settings to a sane state.

That is the job of the getty task normally. pty is special as the reissue
of the same pty is done as a new device (with new state).

Setting this on the hvc would parallel the PC vt console behaviour but
differ from most other ports.

Anyway its a policy question for PPC64 so if thats how you want it to work

Acked-by: Alan Cox <alan at redhat.com>




More information about the Linuxppc-dev mailing list