Author: hselasky
Date: Sun Nov  6 23:11:30 2011
New Revision: 227285
URL: http://svn.freebsd.org/changeset/base/227285

Log:
  Add support for new USB modem protocol.
  
  PR:           usb/159919
  MFC after:    1 week

Modified:
  head/sys/dev/usb/serial/umodem.c

Modified: head/sys/dev/usb/serial/umodem.c
==============================================================================
--- head/sys/dev/usb/serial/umodem.c    Sun Nov  6 22:28:13 2011        
(r227284)
+++ head/sys/dev/usb/serial/umodem.c    Sun Nov  6 23:11:30 2011        
(r227285)
@@ -127,7 +127,11 @@ static const STRUCT_USB_HOST_ID umodem_d
        /* Generic Modem class match */
        {USB_IFACE_CLASS(UICLASS_CDC),
                USB_IFACE_SUBCLASS(UISUBCLASS_ABSTRACT_CONTROL_MODEL),
-       USB_IFACE_PROTOCOL(UIPROTO_CDC_AT)},
+               USB_IFACE_PROTOCOL(UIPROTO_CDC_AT)},
+       /* Huawei Modem class match */
+       {USB_IFACE_CLASS(UICLASS_CDC),
+               USB_IFACE_SUBCLASS(UISUBCLASS_ABSTRACT_CONTROL_MODEL),
+               USB_IFACE_PROTOCOL(0xFF)},
        /* Kyocera AH-K3001V */
        {USB_VPI(USB_VENDOR_KYOCERA, USB_PRODUCT_KYOCERA_AHK3001V, 1)},
        {USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC5720, 1)},
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to