|
@@ -269,6 +269,7 @@ struct usb_serial_driver {
|
|
void (*break_ctl)(struct tty_struct *tty, int break_state);
|
|
void (*break_ctl)(struct tty_struct *tty, int break_state);
|
|
int (*chars_in_buffer)(struct tty_struct *tty);
|
|
int (*chars_in_buffer)(struct tty_struct *tty);
|
|
void (*wait_until_sent)(struct tty_struct *tty, long timeout);
|
|
void (*wait_until_sent)(struct tty_struct *tty, long timeout);
|
|
|
|
+ bool (*tx_empty)(struct usb_serial_port *port);
|
|
void (*throttle)(struct tty_struct *tty);
|
|
void (*throttle)(struct tty_struct *tty);
|
|
void (*unthrottle)(struct tty_struct *tty);
|
|
void (*unthrottle)(struct tty_struct *tty);
|
|
int (*tiocmget)(struct tty_struct *tty);
|
|
int (*tiocmget)(struct tty_struct *tty);
|
|
@@ -328,6 +329,8 @@ extern void usb_serial_generic_close(struct usb_serial_port *port);
|
|
extern int usb_serial_generic_resume(struct usb_serial *serial);
|
|
extern int usb_serial_generic_resume(struct usb_serial *serial);
|
|
extern int usb_serial_generic_write_room(struct tty_struct *tty);
|
|
extern int usb_serial_generic_write_room(struct tty_struct *tty);
|
|
extern int usb_serial_generic_chars_in_buffer(struct tty_struct *tty);
|
|
extern int usb_serial_generic_chars_in_buffer(struct tty_struct *tty);
|
|
|
|
+extern void usb_serial_generic_wait_until_sent(struct tty_struct *tty,
|
|
|
|
+ long timeout);
|
|
extern void usb_serial_generic_read_bulk_callback(struct urb *urb);
|
|
extern void usb_serial_generic_read_bulk_callback(struct urb *urb);
|
|
extern void usb_serial_generic_write_bulk_callback(struct urb *urb);
|
|
extern void usb_serial_generic_write_bulk_callback(struct urb *urb);
|
|
extern void usb_serial_generic_throttle(struct tty_struct *tty);
|
|
extern void usb_serial_generic_throttle(struct tty_struct *tty);
|