Some tty driver changes