ssu100.c (d2137d5af4259f50c19addb8246a186c9ffac325) ssu100.c (60b33c133ca0b7c0b6072c87234b63fee6e80558)
1/*
2 * usb-serial driver for Quatech SSU-100
3 *
4 * based on ftdi_sio.c and the original serqt_usb.c from Quatech
5 *
6 */
7
8#include <linux/errno.h>

--- 470 unchanged lines hidden (view full) ---

479
480 spin_lock_init(&priv->status_lock);
481 init_waitqueue_head(&priv->delta_msr_wait);
482 usb_set_serial_port_data(port, priv);
483
484 return ssu100_initdevice(serial->dev);
485}
486
1/*
2 * usb-serial driver for Quatech SSU-100
3 *
4 * based on ftdi_sio.c and the original serqt_usb.c from Quatech
5 *
6 */
7
8#include <linux/errno.h>

--- 470 unchanged lines hidden (view full) ---

479
480 spin_lock_init(&priv->status_lock);
481 init_waitqueue_head(&priv->delta_msr_wait);
482 usb_set_serial_port_data(port, priv);
483
484 return ssu100_initdevice(serial->dev);
485}
486
487static int ssu100_tiocmget(struct tty_struct *tty, struct file *file)
487static int ssu100_tiocmget(struct tty_struct *tty)
488{
489 struct usb_serial_port *port = tty->driver_data;
490 struct usb_device *dev = port->serial->dev;
491 u8 *d;
492 int r;
493
494 dbg("%s\n", __func__);
495

--- 241 unchanged lines hidden ---
488{
489 struct usb_serial_port *port = tty->driver_data;
490 struct usb_device *dev = port->serial->dev;
491 u8 *d;
492 int r;
493
494 dbg("%s\n", __func__);
495

--- 241 unchanged lines hidden ---