CVS commit: [netbsd-7] src/doc

2017-08-19 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Aug 20 05:48:00 UTC 2017

Modified Files:
src/doc [netbsd-7]: CHANGES-7.2

Log Message:
1493


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.39 -r1.1.2.40 src/doc/CHANGES-7.2

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-7.2
diff -u src/doc/CHANGES-7.2:1.1.2.39 src/doc/CHANGES-7.2:1.1.2.40
--- src/doc/CHANGES-7.2:1.1.2.39	Sat Aug 19 05:24:10 2017
+++ src/doc/CHANGES-7.2	Sun Aug 20 05:48:00 2017
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-7.2,v 1.1.2.39 2017/08/19 05:24:10 snj Exp $
+# $NetBSD: CHANGES-7.2,v 1.1.2.40 2017/08/20 05:48:00 snj Exp $
 
 A complete list of changes from the NetBSD 7.1 release to the NetBSD 7.2
 release:
@@ -3476,3 +3476,1113 @@ bin/rmdir/rmdir.c1.27
 	PR/48182: Fix rmdir -p handling of top-level (root) directory.
 	[ginsbach, ticket #1488]
 
+crypto/external/bsd/heimdal/Makefile.rules.inc  up to 1.8
+crypto/external/bsd/heimdal/bin/Makefile.incup to 1.3
+crypto/external/bsd/heimdal/bin/kcc/Makefileup to 1.3
+crypto/external/bsd/heimdal/dist/LICENSEup to 1.1.1.2
+crypto/external/bsd/heimdal/dist/Makefile.amup to 1.1.1.4
+crypto/external/bsd/heimdal/dist/NEWS   up to 1.2
+crypto/external/bsd/heimdal/dist/NTMakefile up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/README.fastup to 1.1.1.1
+crypto/external/bsd/heimdal/dist/admin/Makefile.am up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/admin/add.cup to 1.2
+crypto/external/bsd/heimdal/dist/admin/change.c up to 1.2
+crypto/external/bsd/heimdal/dist/admin/copy.c   up to 1.2
+crypto/external/bsd/heimdal/dist/admin/get.cup to 1.2
+crypto/external/bsd/heimdal/dist/admin/ktutil-commands.in up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/admin/ktutil.1 up to 1.2
+crypto/external/bsd/heimdal/dist/admin/ktutil.8 delete
+crypto/external/bsd/heimdal/dist/admin/ktutil.c up to 1.2
+crypto/external/bsd/heimdal/dist/admin/list.c   up to 1.2
+crypto/external/bsd/heimdal/dist/admin/purge.c  up to 1.2
+crypto/external/bsd/heimdal/dist/admin/remove.c up to 1.2
+crypto/external/bsd/heimdal/dist/admin/rename.c up to 1.2
+crypto/external/bsd/heimdal/dist/appveyor.yml   up to 1.1.1.1
+crypto/external/bsd/heimdal/dist/autogen.sh up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/base/Makefile.am delete
+crypto/external/bsd/heimdal/dist/base/NTMakefile delete
+crypto/external/bsd/heimdal/dist/base/array.c   delete
+crypto/external/bsd/heimdal/dist/base/baselocl.h delete
+crypto/external/bsd/heimdal/dist/base/bool.cdelete
+crypto/external/bsd/heimdal/dist/base/dict.cdelete
+crypto/external/bsd/heimdal/dist/base/heimbase.c delete
+crypto/external/bsd/heimdal/dist/base/heimbase.h delete
+crypto/external/bsd/heimdal/dist/base/heimbasepriv.h delete
+crypto/external/bsd/heimdal/dist/base/heimqueue.h delete
+crypto/external/bsd/heimdal/dist/base/json.cdelete
+crypto/external/bsd/heimdal/dist/base/null.cdelete
+crypto/external/bsd/heimdal/dist/base/number.c  delete
+crypto/external/bsd/heimdal/dist/base/roken_rename.h delete
+crypto/external/bsd/heimdal/dist/base/string.c  delete
+crypto/external/bsd/heimdal/dist/base/test_base.c delete
+crypto/external/bsd/heimdal/dist/base/version-script.map delete
+crypto/external/bsd/heimdal/dist/cf/Makefile.am.common up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/check-compile-et.m4 up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/check-x.m4  delete
+crypto/external/bsd/heimdal/dist/cf/check-xau.m4 delete
+crypto/external/bsd/heimdal/dist/cf/crypto.m4   up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/db.m4   up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/dispatch.m4 up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/cf/dlopen.m4   up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/find-func-no-libs2.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/install-catman.sh up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/krb-ipv6.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/krb-prog-perl.m4 up to 1.1.1.1
+crypto/external/bsd/heimdal/dist/cf/make-proto.pl up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/maybe-valgrind.sh up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/cf/misc.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/proto-compat.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/pthreads.m4 up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/retsigtype.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/roken-frag.m4 up to 1.2
+crypto/external/bsd/heimdal/dist/cf/roken-h-process.pl up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/cf/sunos.m4up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/test-package.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/valgrind-suppressions up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/version-script.m4 up to 1.2
+crypto/external/bsd/heimdal/dist/cf/wflags.m4   up to 1.1.1.3

CVS commit: [netbsd-7-1] src/doc

2017-08-19 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Aug 20 05:45:36 UTC 2017

Modified Files:
src/doc [netbsd-7-1]: CHANGES-7.1.1

Log Message:
1493


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.25 -r1.1.2.26 src/doc/CHANGES-7.1.1

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-7.1.1
diff -u src/doc/CHANGES-7.1.1:1.1.2.25 src/doc/CHANGES-7.1.1:1.1.2.26
--- src/doc/CHANGES-7.1.1:1.1.2.25	Sat Aug 19 05:24:21 2017
+++ src/doc/CHANGES-7.1.1	Sun Aug 20 05:45:36 2017
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-7.1.1,v 1.1.2.25 2017/08/19 05:24:21 snj Exp $
+# $NetBSD: CHANGES-7.1.1,v 1.1.2.26 2017/08/20 05:45:36 snj Exp $
 
 A complete list of changes from the NetBSD 7.1 release to the NetBSD 7.1.1
 release:
@@ -2516,3 +2516,1113 @@ sys/kern/kern_ktrace.c1.171 via patc
 	infoleak in ktruser() if copyin fails.
 	[mrg, ticket #1481]
 
+crypto/external/bsd/heimdal/Makefile.rules.inc  up to 1.8
+crypto/external/bsd/heimdal/bin/Makefile.incup to 1.3
+crypto/external/bsd/heimdal/bin/kcc/Makefileup to 1.3
+crypto/external/bsd/heimdal/dist/LICENSEup to 1.1.1.2
+crypto/external/bsd/heimdal/dist/Makefile.amup to 1.1.1.4
+crypto/external/bsd/heimdal/dist/NEWS   up to 1.2
+crypto/external/bsd/heimdal/dist/NTMakefile up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/README.fastup to 1.1.1.1
+crypto/external/bsd/heimdal/dist/admin/Makefile.am up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/admin/add.cup to 1.2
+crypto/external/bsd/heimdal/dist/admin/change.c up to 1.2
+crypto/external/bsd/heimdal/dist/admin/copy.c   up to 1.2
+crypto/external/bsd/heimdal/dist/admin/get.cup to 1.2
+crypto/external/bsd/heimdal/dist/admin/ktutil-commands.in up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/admin/ktutil.1 up to 1.2
+crypto/external/bsd/heimdal/dist/admin/ktutil.8 delete
+crypto/external/bsd/heimdal/dist/admin/ktutil.c up to 1.2
+crypto/external/bsd/heimdal/dist/admin/list.c   up to 1.2
+crypto/external/bsd/heimdal/dist/admin/purge.c  up to 1.2
+crypto/external/bsd/heimdal/dist/admin/remove.c up to 1.2
+crypto/external/bsd/heimdal/dist/admin/rename.c up to 1.2
+crypto/external/bsd/heimdal/dist/appveyor.yml   up to 1.1.1.1
+crypto/external/bsd/heimdal/dist/autogen.sh up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/base/Makefile.am delete
+crypto/external/bsd/heimdal/dist/base/NTMakefile delete
+crypto/external/bsd/heimdal/dist/base/array.c   delete
+crypto/external/bsd/heimdal/dist/base/baselocl.h delete
+crypto/external/bsd/heimdal/dist/base/bool.cdelete
+crypto/external/bsd/heimdal/dist/base/dict.cdelete
+crypto/external/bsd/heimdal/dist/base/heimbase.c delete
+crypto/external/bsd/heimdal/dist/base/heimbase.h delete
+crypto/external/bsd/heimdal/dist/base/heimbasepriv.h delete
+crypto/external/bsd/heimdal/dist/base/heimqueue.h delete
+crypto/external/bsd/heimdal/dist/base/json.cdelete
+crypto/external/bsd/heimdal/dist/base/null.cdelete
+crypto/external/bsd/heimdal/dist/base/number.c  delete
+crypto/external/bsd/heimdal/dist/base/roken_rename.h delete
+crypto/external/bsd/heimdal/dist/base/string.c  delete
+crypto/external/bsd/heimdal/dist/base/test_base.c delete
+crypto/external/bsd/heimdal/dist/base/version-script.map delete
+crypto/external/bsd/heimdal/dist/cf/Makefile.am.common up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/check-compile-et.m4 up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/check-x.m4  delete
+crypto/external/bsd/heimdal/dist/cf/check-xau.m4 delete
+crypto/external/bsd/heimdal/dist/cf/crypto.m4   up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/db.m4   up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/dispatch.m4 up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/cf/dlopen.m4   up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/find-func-no-libs2.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/install-catman.sh up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/krb-ipv6.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/krb-prog-perl.m4 up to 1.1.1.1
+crypto/external/bsd/heimdal/dist/cf/make-proto.pl up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/maybe-valgrind.sh up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/cf/misc.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/proto-compat.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/pthreads.m4 up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/retsigtype.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/roken-frag.m4 up to 1.2
+crypto/external/bsd/heimdal/dist/cf/roken-h-process.pl up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/cf/sunos.m4up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/test-package.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/valgrind-suppressions up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/version-script.m4 up to 1.2
+crypto/external/bsd/heimdal/dist/cf/wflags.m4   up to 1.1.1.3

CVS commit: [netbsd-7-0] src/doc

2017-08-19 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Aug 20 05:43:07 UTC 2017

Modified Files:
src/doc [netbsd-7-0]: CHANGES-7.0.3

Log Message:
1493


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.56 -r1.1.2.57 src/doc/CHANGES-7.0.3

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-7.0.3
diff -u src/doc/CHANGES-7.0.3:1.1.2.56 src/doc/CHANGES-7.0.3:1.1.2.57
--- src/doc/CHANGES-7.0.3:1.1.2.56	Sat Aug 19 05:24:31 2017
+++ src/doc/CHANGES-7.0.3	Sun Aug 20 05:43:07 2017
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-7.0.3,v 1.1.2.56 2017/08/19 05:24:31 snj Exp $
+# $NetBSD: CHANGES-7.0.3,v 1.1.2.57 2017/08/20 05:43:07 snj Exp $
 
 A complete list of changes from the NetBSD 7.0.2 release to the NetBSD 7.0.3
 release:
@@ -3806,3 +3806,1113 @@ sys/kern/kern_ktrace.c1.171 via patc
 	infoleak in ktruser() if copyin fails.
 	[mrg, ticket #1481]
 
+crypto/external/bsd/heimdal/Makefile.rules.inc  up to 1.8
+crypto/external/bsd/heimdal/bin/Makefile.incup to 1.3
+crypto/external/bsd/heimdal/bin/kcc/Makefileup to 1.3
+crypto/external/bsd/heimdal/dist/LICENSEup to 1.1.1.2
+crypto/external/bsd/heimdal/dist/Makefile.amup to 1.1.1.4
+crypto/external/bsd/heimdal/dist/NEWS   up to 1.2
+crypto/external/bsd/heimdal/dist/NTMakefile up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/README.fastup to 1.1.1.1
+crypto/external/bsd/heimdal/dist/admin/Makefile.am up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/admin/add.cup to 1.2
+crypto/external/bsd/heimdal/dist/admin/change.c up to 1.2
+crypto/external/bsd/heimdal/dist/admin/copy.c   up to 1.2
+crypto/external/bsd/heimdal/dist/admin/get.cup to 1.2
+crypto/external/bsd/heimdal/dist/admin/ktutil-commands.in up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/admin/ktutil.1 up to 1.2
+crypto/external/bsd/heimdal/dist/admin/ktutil.8 delete
+crypto/external/bsd/heimdal/dist/admin/ktutil.c up to 1.2
+crypto/external/bsd/heimdal/dist/admin/list.c   up to 1.2
+crypto/external/bsd/heimdal/dist/admin/purge.c  up to 1.2
+crypto/external/bsd/heimdal/dist/admin/remove.c up to 1.2
+crypto/external/bsd/heimdal/dist/admin/rename.c up to 1.2
+crypto/external/bsd/heimdal/dist/appveyor.yml   up to 1.1.1.1
+crypto/external/bsd/heimdal/dist/autogen.sh up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/base/Makefile.am delete
+crypto/external/bsd/heimdal/dist/base/NTMakefile delete
+crypto/external/bsd/heimdal/dist/base/array.c   delete
+crypto/external/bsd/heimdal/dist/base/baselocl.h delete
+crypto/external/bsd/heimdal/dist/base/bool.cdelete
+crypto/external/bsd/heimdal/dist/base/dict.cdelete
+crypto/external/bsd/heimdal/dist/base/heimbase.c delete
+crypto/external/bsd/heimdal/dist/base/heimbase.h delete
+crypto/external/bsd/heimdal/dist/base/heimbasepriv.h delete
+crypto/external/bsd/heimdal/dist/base/heimqueue.h delete
+crypto/external/bsd/heimdal/dist/base/json.cdelete
+crypto/external/bsd/heimdal/dist/base/null.cdelete
+crypto/external/bsd/heimdal/dist/base/number.c  delete
+crypto/external/bsd/heimdal/dist/base/roken_rename.h delete
+crypto/external/bsd/heimdal/dist/base/string.c  delete
+crypto/external/bsd/heimdal/dist/base/test_base.c delete
+crypto/external/bsd/heimdal/dist/base/version-script.map delete
+crypto/external/bsd/heimdal/dist/cf/Makefile.am.common up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/check-compile-et.m4 up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/check-x.m4  delete
+crypto/external/bsd/heimdal/dist/cf/check-xau.m4 delete
+crypto/external/bsd/heimdal/dist/cf/crypto.m4   up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/db.m4   up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/dispatch.m4 up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/cf/dlopen.m4   up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/find-func-no-libs2.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/install-catman.sh up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/krb-ipv6.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/krb-prog-perl.m4 up to 1.1.1.1
+crypto/external/bsd/heimdal/dist/cf/make-proto.pl up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/maybe-valgrind.sh up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/cf/misc.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/proto-compat.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/pthreads.m4 up to 1.1.1.4
+crypto/external/bsd/heimdal/dist/cf/retsigtype.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/roken-frag.m4 up to 1.2
+crypto/external/bsd/heimdal/dist/cf/roken-h-process.pl up to 1.1.1.2
+crypto/external/bsd/heimdal/dist/cf/sunos.m4up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/test-package.m4 up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/valgrind-suppressions up to 1.1.1.3
+crypto/external/bsd/heimdal/dist/cf/version-script.m4 up to 1.2
+crypto/external/bsd/heimdal/dist/cf/wflags.m4   up to 1.1.1.3

CVS commit: src/sys/ufs/lfs

2017-08-19 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Aug 20 05:37:03 UTC 2017

Modified Files:
src/sys/ufs/lfs: lfs_vnops.c

Log Message:
Fix typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.320 -r1.321 src/sys/ufs/lfs/lfs_vnops.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/ufs/lfs/lfs_vnops.c
diff -u src/sys/ufs/lfs/lfs_vnops.c:1.320 src/sys/ufs/lfs/lfs_vnops.c:1.321
--- src/sys/ufs/lfs/lfs_vnops.c:1.320	Sat Aug 19 12:01:08 2017
+++ src/sys/ufs/lfs/lfs_vnops.c	Sun Aug 20 05:37:03 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: lfs_vnops.c,v 1.320 2017/08/19 12:01:08 maya Exp $	*/
+/*	$NetBSD: lfs_vnops.c,v 1.321 2017/08/20 05:37:03 maya Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -125,7 +125,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.320 2017/08/19 12:01:08 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.321 2017/08/20 05:37:03 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -473,7 +473,7 @@ lfs_fsync(void *v)
 	}
 
 	/*
-	 * If a vnode is bring cleaned, flush it out before we try to
+	 * If a vnode is being cleaned, flush it out before we try to
 	 * reuse it.  This prevents the cleaner from writing files twice
 	 * in the same partial segment, causing an accounting underflow.
 	 */



CVS commit: src/sys/dev

2017-08-19 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Aug 20 05:12:18 UTC 2017

Modified Files:
src/sys/dev: audio.c

Log Message:
hw_if->set_params is mandatory, so it will never be NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.402 -r1.403 src/sys/dev/audio.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/audio.c
diff -u src/sys/dev/audio.c:1.402 src/sys/dev/audio.c:1.403
--- src/sys/dev/audio.c:1.402	Sun Aug 20 03:13:04 2017
+++ src/sys/dev/audio.c	Sun Aug 20 05:12:17 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: audio.c,v 1.402 2017/08/20 03:13:04 isaki Exp $	*/
+/*	$NetBSD: audio.c,v 1.403 2017/08/20 05:12:17 isaki Exp $	*/
 
 /*-
  * Copyright (c) 2016 Nathanial Sloss 
@@ -148,7 +148,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.402 2017/08/20 03:13:04 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.403 2017/08/20 05:12:17 isaki Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -5731,7 +5731,7 @@ audio_set_params(struct audio_softc *sc,
 
 	KASSERT(mutex_owned(sc->sc_lock));
 
-	if (vc == sc->sc_hwvc && sc->hw_if->set_params != NULL) {
+	if (vc == sc->sc_hwvc) {
 		sc->sc_ready = true;
 		if (sc->sc_vchan_params.precision == 8)
 			play->encoding = rec->encoding = AUDIO_ENCODING_SLINEAR;



CVS commit: [netbsd-8] src/doc

2017-08-19 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Aug 20 04:56:55 UTC 2017

Modified Files:
src/doc [netbsd-8]: CHANGES-8.0

Log Message:
210, 213, 214


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.40 -r1.1.2.41 src/doc/CHANGES-8.0

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-8.0
diff -u src/doc/CHANGES-8.0:1.1.2.40 src/doc/CHANGES-8.0:1.1.2.41
--- src/doc/CHANGES-8.0:1.1.2.40	Mon Aug 14 23:57:50 2017
+++ src/doc/CHANGES-8.0	Sun Aug 20 04:56:55 2017
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-8.0,v 1.1.2.40 2017/08/14 23:57:50 snj Exp $
+# $NetBSD: CHANGES-8.0,v 1.1.2.41 2017/08/20 04:56:55 snj Exp $
 
 A complete list of changes from the initial NetBSD 8.0 branch on 2017-06-04
 until the 8.0 release:
@@ -5251,3 +5251,24 @@ external/bsd/libpcap/dist/gencode.c		1.1
 	unactivated pcap_t handle.  PR lib/51952.
 	[ginsbach, ticket #209]
 
+sys/dev/hdaudio/hdafg.c1.13
+sys/dev/hdaudio/hdafg_dd.c			1.2
+
+	put all the ELD debugging messages under
+	#ifdef HDAFG_HDMI_DEBUG.
+	[mrg, ticket #210]
+
+lib/libc/rpc/rpcb_st_xdr.c			1.12
+
+	Fixed NetBSD RPCBPROC_GETSTAT endocde/decode interoperability
+	issues with other operating systems. The get statistics option
+	(-m) of rpcifno now works correctly against other
+	implementations of rpcbind and vice versa.  PR lib/15802.
+	[ginsbach, ticket #213]
+
+lib/libc/stdlib/merge.c1.15
+
+	Gracefully handle a zero number of members argument in
+	mergesort(3).  PR lib/50316.
+	[ginsbach, ticket #214]
+



CVS commit: [netbsd-8] src/lib/libc/stdlib

2017-08-19 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Aug 20 04:55:40 UTC 2017

Modified Files:
src/lib/libc/stdlib [netbsd-8]: merge.c

Log Message:
Pull up following revision(s) (requested by ginsbach in ticket #214):
lib/libc/stdlib/merge.c: revision 1.15
PR lib/50316: Gracefully handle a zero number of members argument.
Taken from FreeBSD (which fixed this same issue long ago).


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.24.1 src/lib/libc/stdlib/merge.c

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

Modified files:

Index: src/lib/libc/stdlib/merge.c
diff -u src/lib/libc/stdlib/merge.c:1.14 src/lib/libc/stdlib/merge.c:1.14.24.1
--- src/lib/libc/stdlib/merge.c:1.14	Tue Mar 13 21:13:48 2012
+++ src/lib/libc/stdlib/merge.c	Sun Aug 20 04:55:40 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: merge.c,v 1.14 2012/03/13 21:13:48 christos Exp $	*/
+/*	$NetBSD: merge.c,v 1.14.24.1 2017/08/20 04:55:40 snj Exp $	*/
 
 /*-
  * Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "from: @(#)merge.c	8.2 (Berkeley) 2/14/94";
 #else
-__RCSID("$NetBSD: merge.c,v 1.14 2012/03/13 21:13:48 christos Exp $");
+__RCSID("$NetBSD: merge.c,v 1.14.24.1 2017/08/20 04:55:40 snj Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -125,6 +125,9 @@ mergesort(void *base, size_t nmemb, size
 		return (-1);
 	}
 
+	if (nmemb == 0)
+		return (0);
+
 	/*
 	 * XXX
 	 * Stupid subtraction for the Cray.



CVS commit: [netbsd-8] src/lib/libc/rpc

2017-08-19 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Aug 20 04:53:31 UTC 2017

Modified Files:
src/lib/libc/rpc [netbsd-8]: rpcb_st_xdr.c

Log Message:
Pull up following revision(s) (requested by ginsbach in ticket #213):
lib/libc/rpc/rpcb_st_xdr.c: revision 1.12
PR lib/15802: Shuuichirou Murata: Add missing xdr_rpcbs_rmtcalllist_ptr
There was a missing call to xdr_rpcbs_rmtcalllist_ptr in xdr_rpcb_stat.
This fixes issues with RPCBPROC_GETSTAT not working correctly with
systems that correctly implement the XDR encode/decode routine.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.11.2.1 src/lib/libc/rpc/rpcb_st_xdr.c

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

Modified files:

Index: src/lib/libc/rpc/rpcb_st_xdr.c
diff -u src/lib/libc/rpc/rpcb_st_xdr.c:1.11 src/lib/libc/rpc/rpcb_st_xdr.c:1.11.2.1
--- src/lib/libc/rpc/rpcb_st_xdr.c:1.11	Wed May  3 21:39:27 2017
+++ src/lib/libc/rpc/rpcb_st_xdr.c	Sun Aug 20 04:53:31 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: rpcb_st_xdr.c,v 1.11 2017/05/03 21:39:27 christos Exp $	*/
+/*	$NetBSD: rpcb_st_xdr.c,v 1.11.2.1 2017/08/20 04:53:31 snj Exp $	*/
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -42,7 +42,7 @@
 
 #include 
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: rpcb_st_xdr.c,v 1.11 2017/05/03 21:39:27 christos Exp $");
+__RCSID("$NetBSD: rpcb_st_xdr.c,v 1.11.2.1 2017/08/20 04:53:31 snj Exp $");
 #endif
 
 #include "namespace.h"
@@ -258,6 +258,9 @@ xdr_rpcb_stat(XDR *xdrs, rpcb_stat *objp
 	if (!xdr_rpcbs_addrlist_ptr(xdrs, >addrinfo)) {
 		return (FALSE);
 	}
+	if (!xdr_rpcbs_rmtcalllist_ptr(xdrs, >rmtinfo)) {
+		return (FALSE);
+	}
 	return (TRUE);
 }
 



CVS commit: [netbsd-8] src/sys/dev/hdaudio

2017-08-19 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun Aug 20 04:50:38 UTC 2017

Modified Files:
src/sys/dev/hdaudio [netbsd-8]: hdafg.c hdafg_dd.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #210):
sys/dev/hdaudio/hdafg.c: revision 1.13
sys/dev/hdaudio/hdafg_dd.c: revision 1.2
put all the ELD debugging messages under #ifdef HDAFG_HDMI_DEBUG.
this silences a frequent and largely useless series of messages
in my dmesg.  ok jmcneill.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.12.2.1 src/sys/dev/hdaudio/hdafg.c
cvs rdiff -u -r1.1 -r1.1.12.1 src/sys/dev/hdaudio/hdafg_dd.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/hdaudio/hdafg.c
diff -u src/sys/dev/hdaudio/hdafg.c:1.12 src/sys/dev/hdaudio/hdafg.c:1.12.2.1
--- src/sys/dev/hdaudio/hdafg.c:1.12	Thu Jun  1 02:45:10 2017
+++ src/sys/dev/hdaudio/hdafg.c	Sun Aug 20 04:50:38 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: hdafg.c,v 1.12 2017/06/01 02:45:10 chs Exp $ */
+/* $NetBSD: hdafg.c,v 1.12.2.1 2017/08/20 04:50:38 snj Exp $ */
 
 /*
  * Copyright (c) 2009 Precedence Technologies Ltd 
@@ -60,7 +60,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: hdafg.c,v 1.12 2017/06/01 02:45:10 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdafg.c,v 1.12.2.1 2017/08/20 04:50:38 snj Exp $");
 
 #include 
 #include 
@@ -879,15 +879,19 @@ hdafg_assoc_dump_dd(struct hdafg_softc *
 			res = (*cmd)(sc->sc_codec, as->as_pins[pin],
 			CORB_GET_HDMI_ELD_DATA, i);
 			if (!(res & COP_ELD_VALID)) {
+#ifdef HDAFG_HDMI_DEBUG
 hda_error(sc, "bad ELD size (%u/%u)\n",
 i, elddatalen);
+#endif
 break;
 			}
 			elddata[i] = COP_ELD_DATA(res);
 		}
 
 		if (hdafg_dd_parse_info(elddata, elddatalen, ) != 0) {
+#ifdef HDAFG_HDMI_DEBUG
 			hda_error(sc, "failed to parse ELD data\n");
+#endif
 			return;
 		}
 
@@ -4342,7 +4346,9 @@ hdafg_unsol(device_t self, uint8_t tag)
 
 	switch (tag) {
 	case HDAUDIO_UNSOLTAG_EVENT_DD:
+#ifdef HDAFG_HDMI_DEBUG
 		hda_print(sc, "unsol: display device hotplug\n");
+#endif
 		for (i = 0; i < sc->sc_nassocs; i++) {
 			if (as[i].as_displaydev == false)
 continue;
@@ -4354,7 +4360,9 @@ hdafg_unsol(device_t self, uint8_t tag)
 		}
 		break;
 	default:
+#ifdef HDAFG_HDMI_DEBUG
 		hda_print(sc, "unsol: tag=%u\n", tag);
+#endif
 		break;
 	}
 

Index: src/sys/dev/hdaudio/hdafg_dd.c
diff -u src/sys/dev/hdaudio/hdafg_dd.c:1.1 src/sys/dev/hdaudio/hdafg_dd.c:1.1.12.1
--- src/sys/dev/hdaudio/hdafg_dd.c:1.1	Sat Mar 28 14:09:59 2015
+++ src/sys/dev/hdaudio/hdafg_dd.c	Sun Aug 20 04:50:38 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: hdafg_dd.c,v 1.1 2015/03/28 14:09:59 jmcneill Exp $ */
+/* $NetBSD: hdafg_dd.c,v 1.1.12.1 2017/08/20 04:50:38 snj Exp $ */
 
 /*
  * Copyright (c) 2011 Jared D. McNeill 
@@ -30,7 +30,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: hdafg_dd.c,v 1.1 2015/03/28 14:09:59 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdafg_dd.c,v 1.1.12.1 2017/08/20 04:50:38 snj Exp $");
 
 #include 
 #include 
@@ -50,12 +50,16 @@ hdafg_dd_parse_info(uint8_t *data, size_
 	struct eld_baseline_block *block = >eld;
 	unsigned int i;
 
+#ifdef HDAFG_HDMI_DEBUG
 	printf("hdafg_dd_parse_info: datalen=%u\n", (unsigned int)datalen);
+#endif
 
 	memset(hdi, 0, sizeof(*hdi));
 
 	if (datalen < sizeof(block->header)) {
+#ifdef HDAFG_HDMI_DEBUG
 		printf(" no room for header\n");
+#endif
 		return EINVAL;
 	}
 
@@ -65,7 +69,9 @@ hdafg_dd_parse_info(uint8_t *data, size_
 
 	if (datalen < block->header.baseline_eld_len * 4 ||
 	datalen < sizeof(*block) - sizeof(block->header)) {
+#ifdef HDAFG_HDMI_DEBUG
 		printf(" ack!\n");
+#endif
 		return EINVAL;
 	}
 
@@ -76,7 +82,9 @@ hdafg_dd_parse_info(uint8_t *data, size_
 	datalen -= sizeof(*block) - sizeof(block->header);
 
 	if (datalen < ELD_MNL(block)) {
+#ifdef HDAFG_HDMI_DEBUG
 		printf(" MNL=%u\n", ELD_MNL(block));
+#endif
 		return EINVAL;
 	}
 
@@ -85,10 +93,12 @@ hdafg_dd_parse_info(uint8_t *data, size_
 	datalen -= ELD_MNL(block);
 
 	if (datalen != ELD_SAD_COUNT(block) * sizeof(hdi->sad[0])) {
+#ifdef HDAFG_HDMI_DEBUG
 		printf(" datalen %u sadcount %u sizeof sad %u\n",
 		(unsigned int)datalen,
 		ELD_SAD_COUNT(block),
 		(unsigned int)sizeof(hdi->sad[0]));
+#endif
 		return EINVAL;
 	}
 	hdi->nsad = ELD_SAD_COUNT(block);
@@ -98,7 +108,9 @@ hdafg_dd_parse_info(uint8_t *data, size_
 		datalen -= sizeof(hdi->sad[i]);
 	}
 
+#ifdef HDAFG_HDMI_DEBUG
 	printf("datalen = %u\n", (unsigned int)datalen);
+#endif
 	KASSERT(datalen == 0);
 
 	return 0;



CVS commit: src/sys/dev

2017-08-19 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Aug 20 03:13:04 UTC 2017

Modified Files:
src/sys/dev: audio.c audiovar.h

Log Message:
Remove meaningless sc_blkset.
audio_calc_blksize() checks whether sc_blkset is set but
it seems to be always cleared before calling audio_calc_blksize().


To generate a diff of this commit:
cvs rdiff -u -r1.401 -r1.402 src/sys/dev/audio.c
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/audiovar.h

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/audio.c
diff -u src/sys/dev/audio.c:1.401 src/sys/dev/audio.c:1.402
--- src/sys/dev/audio.c:1.401	Sun Aug 20 03:02:36 2017
+++ src/sys/dev/audio.c	Sun Aug 20 03:13:04 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: audio.c,v 1.401 2017/08/20 03:02:36 isaki Exp $	*/
+/*	$NetBSD: audio.c,v 1.402 2017/08/20 03:13:04 isaki Exp $	*/
 
 /*-
  * Copyright (c) 2016 Nathanial Sloss 
@@ -148,7 +148,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.401 2017/08/20 03:02:36 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.402 2017/08/20 03:13:04 isaki Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -2146,7 +2146,6 @@ audio_open(dev_t dev, struct audio_softc
 	sizeof(vc->sc_pfilters));
 	vc->sc_draining = false;
 	vc->sc_pbus = false;
-	vc->sc_blkset = false;
 	vc->sc_lastinfovalid = false;
 	vc->sc_swvol = 255;
 	vc->sc_recswvol = 255;
@@ -2633,9 +2632,6 @@ audio_calc_blksize(struct audio_softc *s
 	struct audio_stream *rb;
 	int *blksize;
 
-	if (vc->sc_blkset)
-		return;
-
 	if (mode == AUMODE_PLAY) {
 		rb = vc->sc_pustream;
 		parm = >param;
@@ -4077,7 +4073,6 @@ audio_set_vchan_defaults(struct audio_so
 	/* default parameters */
 	vc->sc_rparams = sc->sc_vchan_params;
 	vc->sc_pparams = sc->sc_vchan_params;
-	vc->sc_blkset = false;
 
 	AUDIO_INITINFO();
 	ai.record.sample_rate = sc->sc_vchan_params.sample_rate;
@@ -4120,7 +4115,6 @@ audio_set_defaults(struct audio_softc *s
 	/* default parameters */
 	vc->sc_rparams = audio_default;
 	vc->sc_pparams = audio_default;
-	vc->sc_blkset = false;
 
 	AUDIO_INITINFO();
 	ai.record.sample_rate = vc->sc_rparams.sample_rate;
@@ -4625,7 +4619,6 @@ audiosetinfo(struct audio_softc *sc, str
 
 	/* Play params can affect the record params, so recalculate blksize. */
 	if (nr > 0 || np > 0 || reset) {
-		vc->sc_blkset = false;
 		if (nr > 0)
 			audio_calc_blksize(sc, AUMODE_RECORD, vc);
 		if (np > 0)
@@ -4714,7 +4707,6 @@ audiosetinfo(struct audio_softc *sc, str
 			audio_clear_intr_unlocked(sc, vc);
 			cleared = true;
 		}
-		vc->sc_blkset = false;
 		if (nr > 0)
 			audio_calc_blksize(sc, AUMODE_RECORD, vc);
 		if (np > 0)
@@ -4722,7 +4714,6 @@ audiosetinfo(struct audio_softc *sc, str
 		sc->sc_pr.blksize = vc->sc_mpr.blksize;
 		sc->sc_rr.blksize = vc->sc_mrr.blksize;
 	} else {
-		vc->sc_blkset = true;
 		vc->sc_mpr.blksize = sc->sc_pr.blksize;
 		vc->sc_mrr.blksize = sc->sc_rr.blksize;
 	}

Index: src/sys/dev/audiovar.h
diff -u src/sys/dev/audiovar.h:1.63 src/sys/dev/audiovar.h:1.64
--- src/sys/dev/audiovar.h:1.63	Tue Aug 15 04:42:56 2017
+++ src/sys/dev/audiovar.h	Sun Aug 20 03:13:04 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: audiovar.h,v 1.63 2017/08/15 04:42:56 isaki Exp $	*/
+/*	$NetBSD: audiovar.h,v 1.64 2017/08/20 03:13:04 isaki Exp $	*/
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -125,8 +125,6 @@ struct virtual_channel {
 #define AUOPEN_WRITE	0x02
 	u_char			sc_mode;	/* bitmask for RECORD/PLAY */
 
-	bool			sc_blkset;	/* Blocksize has been set */
-
 	uint8_t			*sc_sil_start;	/* start of silence in buffer */
 	int			sc_sil_count;	/* # of silence bytes */
 	bool			sc_pbus;	/* output DMA in progress */



CVS commit: src/sys/dev

2017-08-19 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Aug 20 03:02:36 UTC 2017

Modified Files:
src/sys/dev: audio.c

Log Message:
Remove goto in mix_write()


To generate a diff of this commit:
cvs rdiff -u -r1.400 -r1.401 src/sys/dev/audio.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/audio.c
diff -u src/sys/dev/audio.c:1.400 src/sys/dev/audio.c:1.401
--- src/sys/dev/audio.c:1.400	Thu Aug 17 04:33:22 2017
+++ src/sys/dev/audio.c	Sun Aug 20 03:02:36 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: audio.c,v 1.400 2017/08/17 04:33:22 isaki Exp $	*/
+/*	$NetBSD: audio.c,v 1.401 2017/08/20 03:02:36 isaki Exp $	*/
 
 /*-
  * Copyright (c) 2016 Nathanial Sloss 
@@ -148,7 +148,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.400 2017/08/17 04:33:22 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.401 2017/08/20 03:02:36 isaki Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -5443,39 +5443,37 @@ mix_write(void *arg)
 	blksize = vc->sc_mpr.blksize;
 	error = 0;
 
-	if (audio_stream_get_used(vc->sc_pustream) > blksize)
-		goto done;
-
-	tocopy = vc->sc_pustream->inp;
-	orig = sc->sc_pr.s.outp;
-	used = blksize;
-	while (used > 0) {
-		cc = used;
-		cc1 = vc->sc_pustream->end - tocopy;
-		cc2 = sc->sc_pr.s.end - orig;
-		if (cc > cc1)
-			cc = cc1;
-		if (cc > cc2)
-			cc = cc2;
-		memcpy(tocopy, orig, cc);
-		orig += cc;
-		tocopy += cc;
-
-		if (tocopy >= vc->sc_pustream->end)
-			tocopy = vc->sc_pustream->start;
-		if (orig >= sc->sc_pr.s.end)
-			orig = sc->sc_pr.s.start;
+	if (audio_stream_get_used(vc->sc_pustream) <= blksize) {
+		tocopy = vc->sc_pustream->inp;
+		orig = sc->sc_pr.s.outp;
+		used = blksize;
+		while (used > 0) {
+			cc = used;
+			cc1 = vc->sc_pustream->end - tocopy;
+			cc2 = sc->sc_pr.s.end - orig;
+			if (cc > cc1)
+cc = cc1;
+			if (cc > cc2)
+cc = cc2;
+			memcpy(tocopy, orig, cc);
+			orig += cc;
+			tocopy += cc;
+
+			if (tocopy >= vc->sc_pustream->end)
+tocopy = vc->sc_pustream->start;
+			if (orig >= sc->sc_pr.s.end)
+orig = sc->sc_pr.s.start;
 
-		used -= cc;
- 	}
+			used -= cc;
+		}
 
-	vc->sc_pustream->inp = audio_stream_add_inp(vc->sc_pustream,
-	vc->sc_pustream->inp, blksize);
+		vc->sc_pustream->inp = audio_stream_add_inp(vc->sc_pustream,
+		vc->sc_pustream->inp, blksize);
 
-	sc->sc_pr.s.outp = audio_stream_add_outp(>sc_pr.s,
-	sc->sc_pr.s.outp, blksize);
+		sc->sc_pr.s.outp = audio_stream_add_outp(>sc_pr.s,
+		sc->sc_pr.s.outp, blksize);
+	}
 
-done:
 	if (vc->sc_npfilters > 0) {
 		null_fetcher.fetch_to = null_fetcher_fetch_to;
 		filter = vc->sc_pfilters[0];



CVS commit: src/sys/ufs/lfs

2017-08-19 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sun Aug 20 00:03:12 UTC 2017

Modified Files:
src/sys/ufs/lfs: lfs_segment.c

Log Message:
XXX question our double-flushing of dirops


To generate a diff of this commit:
cvs rdiff -u -r1.274 -r1.275 src/sys/ufs/lfs/lfs_segment.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/ufs/lfs/lfs_segment.c
diff -u src/sys/ufs/lfs/lfs_segment.c:1.274 src/sys/ufs/lfs/lfs_segment.c:1.275
--- src/sys/ufs/lfs/lfs_segment.c:1.274	Wed Jul 26 16:42:37 2017
+++ src/sys/ufs/lfs/lfs_segment.c	Sun Aug 20 00:03:12 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: lfs_segment.c,v 1.274 2017/07/26 16:42:37 maya Exp $	*/
+/*	$NetBSD: lfs_segment.c,v 1.275 2017/08/20 00:03:12 maya Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.274 2017/07/26 16:42:37 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_segment.c,v 1.275 2017/08/20 00:03:12 maya Exp $");
 
 #ifdef DEBUG
 # define vndebug(vp, str) do {		\
@@ -661,7 +661,11 @@ lfs_segwrite(struct mount *mp, int flags
 error = lfs_writevnodes(fs, mp, sp, VN_DIROP);
 if (um_error == 0)
 	um_error = error;
-/* In case writevnodes errored out */
+/*
+ * In case writevnodes errored out
+ * XXX why are we always doing this and not
+ * just on error?
+ */
 lfs_flush_dirops(fs);
 ssp = (SEGSUM *)(sp->segsum);
 lfs_ss_setflags(fs, ssp,



CVS commit: src/tests/bin/sh

2017-08-19 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Aug 19 21:18:47 UTC 2017

Modified Files:
src/tests/bin/sh: t_syntax.sh

Log Message:
Add a few more sub-tests to the $'...' syntax tests.
Remove dome debug noise accidentally left in when the test was first added.
(This still does not matter just yet, but should do soon.)


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/bin/sh/t_syntax.sh

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

Modified files:

Index: src/tests/bin/sh/t_syntax.sh
diff -u src/tests/bin/sh/t_syntax.sh:1.7 src/tests/bin/sh/t_syntax.sh:1.8
--- src/tests/bin/sh/t_syntax.sh:1.7	Fri Aug 18 21:22:30 2017
+++ src/tests/bin/sh/t_syntax.sh	Sat Aug 19 21:18:47 2017
@@ -1,4 +1,4 @@
-# $NetBSD: t_syntax.sh,v 1.7 2017/08/18 21:22:30 kre Exp $
+# $NetBSD: t_syntax.sh,v 1.8 2017/08/19 21:18:47 kre Exp $
 #
 # Copyright (c) 2017 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -300,8 +300,8 @@ d_cstrings_head() {
 	atf_set "descr" "Check processing of $' ' quoting (C style strings)"
 }
 d_cstrings_body() {
-	set -xv
 	unset ENV
+
 	if ! ${TEST_SH} -c ": \$'abc'" ||
 	 test $( ${TEST_SH} -c "printf %s \$'abc'" ) != abc
 	then
@@ -335,7 +335,6 @@ d_cstrings_body() {
 	# all the \X sequences for a single char X (ie: not hex/octal/unicode)
 	atf_check -s exit:0 -e empty -o inline:'\n\r\t\n' \
 		${TEST_SH} -c "printf '%s\\n' \$'\\a\\b\\e\\f\\n\\r\\t\\v'"
-#	atf_check -s exit:0 -e empty -o inline:'\7\10\33\14\12\15\11\13' \
 	atf_check -s exit:0 -e empty -o inline:'\n\r\t\n' \
 	   ${TEST_SH} -c "printf '%s\\n' \$'\\cG\\cH\\x1b\\cl\\cJ\\cm\\cI\\ck'"
 	atf_check -s exit:0 -e empty -o inline:"'"'"\\\n' \
@@ -363,8 +362,24 @@ d_cstrings_body() {
 
 	# \newline in a $'...' is dropped (just like in "" strings)
 	atf_check -s exit:0 -e empty -o inline:'abcdef' ${TEST_SH} -c \
-		"printf '%s' \$'abc\\
+"printf '%s' \$'abc\\
+def'"
+	# but a normal newline in a $'...' is just a newline
+	atf_check -s exit:0 -e empty -o inline:'abc\ndef' ${TEST_SH} -c \
+"printf '%s' \$'abc
 def'"
+	# and should work when elided line wrap occurs between $ and '
+	atf_check -s exit:0 -e empty -o inline:'abc\ndef' ${TEST_SH} -c \
+"printf '%s' \$\\
+'abc\\ndef'"
+
+	# $'...' only works when the $ is unquoted.
+	atf_check -s exit:0 -e empty -o inline:"abc\$'def'g" ${TEST_SH} -c \
+		"printf '%s' \"abc\$'def'g\""
+	atf_check -s exit:0 -e empty -o inline:'abc$defg' ${TEST_SH} -c \
+		"printf '%s' abc\\\$'def'g"
+	atf_check -s exit:0 -e empty -o inline:'abc$def' ${TEST_SH} -c \
+		"printf '%s' abc'\$'def"
 }
 
 atf_test_case f_redirects



CVS commit: src/bin/sh

2017-08-19 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Sat Aug 19 21:13:11 UTC 2017

Modified Files:
src/bin/sh: input.c

Log Message:
NFC - DEBUG mode change only - add some sanity to a debug printf format string


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/bin/sh/input.c

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

Modified files:

Index: src/bin/sh/input.c
diff -u src/bin/sh/input.c:1.61 src/bin/sh/input.c:1.62
--- src/bin/sh/input.c:1.61	Sat Aug  5 11:33:05 2017
+++ src/bin/sh/input.c	Sat Aug 19 21:13:11 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: input.c,v 1.61 2017/08/05 11:33:05 kre Exp $	*/
+/*	$NetBSD: input.c,v 1.62 2017/08/19 21:13:11 kre Exp $	*/
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)input.c	8.3 (Berkeley) 6/9/95";
 #else
-__RCSID("$NetBSD: input.c,v 1.61 2017/08/05 11:33:05 kre Exp $");
+__RCSID("$NetBSD: input.c,v 1.62 2017/08/19 21:13:11 kre Exp $");
 #endif
 #endif /* not lint */
 
@@ -508,7 +508,7 @@ setinputstring(char *string, int push, i
 	plinno = line1;
 
 	CTRACE(DBG_INPUT,
-	("setinputstring(\"%.20s%s\" (%d), %push, @ %d)\n", string,
+	("setinputstring(\"%.20s%s\" (%d), %spush, @ %d)\n", string,
 	(parsenleft > 20 ? "..." : ""), parsenleft, push?"":"no", line1));
 	INTON;
 }



CVS commit: src/usr.bin/sys_info

2017-08-19 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Sat Aug 19 18:36:31 UTC 2017

Modified Files:
src/usr.bin/sys_info: sys_info.sh

Log Message:
Parse the arguments to sys_info(1) a bit differently, using getopts(1)

Thanks to Paul Goyette for the nudge


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/sys_info/sys_info.sh

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

Modified files:

Index: src/usr.bin/sys_info/sys_info.sh
diff -u src/usr.bin/sys_info/sys_info.sh:1.2 src/usr.bin/sys_info/sys_info.sh:1.3
--- src/usr.bin/sys_info/sys_info.sh:1.2	Sat Aug 19 03:06:50 2017
+++ src/usr.bin/sys_info/sys_info.sh	Sat Aug 19 18:36:31 2017
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: sys_info.sh,v 1.2 2017/08/19 03:06:50 agc Exp $
+# $NetBSD: sys_info.sh,v 1.3 2017/08/19 18:36:31 agc Exp $
 
 # Copyright (c) 2016 Alistair Crooks 
 # All rights reserved.
@@ -122,20 +122,21 @@ getversion() {
 	esac
 }
 
-case $# in
-0)	all=true ;;
-*)	all=false ;;
-esac
-
-while [ $# -gt 0 ]; do
-	case "$1" in
-	-a)	all=true ;;
-	-v)	set -x ;;
+all=false
+while getopts "av" a; do
+	case "${a}" in
+	a)	all=true ;;
+	v)	set -x ;;
 	*)	break ;;
 	esac
 	shift
 done
 
+# if no arg specified, we want them all
+if [ $# -eq 0 ]; then
+	all=true
+fi
+
 # if we want to do every one, then let's get the arguments
 # not really scalable
 if ${all}; then



CVS commit: src/sys/ufs/lfs

2017-08-19 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Aug 19 14:22:49 UTC 2017

Modified Files:
src/sys/ufs/lfs: lfs_pages.c

Log Message:
Ask some question about the code in a XXX comment


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/ufs/lfs/lfs_pages.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/ufs/lfs/lfs_pages.c
diff -u src/sys/ufs/lfs/lfs_pages.c:1.14 src/sys/ufs/lfs/lfs_pages.c:1.15
--- src/sys/ufs/lfs/lfs_pages.c:1.14	Sat Jun 10 05:29:36 2017
+++ src/sys/ufs/lfs/lfs_pages.c	Sat Aug 19 14:22:49 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: lfs_pages.c,v 1.14 2017/06/10 05:29:36 maya Exp $	*/
+/*	$NetBSD: lfs_pages.c,v 1.15 2017/08/19 14:22:49 maya Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: lfs_pages.c,v 1.14 2017/06/10 05:29:36 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_pages.c,v 1.15 2017/08/19 14:22:49 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -728,8 +728,11 @@ retry:
 		mutex_enter(vp->v_interlock);
 		lfs_writer_leave(fs);
 
-		/* The flush will have cleaned out this vnode as well,
-		   no need to do more to it. */
+		/*
+		 * The flush will have cleaned out this vnode as well,
+		 *  no need to do more to it.
+		 *  XXX then why are we falling through and continuing?
+		 */
 	}
 
 	/*



CVS commit: src/sys/ufs/lfs

2017-08-19 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Aug 19 12:01:08 UTC 2017

Modified Files:
src/sys/ufs/lfs: lfs_vnops.c

Log Message:
Not much point doing anything after a panic call


To generate a diff of this commit:
cvs rdiff -u -r1.319 -r1.320 src/sys/ufs/lfs/lfs_vnops.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/ufs/lfs/lfs_vnops.c
diff -u src/sys/ufs/lfs/lfs_vnops.c:1.319 src/sys/ufs/lfs/lfs_vnops.c:1.320
--- src/sys/ufs/lfs/lfs_vnops.c:1.319	Sat Aug 19 11:27:42 2017
+++ src/sys/ufs/lfs/lfs_vnops.c	Sat Aug 19 12:01:08 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: lfs_vnops.c,v 1.319 2017/08/19 11:27:42 maya Exp $	*/
+/*	$NetBSD: lfs_vnops.c,v 1.320 2017/08/19 12:01:08 maya Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -125,7 +125,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.319 2017/08/19 11:27:42 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.320 2017/08/19 12:01:08 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -1451,11 +1451,8 @@ lfs_reclaim(void *v)
 		ip->i_state &= ~IN_PAGING;
 		TAILQ_REMOVE(>lfs_pchainhd, ip, i_lfs_pchain);
 	}
-	if (vp->v_uflag & VU_DIROP) {
+	if (vp->v_uflag & VU_DIROP)
 		panic("reclaimed vnode is VU_DIROP");
-		vp->v_uflag &= ~VU_DIROP;
-		TAILQ_REMOVE(>lfs_dchainhd, ip, i_lfs_dchain);
-	}
 	mutex_exit(_lock);
 
 	pool_put(_dinode_pool, ip->i_din);



CVS commit: src/sys/ufs/lfs

2017-08-19 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Aug 19 11:27:42 UTC 2017

Modified Files:
src/sys/ufs/lfs: lfs_alloc.c lfs_vnops.c

Log Message:
Consistently use {,UN}MARK_VNODE macros rather than function calls.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/ufs/lfs/lfs_alloc.c
cvs rdiff -u -r1.318 -r1.319 src/sys/ufs/lfs/lfs_vnops.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/ufs/lfs/lfs_alloc.c
diff -u src/sys/ufs/lfs/lfs_alloc.c:1.136 src/sys/ufs/lfs/lfs_alloc.c:1.137
--- src/sys/ufs/lfs/lfs_alloc.c:1.136	Sat Jun 10 05:29:36 2017
+++ src/sys/ufs/lfs/lfs_alloc.c	Sat Aug 19 11:27:42 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: lfs_alloc.c,v 1.136 2017/06/10 05:29:36 maya Exp $	*/
+/*	$NetBSD: lfs_alloc.c,v 1.137 2017/08/19 11:27:42 maya Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003, 2007 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: lfs_alloc.c,v 1.136 2017/06/10 05:29:36 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_alloc.c,v 1.137 2017/08/19 11:27:42 maya Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_quota.h"
@@ -510,7 +510,7 @@ lfs_vfree(struct vnode *vp, ino_t ino, i
 	 * not updated together in one function? (and why do both exist,
 	 * anyway?)
 	 */
-	lfs_unmark_vnode(vp);
+	UNMARK_VNODE(vp);
 
 	mutex_enter(_lock);
 	if (vp->v_uflag & VU_DIROP) {

Index: src/sys/ufs/lfs/lfs_vnops.c
diff -u src/sys/ufs/lfs/lfs_vnops.c:1.318 src/sys/ufs/lfs/lfs_vnops.c:1.319
--- src/sys/ufs/lfs/lfs_vnops.c:1.318	Wed Jul 26 16:42:37 2017
+++ src/sys/ufs/lfs/lfs_vnops.c	Sat Aug 19 11:27:42 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: lfs_vnops.c,v 1.318 2017/07/26 16:42:37 maya Exp $	*/
+/*	$NetBSD: lfs_vnops.c,v 1.319 2017/08/19 11:27:42 maya Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -125,7 +125,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.318 2017/07/26 16:42:37 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.319 2017/08/19 11:27:42 maya Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -374,7 +374,7 @@ lfs_makeinode(struct vattr *vap, struct 
 		vrele(tvp);
 		return error;
 	}
-	lfs_mark_vnode(tvp);
+	MARK_VNODE(tvp);
 	*vpp = tvp;
 	ip = VTOI(tvp);
 	ip->i_state |= IN_ACCESS | IN_CHANGE | IN_UPDATE;
@@ -419,7 +419,7 @@ lfs_makeinode(struct vattr *vap, struct 
 	DIP_ASSIGN(ip, nlink, 0);
 	ip->i_state |= IN_CHANGE;
 	/* If IN_ADIROP, account for it */
-	lfs_unmark_vnode(tvp);
+	UNMARK_VNODE(tvp);
 	vput(tvp);
 	return (error);
 }
@@ -526,7 +526,7 @@ lfs_inactive(void *v)
 
 	KASSERT(VOP_ISLOCKED(ap->a_vp) == LK_EXCLUSIVE);
 
-	lfs_unmark_vnode(ap->a_vp);
+	UNMARK_VNODE(ap->a_vp);
 
 	/*
 	 * The Ifile is only ever inactivated on unmount.
@@ -989,7 +989,7 @@ lfs_mkdir(void *v)
 	}
 
 	tvp = *ap->a_vpp;
-	lfs_mark_vnode(tvp);
+	MARK_VNODE(tvp);
 	ip = VTOI(tvp);
 	ip->i_state |= IN_ACCESS | IN_CHANGE | IN_UPDATE;
 	ip->i_nlink = 2;
@@ -1064,7 +1064,7 @@ lfs_mkdir(void *v)
 		DIP_ASSIGN(ip, nlink, 0);
 		ip->i_state |= IN_CHANGE;
 		/* If IN_ADIROP, account for it */
-		lfs_unmark_vnode(tvp);
+		UNMARK_VNODE(tvp);
 		vput(tvp);
 	}
 



CVS commit: src/sys/arch/evbmips/conf

2017-08-19 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Sat Aug 19 09:10:24 UTC 2017

Modified Files:
src/sys/arch/evbmips/conf: ADM5120 ALCHEMY CPMBR1400 DB120 ERLITE MALTA
RB153 RB433UAH XLSATX ZYXELKX

Log Message:
Comment out 'options DEBUG' on all evbmips kernels

We aren't using DEBUG on other archs, mips is stable enough now, etc.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/evbmips/conf/ADM5120 \
src/sys/arch/evbmips/conf/XLSATX
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/evbmips/conf/ALCHEMY
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/evbmips/conf/CPMBR1400
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/evbmips/conf/DB120
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbmips/conf/ERLITE
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/evbmips/conf/MALTA
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/evbmips/conf/RB153
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbmips/conf/RB433UAH
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbmips/conf/ZYXELKX

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

Modified files:

Index: src/sys/arch/evbmips/conf/ADM5120
diff -u src/sys/arch/evbmips/conf/ADM5120:1.23 src/sys/arch/evbmips/conf/ADM5120:1.24
--- src/sys/arch/evbmips/conf/ADM5120:1.23	Sat Jul 29 12:28:27 2017
+++ src/sys/arch/evbmips/conf/ADM5120	Sat Aug 19 09:10:24 2017
@@ -1,11 +1,11 @@
-#	$NetBSD: ADM5120,v 1.23 2017/07/29 12:28:27 maxv Exp $
+#	$NetBSD: ADM5120,v 1.24 2017/08/19 09:10:24 maya Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	"arch/evbmips/conf/std.adm5120"
 
-#ident 		"GENERIC-$Revision: 1.23 $"
+#ident 		"GENERIC-$Revision: 1.24 $"
 
 maxusers	32
 
@@ -27,7 +27,7 @@ options 	TCP_OUTPUT_COUNTERS
 
 # Debugging options
 options 	DIAGNOSTIC	# extra kernel sanity checking
-options 	DEBUG		# extra kernel debugging support
+#options 	DEBUG		# extra kernel debugging support
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG="-g"	# compile full symbol table
Index: src/sys/arch/evbmips/conf/XLSATX
diff -u src/sys/arch/evbmips/conf/XLSATX:1.23 src/sys/arch/evbmips/conf/XLSATX:1.24
--- src/sys/arch/evbmips/conf/XLSATX:1.23	Sat Jul 29 12:28:27 2017
+++ src/sys/arch/evbmips/conf/XLSATX	Sat Aug 19 09:10:24 2017
@@ -1,8 +1,8 @@
-#	$NetBSD: XLSATX,v 1.23 2017/07/29 12:28:27 maxv Exp $
+#	$NetBSD: XLSATX,v 1.24 2017/08/19 09:10:24 maya Exp $
 
 include 	"arch/evbmips/conf/std.rmixl"
 
-#ident 		"XLSATX-$Revision: 1.23 $"
+#ident 		"XLSATX-$Revision: 1.24 $"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
@@ -33,7 +33,7 @@ options 	NTP		# network time protocol
 
 # Debugging options
 options 	DIAGNOSTIC	# extra kernel sanity checking
-options 	DEBUG		# extra kernel debugging support
+#options 	DEBUG		# extra kernel debugging support
 options 	MSGBUFSIZE=65536 # kernel dmesg buffer
 options 	USERCONF	# userconf(4) support
 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

Index: src/sys/arch/evbmips/conf/ALCHEMY
diff -u src/sys/arch/evbmips/conf/ALCHEMY:1.61 src/sys/arch/evbmips/conf/ALCHEMY:1.62
--- src/sys/arch/evbmips/conf/ALCHEMY:1.61	Sat Jul 29 18:08:57 2017
+++ src/sys/arch/evbmips/conf/ALCHEMY	Sat Aug 19 09:10:24 2017
@@ -1,11 +1,11 @@
-#	$NetBSD: ALCHEMY,v 1.61 2017/07/29 18:08:57 maxv Exp $
+#	$NetBSD: ALCHEMY,v 1.62 2017/08/19 09:10:24 maya Exp $
 #
 # Kernel config for the Alchemy Semiconductor (AMD) PB1000, PB1500,
 # DBAu1000 and DBAu1500 evaluation boards.
 
 include 	"arch/evbmips/conf/std.alchemy"
 
-#ident 		"ALCHEMY-$Revision: 1.61 $"
+#ident 		"ALCHEMY-$Revision: 1.62 $"
 
 maxusers	32
 
@@ -40,7 +40,7 @@ options 	NTP		# network time protocol
 
 # Debugging options
 options 	DIAGNOSTIC	# extra kernel sanity checking
-options 	DEBUG		# extra kernel debugging support
+#options 	DEBUG		# extra kernel debugging support
 options 	DDB		# kernel dynamic debugger
 options 	DDB_HISTORY_SIZE=100 # enable history editing in DDB
 makeoptions 	DEBUG="-g"	# compile full symbol table

Index: src/sys/arch/evbmips/conf/CPMBR1400
diff -u src/sys/arch/evbmips/conf/CPMBR1400:1.25 src/sys/arch/evbmips/conf/CPMBR1400:1.26
--- src/sys/arch/evbmips/conf/CPMBR1400:1.25	Tue Aug  1 16:12:32 2017
+++ src/sys/arch/evbmips/conf/CPMBR1400	Sat Aug 19 09:10:24 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: CPMBR1400,v 1.25 2017/08/01 16:12:32 maya Exp $
+#	$NetBSD: CPMBR1400,v 1.26 2017/08/19 09:10:24 maya Exp $
 
 include		"arch/evbmips/conf/std.rasoc"
 
@@ -44,7 +44,7 @@ options 	NTP		# NTP phase/frequency lock
 options 	DIAGNOSTIC	# expensive kernel consistency checks
 #options 	LOCKDEBUG
 #options 	KSTACK_CHECK_MAGIC
-options 	DEBUG		# expensive debugging checks/support
+#options 	DEBUG		# expensive debugging checks/support
 options 	DDB			# in-kernel debugger
 options 	DDB_ONPANIC=1		# see also sysctl(7): `ddb.onpanic'
 #options