aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorPhilippe Corbes <philippe.corbes@gmail.com>2010-08-31 13:31:32 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-03 20:33:41 -0400
commit5b239f0aebd4dd6f85b13decf5e18e86e35d57f0 (patch)
tree5a1f5fd9bfddb755ed417afc6defe7fa7a1af966 /drivers/usb
parent902ffc3c707c1d459ea57428a619a807cbe412f9 (diff)
USB: cdc-acm: Add pseudo modem without AT command capabilities
cdc-acm.c : Manage pseudo-modem without AT commands capabilities Enable to drive electronic simple gadgets based on microcontrolers. The Interface descriptor is like this: bInterfaceClass 2 Communications bInterfaceSubClass 2 Abstract (modem) bInterfaceProtocol 0 None Signed-off-by: Philippe Corbes <philippe.corbes@gmail.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/class/cdc-acm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index a3d6c4db2a03..597defc1d7bf 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1615,6 +1615,10 @@ static const struct usb_device_id acm_ids[] = {
1615 .driver_info = NOT_A_MODEM, 1615 .driver_info = NOT_A_MODEM,
1616 }, 1616 },
1617 1617
1618 /* control interfaces without any protocol set */
1619 { USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ACM,
1620 USB_CDC_PROTO_NONE) },
1621
1618 /* control interfaces with various AT-command sets */ 1622 /* control interfaces with various AT-command sets */
1619 { USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ACM, 1623 { USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ACM,
1620 USB_CDC_ACM_PROTO_AT_V25TER) }, 1624 USB_CDC_ACM_PROTO_AT_V25TER) },