Module Name: src Committed By: snj Date: Tue Jan 18 20:02:23 UTC 2022
Modified Files: src/sys/dev/usb [netbsd-9]: usb_quirks.c Log Message: Pull up following revision(s) (requested by martin in ticket #1405): sys/dev/usb/usb_quirks.c: revision 1.102 Ignore new APC UPS devices when matching uhid devices. To generate a diff of this commit: cvs rdiff -u -r1.92.2.2 -r1.92.2.3 src/sys/dev/usb/usb_quirks.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/usb_quirks.c diff -u src/sys/dev/usb/usb_quirks.c:1.92.2.2 src/sys/dev/usb/usb_quirks.c:1.92.2.3 --- src/sys/dev/usb/usb_quirks.c:1.92.2.2 Tue Jan 18 18:48:00 2022 +++ src/sys/dev/usb/usb_quirks.c Tue Jan 18 20:02:23 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: usb_quirks.c,v 1.92.2.2 2022/01/18 18:48:00 martin Exp $ */ +/* $NetBSD: usb_quirks.c,v 1.92.2.3 2022/01/18 20:02:23 snj 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.2.2 2022/01/18 18:48:00 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.92.2.3 2022/01/18 20:02:23 snj Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -184,6 +184,8 @@ Static const struct usbd_quirk_entry { /* 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,