From: Hendrik Brueckner Date: Mon, 13 Oct 2008 23:12:49 +0000 (+0000) Subject: hvc_console: Add tty driver flag TTY_DRIVER_RESET_TERMIOS X-Git-Tag: v2.6.28-rc1~58^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56ce9e2b2463b3b257098aa966586701d9967f1e;p=pandora-kernel.git hvc_console: Add tty driver flag TTY_DRIVER_RESET_TERMIOS After a tty hangup() or close() operation, processes might not reset the termio settings to a sane state. In order to reset the termios to its default settings the tty driver flag TTY_DRIVER_RESET_TERMIOS has been added. TTY driver flag description from include/linux/tty_driver.h: TTY_DRIVER_RESET_TERMIOS --- requests the tty layer to reset the termios setting when the last process has closed the device. Used for PTY's, in particular. Acked-by: Christian Borntraeger Signed-off-by: Hendrik Brueckner Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed