aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/class/cdc-acm.h')
-rw-r--r--drivers/usb/class/cdc-acm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h
index ca7937f26e2..ec59fda787f 100644
--- a/drivers/usb/class/cdc-acm.h
+++ b/drivers/usb/class/cdc-acm.h
@@ -115,8 +115,10 @@ struct acm {
115 unsigned int is_int_ep:1; /* interrupt endpoints contrary to spec used */ 115 unsigned int is_int_ep:1; /* interrupt endpoints contrary to spec used */
116 unsigned int throttled:1; /* actually throttled */ 116 unsigned int throttled:1; /* actually throttled */
117 unsigned int throttle_req:1; /* throttle requested */ 117 unsigned int throttle_req:1; /* throttle requested */
118 unsigned int no_hangup_in_reset_resume:1; /* do not call tty_hangup in acm_reset_resume */
118 u8 bInterval; 119 u8 bInterval;
119 struct acm_wb *delayed_wb; /* write queued for a device about to be woken */ 120 struct acm_wb *delayed_wb; /* write queued for a device about to be woken */
121 struct usb_anchor deferred;
120}; 122};
121 123
122#define CDC_DATA_INTERFACE_TYPE 0x0a 124#define CDC_DATA_INTERFACE_TYPE 0x0a
@@ -127,3 +129,5 @@ struct acm {
127#define NO_CAP_LINE 4 129#define NO_CAP_LINE 4
128#define NOT_A_MODEM 8 130#define NOT_A_MODEM 8
129#define NO_DATA_INTERFACE 16 131#define NO_DATA_INTERFACE 16
132#define NOT_REAL_ACM 32
133#define NO_HANGUP_IN_RESET_RESUME 64