Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb urndis(4): Add OnePlus 5T to the quirky devices ...



details:   https://anonhg.NetBSD.org/src/rev/df3ea6ca7976
branches:  trunk
changeset: 373469:df3ea6ca7976
user:      nia <nia%NetBSD.org@localhost>
date:      Sat Feb 11 22:42:49 2023 +0000

description:
urndis(4): Add OnePlus 5T to the quirky devices list. This allows it to
be attached as an urndis instead of ugen, and to transmit this commit
message across the tubes.

diffstat:

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

diffs (26 lines):

diff -r 3941f4e2a3d6 -r df3ea6ca7976 sys/dev/usb/if_urndis.c
--- a/sys/dev/usb/if_urndis.c   Sat Feb 11 22:42:20 2023 +0000
+++ b/sys/dev/usb/if_urndis.c   Sat Feb 11 22:42:49 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_urndis.c,v 1.47 2022/03/03 05:56:58 riastradh Exp $ */
+/*     $NetBSD: if_urndis.c,v 1.48 2023/02/11 22:42:49 nia Exp $ */
 /*     $OpenBSD: if_urndis.c,v 1.31 2011/07/03 15:47:17 matthew Exp $ */
 
 /*
@@ -21,7 +21,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.47 2022/03/03 05:56:58 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.48 2023/02/11 22:42:49 nia Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -103,6 +103,7 @@
        { USB_VENDOR_HTC,       USB_PRODUCT_HTC_ANDROID },
        { USB_VENDOR_SAMSUNG,   USB_PRODUCT_SAMSUNG_ANDROID2 },
        { USB_VENDOR_SAMSUNG,   USB_PRODUCT_SAMSUNG_ANDROID },
+       { USB_VENDOR_ONEPLUS,   USB_PRODUCT_ONEPLUS_A5010 }
 };
 
 static usbd_status



Home | Main Index | Thread Index | Old Index