CVS commit: src/doc

2019-06-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun  6 05:36:42 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
note rktsadc(4) addition.


To generate a diff of this commit:
cvs rdiff -u -r1.2545 -r1.2546 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2019-06-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun  6 05:36:42 UTC 2019

Modified Files:
src/doc: CHANGES

Log Message:
note rktsadc(4) addition.


To generate a diff of this commit:
cvs rdiff -u -r1.2545 -r1.2546 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.2545 src/doc/CHANGES:1.2546
--- src/doc/CHANGES:1.2545	Wed Jun  5 03:49:07 2019
+++ src/doc/CHANGES	Thu Jun  6 05:36:42 2019
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2545 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.2546 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -371,6 +371,8 @@ Changes from NetBSD 8.0 to NetBSD 9.0:
 	bufq_priocscan(9): Enabled by default in GENERIC kernel config of all
 		tier 1 & most tier 2 ports. See system specific config otherwise.
 		[sevan 20190426]
+	rktsadc(4): New thermal sensor driver for RockChip RK3328 and RK3399
+		on-CPU sensors.  [mrg 20190426]
 	bind: Import version 9.14.1. [christos 20190427]
 	acpi(4): Updated ACPICA to 20190405. [christos 20190428]
 	dhcpcd(8): Import dhcpcd-7.2.2 [roy 20190504]



CVS commit: src

2019-06-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun  6 05:32:29 UTC 2019

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4/man4.evbarm: Makefile
Added Files:
src/share/man/man4/man4.evbarm: rktsadc.4

Log Message:
install new evbarm/rktsadc(4) manual.


To generate a diff of this commit:
cvs rdiff -u -r1.1646 -r1.1647 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/man4.evbarm/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/man4.evbarm/rktsadc.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/man/mi
diff -u src/distrib/sets/lists/man/mi:1.1646 src/distrib/sets/lists/man/mi:1.1647
--- src/distrib/sets/lists/man/mi:1.1646	Sat Jun  1 21:42:02 2019
+++ src/distrib/sets/lists/man/mi	Thu Jun  6 05:32:29 2019
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1646 2019/06/01 21:42:02 kamil Exp $
+# $NetBSD: mi,v 1.1647 2019/06/06 05:32:29 mrg Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -1088,6 +1088,7 @@
 ./usr/share/man/cat4/evbarm/intro.0		man-sys-catman		.cat
 ./usr/share/man/cat4/evbarm/iopaau.0		man-sys-catman		.cat
 ./usr/share/man/cat4/evbarm/iopwdog.0		man-sys-catman		.cat
+./usr/share/man/cat4/evbarm/rktsadc.0		man-sys-catman		.cat
 ./usr/share/man/cat4/evbmips/aupci.0		man-sys-catman		.cat
 ./usr/share/man/cat4/evbmips/intro.0		man-sys-catman		.cat
 ./usr/share/man/cat4/evbppc/cpc.0		man-sys-catman		.cat
@@ -4254,6 +4255,7 @@
 ./usr/share/man/html4/evbarm/intro.html		man-sys-htmlman		html
 ./usr/share/man/html4/evbarm/iopaau.html	man-sys-htmlman		html
 ./usr/share/man/html4/evbarm/iopwdog.html	man-sys-htmlman		html
+./usr/share/man/html4/evbarm/rktsadc.html	man-sys-htmlman		html
 ./usr/share/man/html4/evbmips/aupci.html	man-sys-htmlman		html
 ./usr/share/man/html4/evbmips/intro.html	man-sys-htmlman		html
 ./usr/share/man/html4/evbppc/cpc.html		man-sys-htmlman		html
@@ -7192,6 +7194,7 @@
 ./usr/share/man/man4/evbarm/intro.4		man-sys-man		.man
 ./usr/share/man/man4/evbarm/iopaau.4		man-sys-man		.man
 ./usr/share/man/man4/evbarm/iopwdog.4		man-sys-man		.man
+./usr/share/man/man4/evbarm/rktsadc.4		man-sys-man		.man
 ./usr/share/man/man4/evbmips/aupci.4		man-sys-man		.man
 ./usr/share/man/man4/evbmips/intro.4		man-sys-man		.man
 ./usr/share/man/man4/evbppc/cpc.4		man-sys-man		.man

Index: src/share/man/man4/man4.evbarm/Makefile
diff -u src/share/man/man4/man4.evbarm/Makefile:1.8 src/share/man/man4/man4.evbarm/Makefile:1.9
--- src/share/man/man4/man4.evbarm/Makefile:1.8	Mon Apr 22 21:58:57 2019
+++ src/share/man/man4/man4.evbarm/Makefile	Thu Jun  6 05:32:29 2019
@@ -1,6 +1,7 @@
-#	$NetBSD: Makefile,v 1.8 2019/04/22 21:58:57 maya Exp $
+#	$NetBSD: Makefile,v 1.9 2019/06/06 05:32:29 mrg Exp $
 
-MAN=	awge.4 bcmgpio.4 cpsw.4 epgpio.4 gxio.4 intro.4 iopaau.4 iopwdog.4
+MAN=	awge.4 bcmgpio.4 cpsw.4 epgpio.4 gxio.4 intro.4 iopaau.4 iopwdog.4 \
+	rktsadc.4
 
 MANSUBDIR=/evbarm
 

Added files:

Index: src/share/man/man4/man4.evbarm/rktsadc.4
diff -u /dev/null src/share/man/man4/man4.evbarm/rktsadc.4:1.1
--- /dev/null	Thu Jun  6 05:32:29 2019
+++ src/share/man/man4/man4.evbarm/rktsadc.4	Thu Jun  6 05:32:29 2019
@@ -0,0 +1,66 @@
+.\"	$NetBSD: rktsadc.4,v 1.1 2019/06/06 05:32:29 mrg Exp $
+.\"
+.\" Copyright (c) 2019 Matthew R. Green
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"notice, this list of conditions and the following disclaimer in the
+.\"documentation and/or other materials provided with the distribution.
+.\" 3. The name of the author may not be used to endorse or promote products
+.\"derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd June 4, 2019
+.Dt RKTSADC 4
+.Os
+.Sh 

CVS commit: src

2019-06-05 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Jun  6 05:32:29 UTC 2019

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4/man4.evbarm: Makefile
Added Files:
src/share/man/man4/man4.evbarm: rktsadc.4

Log Message:
install new evbarm/rktsadc(4) manual.


To generate a diff of this commit:
cvs rdiff -u -r1.1646 -r1.1647 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/man4.evbarm/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/man4.evbarm/rktsadc.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/ic

2019-06-05 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Wed Jun  5 20:32:28 UTC 2019

Modified Files:
src/sys/dev/ic: ssdfb.c

Log Message:
add missing kthread_exit


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/ssdfb.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/ic/ssdfb.c
diff -u src/sys/dev/ic/ssdfb.c:1.5 src/sys/dev/ic/ssdfb.c:1.6
--- src/sys/dev/ic/ssdfb.c:1.5	Tue Jun  4 16:36:18 2019
+++ src/sys/dev/ic/ssdfb.c	Wed Jun  5 20:32:28 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: ssdfb.c,v 1.5 2019/06/04 16:36:18 tnn Exp $ */
+/* $NetBSD: ssdfb.c,v 1.6 2019/06/05 20:32:28 tnn Exp $ */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ssdfb.c,v 1.5 2019/06/04 16:36:18 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ssdfb.c,v 1.6 2019/06/05 20:32:28 tnn Exp $");
 
 #include "opt_ddb.h"
 
@@ -854,6 +854,7 @@ ssdfb_thread(void *arg)
 	}
 
 	mutex_exit(>sc_cond_mtx);
+	kthread_exit(0);
 }
 
 static void



CVS commit: src/sys/dev/mii

2019-06-05 Thread Frédéric Fauberteau
Module Name:src
Committed By:   triaxx
Date:   Wed Jun  5 17:50:06 UTC 2019

Modified Files:
src/sys/dev/mii: rgephy.c

Log Message:
Cosmetic changes

Assignment made during declaration.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/mii/rgephy.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/mii/rgephy.c
diff -u src/sys/dev/mii/rgephy.c:1.54 src/sys/dev/mii/rgephy.c:1.55
--- src/sys/dev/mii/rgephy.c:1.54	Thu Apr 11 09:14:07 2019
+++ src/sys/dev/mii/rgephy.c	Wed Jun  5 17:50:06 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: rgephy.c,v 1.54 2019/04/11 09:14:07 msaitoh Exp $	*/
+/*	$NetBSD: rgephy.c,v 1.55 2019/06/05 17:50:06 triaxx Exp $	*/
 
 /*
  * Copyright (c) 2003
@@ -33,7 +33,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.54 2019/04/11 09:14:07 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.55 2019/06/05 17:50:06 triaxx Exp $");
 
 
 /*
@@ -112,9 +112,6 @@ rgephy_attach(device_t parent, device_t 
 	int rev;
 	const char *sep = "";
 
-	ma = aux;
-	mii = ma->mii_data;
-
 	rev = MII_REV(ma->mii_id2);
 	mpd = mii_phy_match(ma, rgephys);
 	aprint_naive(": Media interface\n");



CVS commit: src/sys/dev/mii

2019-06-05 Thread Frédéric Fauberteau
Module Name:src
Committed By:   triaxx
Date:   Wed Jun  5 17:50:06 UTC 2019

Modified Files:
src/sys/dev/mii: rgephy.c

Log Message:
Cosmetic changes

Assignment made during declaration.


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/mii/rgephy.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2019-06-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Jun  5 16:28:07 UTC 2019

Modified Files:
src/sys/modules/solaris: Makefile.solmod
Removed Files:
src/external/cddl/osnet/dist/uts/common/rpc: types.h xdr.c xdr.h
xdr_array.c xdr_mem.c

Log Message:
Switch module solaris to native XDR.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 src/external/cddl/osnet/dist/uts/common/rpc/types.h
cvs rdiff -u -r1.2 -r0 src/external/cddl/osnet/dist/uts/common/rpc/xdr.c \
src/external/cddl/osnet/dist/uts/common/rpc/xdr_mem.c
cvs rdiff -u -r1.5 -r0 src/external/cddl/osnet/dist/uts/common/rpc/xdr.h
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/cddl/osnet/dist/uts/common/rpc/xdr_array.c
cvs rdiff -u -r1.6 -r1.7 src/sys/modules/solaris/Makefile.solmod

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2019-06-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Jun  5 16:28:07 UTC 2019

Modified Files:
src/sys/modules/solaris: Makefile.solmod
Removed Files:
src/external/cddl/osnet/dist/uts/common/rpc: types.h xdr.c xdr.h
xdr_array.c xdr_mem.c

Log Message:
Switch module solaris to native XDR.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r0 src/external/cddl/osnet/dist/uts/common/rpc/types.h
cvs rdiff -u -r1.2 -r0 src/external/cddl/osnet/dist/uts/common/rpc/xdr.c \
src/external/cddl/osnet/dist/uts/common/rpc/xdr_mem.c
cvs rdiff -u -r1.5 -r0 src/external/cddl/osnet/dist/uts/common/rpc/xdr.h
cvs rdiff -u -r1.1.1.1 -r0 \
src/external/cddl/osnet/dist/uts/common/rpc/xdr_array.c
cvs rdiff -u -r1.6 -r1.7 src/sys/modules/solaris/Makefile.solmod

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/modules/solaris/Makefile.solmod
diff -u src/sys/modules/solaris/Makefile.solmod:1.6 src/sys/modules/solaris/Makefile.solmod:1.7
--- src/sys/modules/solaris/Makefile.solmod:1.6	Sun Feb 17 04:05:58 2019
+++ src/sys/modules/solaris/Makefile.solmod	Wed Jun  5 16:28:07 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.solmod,v 1.6 2019/02/17 04:05:58 rin Exp $
+#	$NetBSD: Makefile.solmod,v 1.7 2019/06/05 16:28:07 hannken Exp $
 
 ZFSDIR=	${S}/../external/cddl/osnet
 
@@ -22,7 +22,7 @@ SRCS+=	fm.c
 SRCS+=	list.c
 SRCS+=	nvpair_alloc_system.c
 
-.PATH:	${ZFSDIR}/dist/uts/common/rpc
+.PATH:	${NETBSDSRCDIR}/common/lib/libc/rpc
 
 SRCS+=	xdr.c
 SRCS+=	xdr_array.c



CVS commit: src/common

2019-06-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Jun  5 16:25:43 UTC 2019

Modified Files:
src/common/include/rpc: types.h
src/common/lib/libc/rpc: xdr.c xdr_array.c xdr_mem.c

Log Message:
Make XDR usable from kernel or module.

No user visible changes intended.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/common/include/rpc/types.h
cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/rpc/xdr.c \
src/common/lib/libc/rpc/xdr_array.c src/common/lib/libc/rpc/xdr_mem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/common/include/rpc/types.h
diff -u src/common/include/rpc/types.h:1.1 src/common/include/rpc/types.h:1.2
--- src/common/include/rpc/types.h:1.1	Tue Jun  4 15:07:55 2019
+++ src/common/include/rpc/types.h	Wed Jun  5 16:25:43 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: types.h,v 1.1 2019/06/04 15:07:55 hannken Exp $	*/
+/*	$NetBSD: types.h,v 1.2 2019/06/05 16:25:43 hannken Exp $	*/
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -62,6 +62,19 @@ typedef   int32_t rpc_inline_t;
 #	define NULL	0
 #endif
 
+#if defined(_KERNEL) || defined(_STANDALONE)
+
+#define warn(msg,...) /**/
+
+typedef __caddr_t caddr_t;
+
+#include 
+
+#define mem_alloc(bsize)	kmem_alloc(bsize, KM_SLEEP)
+#define mem_free(ptr, bsize)	kmem_free(ptr, bsize)
+
+#else /* _KERNEL || _STANDALONE */
+
 #define mem_alloc(bsize)	calloc((size_t)1, bsize)
 #define mem_free(ptr, bsize)	free(ptr)
 
@@ -104,4 +117,6 @@ struct __rpc_sockinfo {
 	int si_alen;
 };
 
+#endif /* _KERNEL || _STANDALONE */
+
 #endif /* !_RPC_TYPES_H_ */

Index: src/common/lib/libc/rpc/xdr.c
diff -u src/common/lib/libc/rpc/xdr.c:1.1 src/common/lib/libc/rpc/xdr.c:1.2
--- src/common/lib/libc/rpc/xdr.c:1.1	Tue Jun  4 15:07:55 2019
+++ src/common/lib/libc/rpc/xdr.c	Wed Jun  5 16:25:43 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: xdr.c,v 1.1 2019/06/04 15:07:55 hannken Exp $	*/
+/*	$NetBSD: xdr.c,v 1.2 2019/06/05 16:25:43 hannken Exp $	*/
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -37,7 +37,7 @@
 static char *sccsid = "@(#)xdr.c 1.35 87/08/12";
 static char *sccsid = "@(#)xdr.c	2.1 88/07/29 4.0 RPCSRC";
 #else
-__RCSID("$NetBSD: xdr.c,v 1.1 2019/06/04 15:07:55 hannken Exp $");
+__RCSID("$NetBSD: xdr.c,v 1.2 2019/06/05 16:25:43 hannken Exp $");
 #endif
 #endif
 
@@ -51,6 +51,14 @@ __RCSID("$NetBSD: xdr.c,v 1.1 2019/06/04
  * xdr.
  */
 
+#if defined(_KERNEL) || defined(_STANDALONE)
+
+#include 
+#include 
+#include 
+
+#else /* _KERNEL || _STANDALONE */
+
 #include "namespace.h"
 
 #include 
@@ -95,6 +103,8 @@ __weak_alias(xdr_void,_xdr_void)
 __weak_alias(xdr_wrapstring,_xdr_wrapstring)
 #endif
 
+#endif /* _KERNEL || _STANDALONE */
+
 /*
  * constants specific to the xdr "protocol"
  */
@@ -633,7 +643,7 @@ xdr_bytes(XDR *xdrs, char **cpp, u_int *
 		ret = xdr_opaque(xdrs, sp, nodesize);
 		if ((xdrs->x_op == XDR_DECODE) && (ret == FALSE)) {
 			if (allocated == TRUE) {
-free(sp);
+mem_free(sp, nodesize);
 *cpp = NULL;
 			}
 		}
@@ -793,7 +803,7 @@ xdr_string(XDR *xdrs, char **cpp, u_int 
 		ret = xdr_opaque(xdrs, sp, size);
 		if ((xdrs->x_op == XDR_DECODE) && (ret == FALSE)) {
 			if (allocated == TRUE) {
-free(sp);
+mem_free(sp, nodesize);
 *cpp = NULL;
 			}
 		}
@@ -808,6 +818,8 @@ xdr_string(XDR *xdrs, char **cpp, u_int 
 	return (FALSE);
 }
 
+#if !defined(_KERNEL) && !defined(_STANDALONE)
+
 /* 
  * Wrapper for xdr_string that can be called directly from 
  * routines like clnt_call
@@ -822,6 +834,8 @@ xdr_wrapstring(XDR *xdrs, char **cpp)
 	return xdr_string(xdrs, cpp, RPC_MAXDATASIZE);
 }
 
+#endif /* !_KERNEL && !_STANDALONE */
+
 /*
  * NOTE: xdr_hyper(), xdr_u_hyper(), xdr_longlong_t(), and xdr_u_longlong_t()
  * are in the "non-portable" section because they require that a `long long'
Index: src/common/lib/libc/rpc/xdr_array.c
diff -u src/common/lib/libc/rpc/xdr_array.c:1.1 src/common/lib/libc/rpc/xdr_array.c:1.2
--- src/common/lib/libc/rpc/xdr_array.c:1.1	Tue Jun  4 15:07:55 2019
+++ src/common/lib/libc/rpc/xdr_array.c	Wed Jun  5 16:25:43 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: xdr_array.c,v 1.1 2019/06/04 15:07:55 hannken Exp $	*/
+/*	$NetBSD: xdr_array.c,v 1.2 2019/06/05 16:25:43 hannken Exp $	*/
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -37,7 +37,7 @@
 static char *sccsid = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
 static char *sccsid = "@(#)xdr_array.c	2.1 88/07/29 4.0 RPCSRC";
 #else
-__RCSID("$NetBSD: xdr_array.c,v 1.1 2019/06/04 15:07:55 hannken Exp $");
+__RCSID("$NetBSD: xdr_array.c,v 1.2 2019/06/05 16:25:43 hannken Exp $");
 #endif
 #endif
 
@@ -50,6 +50,15 @@ __RCSID("$NetBSD: xdr_array.c,v 1.1 2019
  * arrays.  See xdr.h for more info on the interface to xdr.
  */
 
+#if defined(_KERNEL) || defined(_STANDALONE)
+
+#include 
+#include 
+#include 
+#include 
+
+#else /* _KERNEL || _STANDALONE */
+
 #include "namespace.h"
 
 #include 
@@ -66,6 

CVS commit: src/common

2019-06-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Wed Jun  5 16:25:43 UTC 2019

Modified Files:
src/common/include/rpc: types.h
src/common/lib/libc/rpc: xdr.c xdr_array.c xdr_mem.c

Log Message:
Make XDR usable from kernel or module.

No user visible changes intended.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/common/include/rpc/types.h
cvs rdiff -u -r1.1 -r1.2 src/common/lib/libc/rpc/xdr.c \
src/common/lib/libc/rpc/xdr_array.c src/common/lib/libc/rpc/xdr_mem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/installboot/evbarm

2019-06-05 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Jun  5 07:22:49 UTC 2019

Modified Files:
src/share/installboot/evbarm: boards.plist

Log Message:
Add Banana Pi BPI-M2 Zero and P2 Zero.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/installboot/evbarm/boards.plist

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/installboot/evbarm

2019-06-05 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Jun  5 07:22:49 UTC 2019

Modified Files:
src/share/installboot/evbarm: boards.plist

Log Message:
Add Banana Pi BPI-M2 Zero and P2 Zero.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/installboot/evbarm/boards.plist

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/installboot/evbarm/boards.plist
diff -u src/share/installboot/evbarm/boards.plist:1.3 src/share/installboot/evbarm/boards.plist:1.4
--- src/share/installboot/evbarm/boards.plist:1.3	Wed May 29 03:25:46 2019
+++ src/share/installboot/evbarm/boards.plist	Wed Jun  5 07:22:49 2019
@@ -1,4 +1,4 @@
-
+