Module Name: src
Committed By: martin
Date: Fri Feb 17 17:41:24 UTC 2023
Modified Files:
src/share/man/man4 [netbsd-9]: urndis.4
src/sys/dev/usb [netbsd-9]: if_urndis.c
Log Message:
Pull up following revision(s) (requested by nia in ticket #1599):
share/man/man4/urndis.4: revision 1.11
sys/dev/usb/if_urndis.c: revision 1.48
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.
urndis.4: Add OnePlus 5T
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.28.1 src/share/man/man4/urndis.4
cvs rdiff -u -r1.21.4.2 -r1.21.4.3 src/sys/dev/usb/if_urndis.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/urndis.4
diff -u src/share/man/man4/urndis.4:1.5 src/share/man/man4/urndis.4:1.5.28.1
--- src/share/man/man4/urndis.4:1.5 Tue Mar 18 18:20:39 2014
+++ src/share/man/man4/urndis.4 Fri Feb 17 17:41:24 2023
@@ -1,4 +1,4 @@
-.\" $NetBSD: urndis.4,v 1.5 2014/03/18 18:20:39 riastradh Exp $
+.\" $NetBSD: urndis.4,v 1.5.28.1 2023/02/17 17:41:24 martin Exp $
.\"
.\" Copyright (c) 2010 Michael Knudsen <[email protected]>
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" $OpenBSD: urndis.4,v 1.11 2011/07/20 13:12:16 jasper Exp $
.\"
-.Dd July 20, 2011
+.Dd February 12, 2023
.Dt URNDIS 4
.Os
.Sh NAME
@@ -64,6 +64,8 @@ HTC Tattoo
.It
HTC Wildfire
.It
+OnePlus 5T
+.It
Samsung Galaxy S / S2
.It
Samsung Nexus S
Index: src/sys/dev/usb/if_urndis.c
diff -u src/sys/dev/usb/if_urndis.c:1.21.4.2 src/sys/dev/usb/if_urndis.c:1.21.4.3
--- src/sys/dev/usb/if_urndis.c:1.21.4.2 Fri Sep 13 06:51:58 2019
+++ src/sys/dev/usb/if_urndis.c Fri Feb 17 17:41:24 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: if_urndis.c,v 1.21.4.2 2019/09/13 06:51:58 martin Exp $ */
+/* $NetBSD: if_urndis.c,v 1.21.4.3 2023/02/17 17:41:24 martin 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.21.4.2 2019/09/13 06:51:58 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.21.4.3 2023/02/17 17:41:24 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -104,6 +104,7 @@ static const struct usb_devno urndis_dev
{ 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