Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Enable the same workaround as



details:   https://anonhg.NetBSD.org/src/rev/c3a7263c04eb
branches:  trunk
changeset: 995604:c3a7263c04eb
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Dec 29 06:34:16 2018 +0000

description:
Enable the same workaround as
USB_PRODUCT_MICROSOFT_24GHZ_XCVR20

For Microsoft Natural 6000 wheel.

Modified patch from Julian in kern/44634

diffstat:

 sys/dev/usb/ums.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 8fbd6dbf000d -r c3a7263c04eb sys/dev/usb/ums.c
--- a/sys/dev/usb/ums.c Sat Dec 29 06:30:40 2018 +0000
+++ b/sys/dev/usb/ums.c Sat Dec 29 06:34:16 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ums.c,v 1.91 2017/12/10 17:03:07 bouyer Exp $  */
+/*     $NetBSD: ums.c,v 1.92 2018/12/29 06:34:16 maya Exp $    */
 
 /*
  * Copyright (c) 1998, 2017 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ums.c,v 1.91 2017/12/10 17:03:07 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ums.c,v 1.92 2018/12/29 06:34:16 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -171,6 +171,7 @@
                switch (uha->uiaa->uiaa_product) {
                case USB_PRODUCT_MICROSOFT_24GHZ_XCVR10:
                case USB_PRODUCT_MICROSOFT_24GHZ_XCVR20:
+               case USB_PRODUCT_MICROSOFT_NATURAL_6000:
                        fixpos = 24;
                        break;
                case USB_PRODUCT_MICROSOFT_CM6000:



Home | Main Index | Thread Index | Old Index