Message ID | 20081014091413.003841094@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | Accepted, archived |
Commit | 56ce9e2b2463b3b257098aa966586701d9967f1e |
Delegated to: | Benjamin Herrenschmidt |
Headers | show |
--- a/drivers/char/hvc_console.c +++ b/drivers/char/hvc_console.c @@ -796,7 +796,7 @@ static int hvc_init(void) drv->minor_start = HVC_MINOR; drv->type = TTY_DRIVER_TYPE_SYSTEM; drv->init_termios = tty_std_termios; - drv->flags = TTY_DRIVER_REAL_RAW; + drv->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_RESET_TERMIOS; tty_set_operations(drv, &hvc_ops); /* Always start the kthread because there can be hotplug vty adapters