From owner-svn-src-head@freebsd.org Tue May 22 19:11:08 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25B37EAC5DC; Tue, 22 May 2018 19:11:08 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA859853CD; Tue, 22 May 2018 19:11:07 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ABC36181B0; Tue, 22 May 2018 19:11:07 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4MJB7OA082298; Tue, 22 May 2018 19:11:07 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4MJB6Af082295; Tue, 22 May 2018 19:11:06 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201805221911.w4MJB6Af082295@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Tue, 22 May 2018 19:11:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334061 - head/sys/dev/usb/template X-SVN-Group: head X-SVN-Commit-Author: trasz X-SVN-Commit-Paths: head/sys/dev/usb/template X-SVN-Commit-Revision: 334061 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2018 19:11:08 -0000 Author: trasz Date: Tue May 22 19:11:06 2018 New Revision: 334061 URL: https://svnweb.freebsd.org/changeset/base/334061 Log: Add new PIDs for Audio, CDCE, MTP, and Mass Storage, from https://github.com/obdev/v-usb/blob/master/usbdrv/USB-IDs-for-free.txt. Big thanks to Christian Starkjohann for allocating those. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/usb/template/usb_template_audio.c head/sys/dev/usb/template/usb_template_cdce.c head/sys/dev/usb/template/usb_template_msc.c head/sys/dev/usb/template/usb_template_mtp.c Modified: head/sys/dev/usb/template/usb_template_audio.c ============================================================================== --- head/sys/dev/usb/template/usb_template_audio.c Tue May 22 16:33:09 2018 (r334060) +++ head/sys/dev/usb/template/usb_template_audio.c Tue May 22 19:11:06 2018 (r334061) @@ -79,7 +79,7 @@ enum { }; #define AUDIO_DEFAULT_VENDOR_ID USB_TEMPLATE_VENDOR -#define AUDIO_DEFAULT_PRODUCT_ID 0x05dc +#define AUDIO_DEFAULT_PRODUCT_ID 0x27e0 #define AUDIO_DEFAULT_MIXER "Mixer interface" #define AUDIO_DEFAULT_RECORD "Record interface" #define AUDIO_DEFAULT_PLAYBACK "Playback interface" Modified: head/sys/dev/usb/template/usb_template_cdce.c ============================================================================== --- head/sys/dev/usb/template/usb_template_cdce.c Tue May 22 16:33:09 2018 (r334060) +++ head/sys/dev/usb/template/usb_template_cdce.c Tue May 22 19:11:06 2018 (r334061) @@ -80,7 +80,7 @@ enum { }; #define ETH_DEFAULT_VENDOR_ID USB_TEMPLATE_VENDOR -#define ETH_DEFAULT_PRODUCT_ID 0x05dc +#define ETH_DEFAULT_PRODUCT_ID 0x27e1 #define ETH_DEFAULT_MAC "2A02030405060789AB" #define ETH_DEFAULT_CONTROL "USB Ethernet Comm Interface" #define ETH_DEFAULT_DATA "USB Ethernet Data Interface" Modified: head/sys/dev/usb/template/usb_template_msc.c ============================================================================== --- head/sys/dev/usb/template/usb_template_msc.c Tue May 22 16:33:09 2018 (r334060) +++ head/sys/dev/usb/template/usb_template_msc.c Tue May 22 19:11:06 2018 (r334061) @@ -77,7 +77,7 @@ enum { }; #define MSC_DEFAULT_VENDOR_ID USB_TEMPLATE_VENDOR -#define MSC_DEFAULT_PRODUCT_ID 0x05dc +#define MSC_DEFAULT_PRODUCT_ID 0x27df #define MSC_DEFAULT_INTERFACE "USB Mass Storage Interface" #define MSC_DEFAULT_CONFIGURATION "Default Config" #define MSC_DEFAULT_MANUFACTURER USB_TEMPLATE_MANUFACTURER Modified: head/sys/dev/usb/template/usb_template_mtp.c ============================================================================== --- head/sys/dev/usb/template/usb_template_mtp.c Tue May 22 16:33:09 2018 (r334060) +++ head/sys/dev/usb/template/usb_template_mtp.c Tue May 22 19:11:06 2018 (r334061) @@ -86,7 +86,7 @@ enum { }; #define MTP_DEFAULT_VENDOR_ID USB_TEMPLATE_VENDOR -#define MTP_DEFAULT_PRODUCT_ID 0x05dc +#define MTP_DEFAULT_PRODUCT_ID 0x27e2 #define MTP_DEFAULT_INTERFACE "USB MTP Interface" #define MTP_DEFAULT_CONFIGURATION "Default Config" #define MTP_DEFAULT_MANUFACTURER USB_TEMPLATE_MANUFACTURER