Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Ignore new APC UPS devices when matching uhid de...



details:   https://anonhg.NetBSD.org/src/rev/9e2c177cf0ca
branches:  trunk
changeset: 359597:9e2c177cf0ca
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Jan 12 12:55:46 2022 +0000

description:
Ignore new APC UPS devices when matching uhid devices.

diffstat:

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

diffs (27 lines):

diff -r 6e3fecc48bc3 -r 9e2c177cf0ca sys/dev/usb/usb_quirks.c
--- a/sys/dev/usb/usb_quirks.c  Wed Jan 12 12:54:45 2022 +0000
+++ b/sys/dev/usb/usb_quirks.c  Wed Jan 12 12:55:46 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_quirks.c,v 1.101 2021/12/17 08:17:40 mrg Exp $     */
+/*     $NetBSD: usb_quirks.c,v 1.102 2022/01/12 12:55:46 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.101 2021/12/17 08:17:40 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.102 2022/01/12 12:55:46 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -184,6 +184,8 @@
  /* Devices which should be ignored by uhid */
  { USB_VENDOR_APC,             USB_PRODUCT_APC_UPS,                    ANY,
        { UQ_HID_IGNORE, NULL }},
+ { USB_VENDOR_APC,             USB_PRODUCT_APC_UPS3,                   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,



Home | Main Index | Thread Index | Old Index