Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Add a bunch of USB loader devices for Freescale ...



details:   https://anonhg.NetBSD.org/src/rev/90fb6567b9f6
branches:  trunk
changeset: 952925:90fb6567b9f6
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Feb 21 12:36:38 2021 +0000

description:
Add a bunch of USB loader devices for Freescale SoC that should not
attach as HID devices.

diffstat:

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

diffs (74 lines):

diff -r 8f8fac24ef06 -r 90fb6567b9f6 sys/dev/usb/usb_quirks.c
--- a/sys/dev/usb/usb_quirks.c  Sun Feb 21 11:23:33 2021 +0000
+++ b/sys/dev/usb/usb_quirks.c  Sun Feb 21 12:36:38 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usb_quirks.c,v 1.96 2020/12/26 22:15:37 jym Exp $      */
+/*     $NetBSD: usb_quirks.c,v 1.97 2021/02/21 12:36:38 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.96 2020/12/26 22:15:37 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_quirks.c,v 1.97 2021/02/21 12:36:38 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -307,6 +307,55 @@
  { USB_VENDOR_APPLE,           USB_PRODUCT_APPLE_IPHONE_3GS,           ANY,
        { UQ_HID_IGNORE | UQ_BAD_AUDIO, NULL }},
 
+ /*
+  * Various devices using serial boot loader protocol, as supported
+  * by pkgsrc/sysutils/imx_usb_loader
+  */
+ { 0x066f,                     0x3780,         /* mx23 */              ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x004f,         /* mx28 */              ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x0052,         /* mx50 */              ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x0054,         /* mx6 */               ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x0061,         /* mx6 */               ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x0063,         /* mx6 */               ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x0071,         /* mx6 */               ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x007d,         /* mx6 */               ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x0080,         /* mx6ull */            ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x1fc9,                     0x0128,         /* mx6 */               ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x0076,         /* mx7 */               ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x1fc9,                     0x0126,         /* mx7ulp */            ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x0041,         /* mx51 */              ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x004e,         /* mx53 */              ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x15a2,                     0x006a,         /* vybrid */            ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x066f,                     0x37ff,         /* linux_gadget */      ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x1b67,                     0x4fff,         /* mx6 */               ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x0525,                     0xb4a4,         /* mx6 */               ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x1fc9,                     0x012b,         /* mx8mq */             ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x1fc9,                     0x0134,         /* mx8mm */             ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x1fc9,                     0x013e,         /* mx8mn */             ANY,
+       { UQ_HID_IGNORE, NULL }},
+ { 0x3016,                     0x1001,         /* mx8mn */             ANY,
+       { UQ_HID_IGNORE, NULL }},
+
  { USB_VENDOR_LG,              USB_PRODUCT_LG_CDMA_MSM,                ANY,
        { UQ_ASSUME_CM_OVER_DATA, NULL }},
  { USB_VENDOR_QUALCOMM2,       USB_PRODUCT_QUALCOMM2_CDMA_MSM,         ANY,



Home | Main Index | Thread Index | Old Index