Lines Matching refs:ipw_tty_driver
61 static struct tty_driver *ipw_tty_driver; variable
452 tty_port_register_device(&ttys[j]->port, ipw_tty_driver, j, NULL); in add_tty()
540 tty_unregister_device(ipw_tty_driver, j); in ipwireless_tty_free()
567 ipw_tty_driver = tty_alloc_driver(IPWIRELESS_PCMCIA_MINORS, in ipwireless_tty_init()
569 if (IS_ERR(ipw_tty_driver)) in ipwireless_tty_init()
570 return PTR_ERR(ipw_tty_driver); in ipwireless_tty_init()
572 ipw_tty_driver->driver_name = IPWIRELESS_PCCARD_NAME; in ipwireless_tty_init()
573 ipw_tty_driver->name = "ttyIPWp"; in ipwireless_tty_init()
574 ipw_tty_driver->major = 0; in ipwireless_tty_init()
575 ipw_tty_driver->minor_start = IPWIRELESS_PCMCIA_START; in ipwireless_tty_init()
576 ipw_tty_driver->type = TTY_DRIVER_TYPE_SERIAL; in ipwireless_tty_init()
577 ipw_tty_driver->subtype = SERIAL_TYPE_NORMAL; in ipwireless_tty_init()
578 ipw_tty_driver->init_termios = tty_std_termios; in ipwireless_tty_init()
579 ipw_tty_driver->init_termios.c_cflag = in ipwireless_tty_init()
581 ipw_tty_driver->init_termios.c_ispeed = 9600; in ipwireless_tty_init()
582 ipw_tty_driver->init_termios.c_ospeed = 9600; in ipwireless_tty_init()
583 tty_set_operations(ipw_tty_driver, &tty_ops); in ipwireless_tty_init()
584 result = tty_register_driver(ipw_tty_driver); in ipwireless_tty_init()
588 tty_driver_kref_put(ipw_tty_driver); in ipwireless_tty_init()
597 tty_unregister_driver(ipw_tty_driver); in ipwireless_tty_release()
598 tty_driver_kref_put(ipw_tty_driver); in ipwireless_tty_release()