diff options
Diffstat (limited to 'drivers/usb/class/cdc-acm.h')
| -rw-r--r-- | drivers/usb/class/cdc-acm.h | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h index 1f1eabfd8462..c980f11cdf56 100644 --- a/drivers/usb/class/cdc-acm.h +++ b/drivers/usb/class/cdc-acm.h @@ -83,6 +83,7 @@ struct acm {  	struct usb_device *dev;				/* the corresponding usb device */  	struct usb_interface *control;			/* control interface */  	struct usb_interface *data;			/* data interface */ +	unsigned in, out;				/* i/o pipes */  	struct tty_port port;			 	/* our tty port data */  	struct urb *ctrlurb;				/* urbs */  	u8 *ctrl_buffer;				/* buffers of urbs */ @@ -102,6 +103,9 @@ struct acm {  	spinlock_t write_lock;  	struct mutex mutex;  	bool disconnected; +	unsigned long flags; +#		define EVENT_TTY_WAKEUP	0 +#		define EVENT_RX_STALL	1  	struct usb_cdc_line_coding line;		/* bits, stop, parity */  	struct work_struct work;			/* work queue entry for line discipline waking up */  	unsigned int ctrlin;				/* input control lines (DCD, DSR, RI, break, overruns) */ @@ -116,7 +120,6 @@ struct acm {  	unsigned int ctrl_caps;				/* control capabilities from the class specific header */  	unsigned int susp_count;			/* number of suspended interfaces */  	unsigned int combined_interfaces:1;		/* control and data collapsed */ -	unsigned int is_int_ep:1;			/* interrupt endpoints contrary to spec used */  	unsigned int throttled:1;			/* actually throttled */  	unsigned int throttle_req:1;			/* throttle requested */  	u8 bInterval;  |