Author: trasz
Date: Fri May 18 20:24:19 2018
New Revision: 333814
URL: https://svnweb.freebsd.org/changeset/base/333814

Log:
  Stop claiming the device-side USB serial interfaces talk Hayes AT.
  
  There should be no functional difference.
  
  Reviewed by:  hselasky@
  MFC after:    2 weeks
  Sponsored by: The FreeBSD Foundation

Modified:
  head/sys/dev/usb/template/usb_template_modem.c
  head/sys/dev/usb/template/usb_template_multi.c
  head/sys/dev/usb/template/usb_template_serialnet.c

Modified: head/sys/dev/usb/template/usb_template_modem.c
==============================================================================
--- head/sys/dev/usb/template/usb_template_modem.c      Fri May 18 20:13:34 
2018        (r333813)
+++ head/sys/dev/usb/template/usb_template_modem.c      Fri May 18 20:24:19 
2018        (r333814)
@@ -170,7 +170,7 @@ static const struct usb_temp_interface_desc modem_ifac
        .ppEndpoints = modem_iface_0_ep,
        .bInterfaceClass = UICLASS_CDC,
        .bInterfaceSubClass = UISUBCLASS_ABSTRACT_CONTROL_MODEL,
-       .bInterfaceProtocol = UIPROTO_CDC_AT,
+       .bInterfaceProtocol = UIPROTO_CDC_NONE,
        .iInterface = MODEM_INTERFACE_INDEX,
 };
 

Modified: head/sys/dev/usb/template/usb_template_multi.c
==============================================================================
--- head/sys/dev/usb/template/usb_template_multi.c      Fri May 18 20:13:34 
2018        (r333813)
+++ head/sys/dev/usb/template/usb_template_multi.c      Fri May 18 20:24:19 
2018        (r333814)
@@ -299,7 +299,7 @@ static const struct usb_temp_interface_desc modem_ifac
        .ppEndpoints = modem_iface_0_ep,
        .bInterfaceClass = UICLASS_CDC,
        .bInterfaceSubClass = UISUBCLASS_ABSTRACT_CONTROL_MODEL,
-       .bInterfaceProtocol = UIPROTO_CDC_AT,
+       .bInterfaceProtocol = UIPROTO_CDC_NONE,
        .iInterface = MULTI_MODEM_INDEX,
 };
 

Modified: head/sys/dev/usb/template/usb_template_serialnet.c
==============================================================================
--- head/sys/dev/usb/template/usb_template_serialnet.c  Fri May 18 20:13:34 
2018        (r333813)
+++ head/sys/dev/usb/template/usb_template_serialnet.c  Fri May 18 20:24:19 
2018        (r333814)
@@ -296,7 +296,7 @@ static const struct usb_temp_interface_desc modem_ifac
        .ppEndpoints = modem_iface_0_ep,
        .bInterfaceClass = UICLASS_CDC,
        .bInterfaceSubClass = UISUBCLASS_ABSTRACT_CONTROL_MODEL,
-       .bInterfaceProtocol = UIPROTO_CDC_AT,
+       .bInterfaceProtocol = UIPROTO_CDC_NONE,
        .iInterface = SERIALNET_MODEM_INDEX,
 };
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to