svn commit: r334061 - head/sys/dev/usb/template

Edward Tomasz Napierala trasz at FreeBSD.org
Tue May 22 19:11:08 UTC 2018


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


More information about the svn-src-head mailing list