Searched refs:pts_driver (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/tty/
H A Dpty.c32 static struct tty_driver *pts_driver; variable in typeref:struct:tty_driver
825 pts_driver = tty_alloc_driver(NR_UNIX98_PTY_MAX, unix98_pty_init()
831 if (IS_ERR(pts_driver)) unix98_pty_init()
847 ptm_driver->other = pts_driver; unix98_pty_init()
850 pts_driver->driver_name = "pty_slave"; unix98_pty_init()
851 pts_driver->name = "pts"; unix98_pty_init()
852 pts_driver->major = UNIX98_PTY_SLAVE_MAJOR; unix98_pty_init()
853 pts_driver->minor_start = 0; unix98_pty_init()
854 pts_driver->type = TTY_DRIVER_TYPE_PTY; unix98_pty_init()
855 pts_driver->subtype = PTY_TYPE_SLAVE; unix98_pty_init()
856 pts_driver->init_termios = tty_std_termios; unix98_pty_init()
857 pts_driver->init_termios.c_cflag = B38400 | CS8 | CREAD; unix98_pty_init()
858 pts_driver->init_termios.c_ispeed = 38400; unix98_pty_init()
859 pts_driver->init_termios.c_ospeed = 38400; unix98_pty_init()
860 pts_driver->other = ptm_driver; unix98_pty_init()
861 tty_set_operations(pts_driver, &pty_unix98_ops); unix98_pty_init()
865 if (tty_register_driver(pts_driver)) unix98_pty_init()

Completed in 32 milliseconds