summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2008-06-20 21:03:39 +0000
committerjsg <jsg@openbsd.org>2008-06-20 21:03:39 +0000
commit2f0b4fb451c02e119bac0dc3730a4775616a5c52 (patch)
tree12ed576a1eab0b4f5f166a67adb11b9d3d2f8dba
parentadmin is only allowed on files which have an entry in CVS/Entries. (diff)
downloadwireguard-openbsd-2f0b4fb451c02e119bac0dc3730a4775616a5c52.tar.xz
wireguard-openbsd-2f0b4fb451c02e119bac0dc3730a4775616a5c52.zip
Another uchcom product found in the Linux driver.
-rw-r--r--sys/dev/usb/uchcom.c3
-rw-r--r--sys/dev/usb/usbdevs4
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/usb/uchcom.c b/sys/dev/usb/uchcom.c
index 9edf3614301..4d9f2892b6d 100644
--- a/sys/dev/usb/uchcom.c
+++ b/sys/dev/usb/uchcom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uchcom.c,v 1.5 2008/04/11 11:23:50 jsg Exp $ */
+/* $OpenBSD: uchcom.c,v 1.6 2008/06/20 21:06:58 jsg Exp $ */
/* $NetBSD: uchcom.c,v 1.1 2007/09/03 17:57:37 tshiozak Exp $ */
/*
@@ -229,6 +229,7 @@ struct ucom_methods uchcom_methods = {
static const struct usb_devno uchcom_devs[] = {
{ USB_VENDOR_WCH, USB_PRODUCT_WCH_CH341 },
+ { USB_VENDOR_WCH2, USB_PRODUCT_WCH2_CH341 },
};
#define uchcom_lookup(v, p) usb_lookup(uchcom_devs, v, p)
diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs
index bf44b73a8e0..7dda478f52e 100644
--- a/sys/dev/usb/usbdevs
+++ b/sys/dev/usb/usbdevs
@@ -1,4 +1,4 @@
-$OpenBSD: usbdevs,v 1.368 2008/06/19 08:12:25 brad Exp $
+$OpenBSD: usbdevs,v 1.369 2008/06/20 21:03:39 jsg Exp $
/* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */
/*
@@ -521,6 +521,7 @@ vendor QCOM 0x18e8 Qcom
vendor LINKSYS3 0x1915 Linksys
vendor MEINBERG 0x1938 Meinberg Funkuhren
vendor QUALCOMM3 0x19d2 Qualcomm Inc.
+vendor WCH2 0x1a86 QinHeng Electronics
vendor DLINK 0x2001 D-Link
vendor PLANEX2 0x2019 Planex Communications
vendor DLINK3 0x2101 D-Link
@@ -2825,6 +2826,7 @@ product OPTION GT3GPLUS 0x6721 GlobeTrotter 3G PLUS
/* WCH/QinHeng Electronics */
product WCH CH341 0x5523 CH341 serial/parallel
+product WCH2 CH341 0x7523 CH341 serial/parallel
/* Wacom products */
product WACOM CT0405U 0x0000 CT-0405-U Tablet