summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2008-05-13 17:01:25 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2008-05-20 23:14:15 +0200
commitafba937e540c902c989cd516fd97ea0c8499bb27 (patch)
tree2d18bb30d91a286fbf5ef05008a5daf16223f741 /include
parentUSB: ehci-orion: the Orion EHCI root hub does have a Transaction Translator (diff)
downloadlinux-afba937e540c902c989cd516fd97ea0c8499bb27.tar.xz
linux-afba937e540c902c989cd516fd97ea0c8499bb27.zip
USB: CDC WDM driver
Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/cdc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/usb/cdc.h b/include/linux/usb/cdc.h
index 71e52f2f6a38..ca228bb94218 100644
--- a/include/linux/usb/cdc.h
+++ b/include/linux/usb/cdc.h
@@ -130,6 +130,15 @@ struct usb_cdc_ether_desc {
__u8 bNumberPowerFilters;
} __attribute__ ((packed));
+/* "Telephone Control Model Functional Descriptor" from CDC WMC spec 6.3..3 */
+struct usb_cdc_dmm_desc {
+ __u8 bFunctionLength;
+ __u8 bDescriptorType;
+ __u8 bDescriptorSubtype;
+ __u16 bcdVersion;
+ __le16 wMaxCommand;
+} __attribute__ ((packed));
+
/* "MDLM Functional Descriptor" from CDC WMC spec 6.7.2.3 */
struct usb_cdc_mdlm_desc {
__u8 bLength;