Date: Fri, 1 Jun 2018 09:17:20 +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: r334476 - head/sys/dev/usb/template Message-ID: <201806010917.w519HKp4091177@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Fri Jun 1 09:17:20 2018 New Revision: 334476 URL: https://svnweb.freebsd.org/changeset/base/334476 Log: Set bDeviceClass properly for composite device (template 8). There should be no functional change. PR: 203289 Reviewed by: hselasky@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/usb/template/usb_template_serialnet.c Modified: head/sys/dev/usb/template/usb_template_serialnet.c ============================================================================== --- head/sys/dev/usb/template/usb_template_serialnet.c Fri Jun 1 08:54:51 2018 (r334475) +++ head/sys/dev/usb/template/usb_template_serialnet.c Fri Jun 1 09:17:20 2018 (r334476) @@ -342,7 +342,7 @@ struct usb_temp_device_desc usb_template_serialnet = { .idVendor = SERIALNET_DEFAULT_VENDOR_ID, .idProduct = SERIALNET_DEFAULT_PRODUCT_ID, .bcdDevice = 0x0100, - .bDeviceClass = UDCLASS_COMM, + .bDeviceClass = UDCLASS_IN_INTERFACE, .bDeviceSubClass = 0, .bDeviceProtocol = 0, .iManufacturer = SERIALNET_MANUFACTURER_INDEX,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806010917.w519HKp4091177>