Lines Matching defs:serial_driver
70 static struct tty_driver *serial_driver;
2314 return serial_driver;
2386 serial_driver = alloc_tty_driver(NR_PORTS);
2387 if (!serial_driver)
2392 serial_driver->name = "ttyS";
2393 serial_driver->major = TTY_MAJOR;
2394 serial_driver->minor_start = 64;
2395 serial_driver->type = TTY_DRIVER_TYPE_SERIAL;
2396 serial_driver->subtype = SERIAL_TYPE_NORMAL;
2397 serial_driver->init_termios = tty_std_termios;
2398 serial_driver->init_termios.c_cflag =
2400 serial_driver->flags = TTY_DRIVER_REAL_RAW;
2401 tty_set_operations(serial_driver, &rs_360_ops);
2403 if (tty_register_driver(serial_driver))