diff options
author | Oliver Neukum <oliver@neukum.org> | 2009-05-16 15:13:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 00:44:45 -0400 |
commit | a2bfb4a346d2c2e25f84b35c6044ff53296be1ee (patch) | |
tree | 494cea0b367252d248a73bd8fe2490d0539ac5f1 /drivers/usb/class/cdc-acm.h | |
parent | 0b10395ab86c11bef10e882a4323367e6735c9b2 (diff) |
USB: support for cdc-acm of single interface devices
This implement support in cdc-acm for acm devices another popular OS can handle
- adds support for autodetection of devices that use one interface
- autodetection of endpoints
- add a quirk for surpressing a setting that OS doesn't use
- autoassume that quirk for single interface devices
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/class/cdc-acm.h')
-rw-r--r-- | drivers/usb/class/cdc-acm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h index 4c3856420add..1602324808ba 100644 --- a/drivers/usb/class/cdc-acm.h +++ b/drivers/usb/class/cdc-acm.h | |||
@@ -125,6 +125,7 @@ struct acm { | |||
125 | unsigned char clocal; /* termios CLOCAL */ | 125 | unsigned char clocal; /* termios CLOCAL */ |
126 | unsigned int ctrl_caps; /* control capabilities from the class specific header */ | 126 | unsigned int ctrl_caps; /* control capabilities from the class specific header */ |
127 | unsigned int susp_count; /* number of suspended interfaces */ | 127 | unsigned int susp_count; /* number of suspended interfaces */ |
128 | int combined_interfaces:1; /* control and data collapsed */ | ||
128 | struct acm_wb *delayed_wb; /* write queued for a device about to be woken */ | 129 | struct acm_wb *delayed_wb; /* write queued for a device about to be woken */ |
129 | }; | 130 | }; |
130 | 131 | ||
@@ -133,3 +134,4 @@ struct acm { | |||
133 | /* constants describing various quirks and errors */ | 134 | /* constants describing various quirks and errors */ |
134 | #define NO_UNION_NORMAL 1 | 135 | #define NO_UNION_NORMAL 1 |
135 | #define SINGLE_RX_URB 2 | 136 | #define SINGLE_RX_URB 2 |
137 | #define NO_CAP_LINE 4 | ||