Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb adjust for new QinHeng USB ID constants



details:   https://anonhg.NetBSD.org/src/rev/76dbcceab1cd
branches:  trunk
changeset: 446549:76dbcceab1cd
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Mon Dec 10 14:16:28 2018 +0000

description:
adjust for new QinHeng USB ID constants

diffstat:

 sys/dev/usb/uchcom.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 80dd55c0e9cd -r 76dbcceab1cd sys/dev/usb/uchcom.c
--- a/sys/dev/usb/uchcom.c      Mon Dec 10 14:15:01 2018 +0000
+++ b/sys/dev/usb/uchcom.c      Mon Dec 10 14:16:28 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uchcom.c,v 1.20 2018/12/10 00:29:47 jakllsch Exp $     */
+/*     $NetBSD: uchcom.c,v 1.21 2018/12/10 14:16:28 jakllsch Exp $     */
 
 /*
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uchcom.c,v 1.20 2018/12/10 00:29:47 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uchcom.c,v 1.21 2018/12/10 14:16:28 jakllsch Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -181,9 +181,9 @@
 #define NUM_DIVIDERS   (sizeof (dividers) / sizeof (dividers[0]))
 
 static const struct usb_devno uchcom_devs[] = {
-       { USB_VENDOR_WINCHIPHEAD, USB_PRODUCT_WINCHIPHEAD_CH341SER },
-       { USB_VENDOR_WINCHIPHEAD2, USB_PRODUCT_WINCHIPHEAD2_CH341 },
-       { USB_VENDOR_WINCHIPHEAD2, USB_PRODUCT_WINCHIPHEAD2_CH341_2 },
+       { USB_VENDOR_QINHENG2, USB_PRODUCT_QINHENG2_CH341SER },
+       { USB_VENDOR_QINHENG, USB_PRODUCT_QINHENG_CH340 },
+       { USB_VENDOR_QINHENG, USB_PRODUCT_QINHENG_CH341_ASP },
 };
 #define uchcom_lookup(v, p)    usb_lookup(uchcom_devs, v, p)
 



Home | Main Index | Thread Index | Old Index