Re: [RFC PATCH 2/5] hvc_console: Add tty driver flagTTY_DRIVER_RESET_TERMIOS

From: Alan Cox
Date: Tue Oct 14 2008 - 05:43:31 EST


On Tue, 14 Oct 2008 11:12:49 +0200
Hendrik Brueckner <brueckner@xxxxxxxxxxxxxxxxxx> wrote:

> From: Hendrik Brueckner <brueckner@xxxxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/