Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2018 20:24:19 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333814 - head/sys/dev/usb/template
Message-ID:  <201805182024.w4IKOJxT085934@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805182024.w4IKOJxT085934>