Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/dev/usb Pull up following revision(s) (requested by m...



details:   https://anonhg.NetBSD.org/src/rev/4a03fae4e7c9
branches:  netbsd-9
changeset: 1029043:4a03fae4e7c9
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Dec 19 16:38:24 2021 +0000

description:
Pull up following revision(s) (requested by mrg in ticket #1395):

        sys/dev/usb/usb_quirks.c: revision 1.101

add two additional cyperpower ups ids for ignore hid.

diffstat:

 sys/dev/usb/usb_quirks.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 351560ccd2cc -r 4a03fae4e7c9 sys/dev/usb/usb_quirks.c
--- a/sys/dev/usb/usb_quirks.c  Sun Dec 19 16:37:21 2021 +0000
+++ b/sys/dev/usb/usb_quirks.c  Sun Dec 19 16:38:24 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_quirks.c,v 1.92 2019/05/23 04:44:49 msaitoh Exp $  */
+/*     $NetBSD: usb_quirks.c,v 1.92.2.1 2021/12/19 16:38:24 martin Exp $       */
 /*     $FreeBSD: src/sys/dev/usb/usb_quirks.c,v 1.30 2003/01/02 04:15:55 imp Exp $     */
 
 /*
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.92 2019/05/23 04:44:49 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.92.2.1 2021/12/19 16:38:24 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -184,8 +184,12 @@
  /* Devices which should be ignored by uhid */
  { USB_VENDOR_APC,             USB_PRODUCT_APC_UPS,                    ANY,
        { UQ_HID_IGNORE, NULL }},
+ { USB_VENDOR_CYBERPOWER,      USB_PRODUCT_CYBERPOWER_UPS0,            ANY,
+       { UQ_HID_IGNORE, NULL }},
  { USB_VENDOR_CYBERPOWER,      USB_PRODUCT_CYBERPOWER_UPS,             ANY,
        { UQ_HID_IGNORE, NULL }},
+ { USB_VENDOR_CYBERPOWER,      USB_PRODUCT_CYBERPOWER_UPS2,            ANY,
+       { UQ_HID_IGNORE, NULL }},
  { USB_VENDOR_GRETAGMACBETH,   ANY,                                    ANY,
        { UQ_HID_IGNORE, NULL }},
  { USB_VENDOR_MGE,             USB_PRODUCT_MGE_UPS1,                   ANY,



Home | Main Index | Thread Index | Old Index