CVS commit: src/sys/dev/pcmcia

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 23:31:15 UTC 2016

Modified Files:
src/sys/dev/pcmcia: pcmciadevs

Log Message:
Add 3Com 3CRWE777A - from OpenBSD


To generate a diff of this commit:
cvs rdiff -u -r1.230 -r1.231 src/sys/dev/pcmcia/pcmciadevs

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/pcmcia/pcmciadevs
diff -u src/sys/dev/pcmcia/pcmciadevs:1.230 src/sys/dev/pcmcia/pcmciadevs:1.231
--- src/sys/dev/pcmcia/pcmciadevs:1.230	Thu Aug 23 10:37:56 2012
+++ src/sys/dev/pcmcia/pcmciadevs	Wed Jun  1 23:31:15 2016
@@ -1,4 +1,4 @@
-$NetBSD: pcmciadevs,v 1.230 2012/08/23 10:37:56 kiyohara Exp $
+$NetBSD: pcmciadevs,v 1.231 2016/06/01 23:31:15 pgoyette Exp $
 /* $FreeBSD: src/sys/dev/pccard/pccarddevs,v 1.20 2001/11/19 05:02:55 imp Exp $*/
 
 /*-
@@ -135,6 +135,7 @@ product 3COM 3CCFEM556BI	0x0556 3Com/Meg
 product 3COM 3C562		0x0562 3Com 3c562 33.6 Modem/10Mbps Ethernet
 product 3COM 3C589		0x0589 3Com 3c589 10Mbps Ethernet
 product 3COM 3C574		0x0574 3Com 3c574-TX 10/100Mbps Ethernet
+product 3COM 3CRWE777A		0x0001 3Com AirConnect Wireless LAN
 product 3COM 3C1		0x0cf1 3Com Megahertz 3C1 10Mbps LAN CF+ Card
 product 3COM 3CRWE62092A	0x2092 3Com 3CRWE62092A	Wireless LAN
 



CVS commit: othersrc/external/bsd/sys_info

2016-06-01 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Thu Jun  2 02:47:56 UTC 2016

Added Files:
othersrc/external/bsd/sys_info: Makefile README sys_info.1 sys_info.sh

Log Message:
The sys_info script is a small script which will show the version
information for installed utilities.  It also works on the kernel, and
on most libraries.

Its use is as follow:

[19:41:13] agc@netbsd-002 ...external/bsd/sys_info [4568] > ./sys_info 
-a
awk-20121220
bind-9.10.3pl3
bzip2-1.0.6
calendar-20160601
ftpd-20110904
g++-4.8.5
gcc-4.8.5
grep-2.5.1anb1
gzip-20150113
bozohttpd-20151231
NetBSD-7.99.26
netpgp-3.99.17
netpgpverify-20160214
ntp-4.2.8pl5
openssl-1.0.1r
sqlite3-3.12.2
openssh-7.1
opensshd-7.1
tcsh-6.19.00
xz-5.2.1
[19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info 
ntp ssh netpgp
ntp-4.2.8pl5
openssh-7.1
netpgp-3.99.17
[19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info 
ntp ssh netbsd
ntp-4.2.8pl5
openssh-7.1
NetBSD-7.99.26
[19:41:38] agc@netbsd-002 ...external/bsd/sys_info [4571] >

The -a option can be given to the script to print out the information
on all known components.

The sys_info script also works on libraries, returning their
"versions" as given by the shared object version numbers.

[19:45:06] agc@netbsd-002 ...external/bsd/sys_info [4572] > ./sys_info 
libevent libXfont libc netbsd
libevent-4.0
libXfont-3.0
libc-12.200
NetBSD-7.99.26
[19:45:27] agc@netbsd-002 ...external/bsd/sys_info [4573] >

Alistair Crooks
Wed Jun  1 19:44:01 PDT 2016


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/sys_info/Makefile \
othersrc/external/bsd/sys_info/README \
othersrc/external/bsd/sys_info/sys_info.1 \
othersrc/external/bsd/sys_info/sys_info.sh

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

Added files:

Index: othersrc/external/bsd/sys_info/Makefile
diff -u /dev/null othersrc/external/bsd/sys_info/Makefile:1.1
--- /dev/null	Thu Jun  2 02:47:56 2016
+++ othersrc/external/bsd/sys_info/Makefile	Thu Jun  2 02:47:56 2016
@@ -0,0 +1,8 @@
+# $NetBSD: Makefile,v 1.1 2016/06/02 02:47:56 agc Exp $
+
+SCRIPTS=	sys_info
+SCRIPTSDIR=	/usr/sbin
+MAN=		sys_info.1
+CLEANFILES+=	${SCRIPTS}
+
+.include 
Index: othersrc/external/bsd/sys_info/README
diff -u /dev/null othersrc/external/bsd/sys_info/README:1.1
--- /dev/null	Thu Jun  2 02:47:56 2016
+++ othersrc/external/bsd/sys_info/README	Thu Jun  2 02:47:56 2016
@@ -0,0 +1,52 @@
+The sys_info script is a small script which will show the version
+information for installed utilities.  It also works on the kernel, and
+on most libraries.
+
+Its use is as follow:
+
+	[19:41:13] agc@netbsd-002 ...external/bsd/sys_info [4568] > ./sys_info -a
+	awk-20121220
+	bind-9.10.3pl3
+	bzip2-1.0.6
+	calendar-20160601
+	ftpd-20110904
+	g++-4.8.5
+	gcc-4.8.5
+	grep-2.5.1anb1
+	gzip-20150113
+	bozohttpd-20151231
+	NetBSD-7.99.26
+	netpgp-3.99.17
+	netpgpverify-20160214
+	ntp-4.2.8pl5
+	openssl-1.0.1r
+	sqlite3-3.12.2
+	openssh-7.1
+	opensshd-7.1
+	tcsh-6.19.00
+	xz-5.2.1
+	[19:41:20] agc@netbsd-002 ...external/bsd/sys_info [4569] > ./sys_info ntp ssh netpgp
+	ntp-4.2.8pl5
+	openssh-7.1
+	netpgp-3.99.17
+	[19:41:31] agc@netbsd-002 ...external/bsd/sys_info [4570] > ./sys_info ntp ssh netbsd
+	ntp-4.2.8pl5
+	openssh-7.1
+	NetBSD-7.99.26
+	[19:41:38] agc@netbsd-002 ...external/bsd/sys_info [4571] >
+
+The -a option can be given to the script to print out the information
+on all known components.
+
+The sys_info script also works on libraries, returning their
+"versions" as given by the shared object version numbers.
+
+	[19:45:06] agc@netbsd-002 ...external/bsd/sys_info [4572] > ./sys_info libevent libXfont libc netbsd
+	libevent-4.0
+	libXfont-3.0
+	libc-12.200
+	NetBSD-7.99.26
+	[19:45:27] agc@netbsd-002 ...external/bsd/sys_info [4573] >
+
+Alistair Crooks
+Wed Jun  1 19:44:01 PDT 2016
Index: othersrc/external/bsd/sys_info/sys_info.1
diff -u /dev/null othersrc/external/bsd/sys_info/sys_info.1:1.1
--- /dev/null	Thu Jun  2 02:47:56 2016
+++ othersrc/external/bsd/sys_info/sys_info.1	Thu Jun  2 02:47:56 2016
@@ -0,0 +1,67 @@
+.\" $NetBSD: sys_info.1,v 1.1 2016/06/02 02:47:56 agc Exp $
+.\"
+.\" Copyright (c) 2016 Alistair Crooks <a...@netbsd.org>
+.\" 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 th

CVS commit: src/lib/csu/common

2016-06-01 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Jun  1 21:21:55 UTC 2016

Modified Files:
src/lib/csu/common: crtbegin.c

Log Message:
PR toolchain/51121:
__CTOR_LIST__ and __CTOR_LIST_END__ are logically the same object, but
due to the start marker, the former has to be declared as array of fixed
size. Newer GCC versions take the liberty of exploiting the UB of
accessing global objects past the end to unconditionally load zero
values in that case. Two fixes are possible:
(1) Pruning via inline assembler as done by GCC's own CRT copy.
(2) Pruning via weak references as done for linker sets.
Since the second part is known and required to work anyway, prefer this
approach. In theory, the labels could be replaced completely, except
that GNU as doesn't provide start/end symbols for sections containing
dots.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/csu/common/crtbegin.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/csu/common/crtbegin.c
diff -u src/lib/csu/common/crtbegin.c:1.9 src/lib/csu/common/crtbegin.c:1.10
--- src/lib/csu/common/crtbegin.c:1.9	Tue May  6 16:02:10 2014
+++ src/lib/csu/common/crtbegin.c	Wed Jun  1 21:21:55 2016
@@ -27,7 +27,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include 
-__RCSID("$NetBSD: crtbegin.c,v 1.9 2014/05/06 16:02:10 joerg Exp $");
+__RCSID("$NetBSD: crtbegin.c,v 1.10 2016/06/01 21:21:55 joerg Exp $");
 
 #include "crtbegin.h"
 
@@ -39,6 +39,11 @@ __weakref_visible void Jv_RegisterClasse
 	__weak_reference(_Jv_RegisterClasses);
 
 #if !defined(HAVE_INITFINI_ARRAY)
+__weakref_visible const fptr_t __CTOR_LIST__start[]
+__weak_reference(__CTOR_LIST__);
+__weakref_visible const fptr_t __CTOR_LIST__end[]
+__weak_reference(__CTOR_LIST_END__);
+
 __dso_hidden const fptr_t __aligned(sizeof(void *)) __CTOR_LIST__[] __section(".ctors") = {
 	(fptr_t) -1,
 };
@@ -90,7 +95,7 @@ __do_global_ctors_aux(void)
 		Jv_RegisterClasses(__JCR_LIST__);
 
 #if !defined(HAVE_INITFINI_ARRAY)
-	for (const fptr_t *p = __CTOR_LIST_END__; p > __CTOR_LIST__ + 1; ) {
+	for (const fptr_t *p = __CTOR_LIST__end; p > __CTOR_LIST__start + 1; ) {
 		(*(*--p))();
 	}
 #endif
@@ -98,6 +103,11 @@ __do_global_ctors_aux(void)
 
 #if !defined(__ARM_EABI__) || defined(SHARED) || defined(__ARM_DWARF_EH__)
 #if !defined(HAVE_INITFINI_ARRAY)
+__weakref_visible const fptr_t __DTOR_LIST__start[]
+__weak_reference(__DTOR_LIST__);
+__weakref_visible const fptr_t __DTOR_LIST__end[]
+__weak_reference(__DTOR_LIST_END__);
+
 __dso_hidden const fptr_t __aligned(sizeof(void *)) __DTOR_LIST__[] __section(".dtors") = {
 	(fptr_t) -1,
 };
@@ -122,7 +132,7 @@ __do_global_dtors_aux(void)
 #endif
 
 #if !defined(HAVE_INITFINI_ARRAY)
-	for (const fptr_t *p = __DTOR_LIST__ + 1; p < __DTOR_LIST_END__; ) {
+	for (const fptr_t *p = __DTOR_LIST__start + 1; p < __DTOR_LIST__end; ) {
 		(*(*p++))();
 	}
 #endif



CVS commit: src/sys/dev/pcmcia

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 23:31:53 UTC 2016

Modified Files:
src/sys/dev/pcmcia: pcmciadevs

Log Message:
Ooopppsss - add it with the correct product ID.


To generate a diff of this commit:
cvs rdiff -u -r1.231 -r1.232 src/sys/dev/pcmcia/pcmciadevs

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/pcmcia/pcmciadevs
diff -u src/sys/dev/pcmcia/pcmciadevs:1.231 src/sys/dev/pcmcia/pcmciadevs:1.232
--- src/sys/dev/pcmcia/pcmciadevs:1.231	Wed Jun  1 23:31:15 2016
+++ src/sys/dev/pcmcia/pcmciadevs	Wed Jun  1 23:31:53 2016
@@ -1,4 +1,4 @@
-$NetBSD: pcmciadevs,v 1.231 2016/06/01 23:31:15 pgoyette Exp $
+$NetBSD: pcmciadevs,v 1.232 2016/06/01 23:31:53 pgoyette Exp $
 /* $FreeBSD: src/sys/dev/pccard/pccarddevs,v 1.20 2001/11/19 05:02:55 imp Exp $*/
 
 /*-
@@ -135,7 +135,7 @@ product 3COM 3CCFEM556BI	0x0556 3Com/Meg
 product 3COM 3C562		0x0562 3Com 3c562 33.6 Modem/10Mbps Ethernet
 product 3COM 3C589		0x0589 3Com 3c589 10Mbps Ethernet
 product 3COM 3C574		0x0574 3Com 3c574-TX 10/100Mbps Ethernet
-product 3COM 3CRWE777A		0x0001 3Com AirConnect Wireless LAN
+product 3COM 3CRWE777A		0x0777 3Com AirConnect Wireless LAN
 product 3COM 3C1		0x0cf1 3Com Megahertz 3C1 10Mbps LAN CF+ Card
 product 3COM 3CRWE62092A	0x2092 3Com 3CRWE62092A	Wireless LAN
 



CVS commit: src/lib/csu/common

2016-06-01 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Jun  1 21:24:55 UTC 2016

Modified Files:
src/lib/csu/common: Makefile.inc

Log Message:
Revert -O1 hack for GCC 5.3, replaced by workaround in the code.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/lib/csu/common/Makefile.inc

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

Modified files:

Index: src/lib/csu/common/Makefile.inc
diff -u src/lib/csu/common/Makefile.inc:1.31 src/lib/csu/common/Makefile.inc:1.32
--- src/lib/csu/common/Makefile.inc:1.31	Tue May 10 10:23:09 2016
+++ src/lib/csu/common/Makefile.inc	Wed Jun  1 21:24:55 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.31 2016/05/10 10:23:09 martin Exp $
+#	$NetBSD: Makefile.inc,v 1.32 2016/06/01 21:24:55 joerg Exp $
 
 .include 
 
@@ -17,14 +17,6 @@ OBJS+=		sysident.o
 .if ${MKPIC} == "yes"
 OBJS+=		crtbeginS.o
 CFLAGS.crtbegin.c+= -fPIE
-# XXXGCC5 - GCC 5 miscompiles crtbeginS.c on many platforms.  on SPARC it
-# XXXGCC5   emits "clr %g1; call %g1", which is effectively jumping to zero.
-. if defined(HAVE_GCC) && ${HAVE_GCC} == 53 && \
- !exists(${ARCHDIR}/crtbegin.S)
-CFLAGS.crt0-common.c+=	-O1
-CFLAGS.crtbeginS.c+=	-O1
-CFLAGS.crtbegin.c+=	-O1
-. endif
 .endif
 
 .if ${MACHINE_ARCH} == "alpha"



CVS commit: src/external/gpl3/gcc/dist/gcc/config

2016-06-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun  1 22:27:49 UTC 2016

Modified Files:
src/external/gpl3/gcc/dist/gcc/config: netbsd-elf.h

Log Message:
Put the sanitizer libraries before everything else, since it needs to be
the first shared object.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h

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

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h
diff -u src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.8 src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.9
--- src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.8	Wed Mar 16 01:33:16 2016
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h	Wed Jun  1 18:27:49 2016
@@ -85,7 +85,10 @@ along with GCC; see the file COPYING3.  
  %{!static: \
%{rdynamic:-export-dynamic} \
-dynamic-linker /usr/libexec/ld.elf_so} \
- %{static:-static}}"
+ %{static:-static}} \
+   %{!nostdlib:%{!nodefaultlibs:\
+ %{%:sanitize(address): -lasan } \
+ %{%:sanitize(undefined): -lubsan}}}"
 
 /* Use --as-needed -lgcc_s for eh support.  */
 #ifdef HAVE_LD_AS_NEEDED



CVS commit: src/sys/dev/pcmcia

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 23:33:24 UTC 2016

Modified Files:
src/sys/dev/pcmcia: pcmciadevs.h pcmciadevs_data.h

Log Message:
Regen


To generate a diff of this commit:
cvs rdiff -u -r1.232 -r1.233 src/sys/dev/pcmcia/pcmciadevs.h \
src/sys/dev/pcmcia/pcmciadevs_data.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/pcmcia/pcmciadevs.h
diff -u src/sys/dev/pcmcia/pcmciadevs.h:1.232 src/sys/dev/pcmcia/pcmciadevs.h:1.233
--- src/sys/dev/pcmcia/pcmciadevs.h:1.232	Thu Aug 23 10:39:25 2012
+++ src/sys/dev/pcmcia/pcmciadevs.h	Wed Jun  1 23:33:24 2016
@@ -1,10 +1,10 @@
-/*	$NetBSD: pcmciadevs.h,v 1.232 2012/08/23 10:39:25 kiyohara Exp $	*/
+/*	$NetBSD: pcmciadevs.h,v 1.233 2016/06/01 23:33:24 pgoyette Exp $	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: pcmciadevs,v 1.230 2012/08/23 10:37:56 kiyohara Exp
+ *	NetBSD: pcmciadevs,v 1.232 2016/06/01 23:31:53 pgoyette Exp
  */
 /* $FreeBSD: src/sys/dev/pccard/pccarddevs,v 1.20 2001/11/19 05:02:55 imp Exp $*/
 
@@ -151,6 +151,8 @@
 #define	PCMCIA_PRODUCT_3COM_3C589	0x0589
 #define	PCMCIA_CIS_3COM_3C574	{ NULL, NULL, NULL, NULL }
 #define	PCMCIA_PRODUCT_3COM_3C574	0x0574
+#define	PCMCIA_CIS_3COM_3CRWE777A	{ NULL, NULL, NULL, NULL }
+#define	PCMCIA_PRODUCT_3COM_3CRWE777A	0x0777
 #define	PCMCIA_CIS_3COM_3C1	{ NULL, NULL, NULL, NULL }
 #define	PCMCIA_PRODUCT_3COM_3C1	0x0cf1
 #define	PCMCIA_CIS_3COM_3CRWE62092A	{ NULL, NULL, NULL, NULL }
Index: src/sys/dev/pcmcia/pcmciadevs_data.h
diff -u src/sys/dev/pcmcia/pcmciadevs_data.h:1.232 src/sys/dev/pcmcia/pcmciadevs_data.h:1.233
--- src/sys/dev/pcmcia/pcmciadevs_data.h:1.232	Thu Aug 23 10:39:25 2012
+++ src/sys/dev/pcmcia/pcmciadevs_data.h	Wed Jun  1 23:33:24 2016
@@ -1,10 +1,10 @@
-/*	$NetBSD: pcmciadevs_data.h,v 1.232 2012/08/23 10:39:25 kiyohara Exp $	*/
+/*	$NetBSD: pcmciadevs_data.h,v 1.233 2016/06/01 23:33:24 pgoyette Exp $	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: pcmciadevs,v 1.230 2012/08/23 10:37:56 kiyohara Exp
+ *	NetBSD: pcmciadevs,v 1.232 2016/06/01 23:31:53 pgoyette Exp
  */
 /* $FreeBSD: src/sys/dev/pccard/pccarddevs,v 1.20 2001/11/19 05:02:55 imp Exp $*/
 
@@ -120,6 +120,13 @@ struct pcmcia_knowndev pcmcia_knowndevs[
 	"3Com 3c574-TX 10/100Mbps Ethernet",	}
 	,
 	{
+	PCMCIA_VENDOR_3COM, PCMCIA_PRODUCT_3COM_3CRWE777A,
+	PCMCIA_CIS_3COM_3CRWE777A,
+	0,
+	"3Com Corporation",
+	"3Com AirConnect Wireless LAN",	}
+	,
+	{
 	PCMCIA_VENDOR_3COM, PCMCIA_PRODUCT_3COM_3C1,
 	PCMCIA_CIS_3COM_3C1,
 	0,



CVS commit: src/distrib/sets/lists

2016-06-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun  1 17:10:05 UTC 2016

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/comp: mi shl.mi
src/distrib/sets/lists/debug: mi shl.mi

Log Message:
put back asan


To generate a diff of this commit:
cvs rdiff -u -r1.772 -r1.773 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.2035 -r1.2036 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.288 -r1.289 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.152 -r1.153 src/distrib/sets/lists/debug/mi
cvs rdiff -u -r1.134 -r1.135 src/distrib/sets/lists/debug/shl.mi

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/base/shl.mi
diff -u src/distrib/sets/lists/base/shl.mi:1.772 src/distrib/sets/lists/base/shl.mi:1.773
--- src/distrib/sets/lists/base/shl.mi:1.772	Tue May 17 19:53:02 2016
+++ src/distrib/sets/lists/base/shl.mi	Wed Jun  1 13:10:04 2016
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.772 2016/05/17 23:53:02 spz Exp $
+# $NetBSD: shl.mi,v 1.773 2016/06/01 17:10:04 christos Exp $
 #
 # Note:	Don't delete entries from here - mark them as "obsolete" instead,
 #	unless otherwise stated below.
@@ -172,9 +172,11 @@
 ./usr/lib/libarchive.sobase-sys-shlib		compatfile
 ./usr/lib/libarchive.so.3			base-sys-shlib		compatfile
 ./usr/lib/libarchive.so.3.1			base-sys-shlib		compatfile
-./usr/lib/libasan.sobase-sys-shlib		compatfile,gcc=48
+./usr/lib/libasan.sobase-sys-shlib		compatfile
 ./usr/lib/libasan.so.0base-sys-shlib		compatfile,gcc=48
-./usr/lib/libasan.so.0.0			base-sys-shlib		compatfile,gcc=48
+./usr/lib/libasan.so.0base-sys-shlib		compatfile,gcc=48
+./usr/lib/libasan.so.1.0			base-sys-shlib		compatfile,gcc=53
+./usr/lib/libasan.so.1.0			base-sys-shlib		compatfile,gcc=53
 ./usr/lib/libasn1.sobase-krb5-shlib		compatfile,kerberos
 ./usr/lib/libasn1.so.9base-krb5-shlib		compatfile,kerberos
 ./usr/lib/libasn1.so.9.0			base-krb5-shlib		compatfile,kerberos

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.2035 src/distrib/sets/lists/comp/mi:1.2036
--- src/distrib/sets/lists/comp/mi:1.2035	Sat May 14 10:39:39 2016
+++ src/distrib/sets/lists/comp/mi	Wed Jun  1 13:10:04 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.2035 2016/05/14 14:39:39 spz Exp $
+#	$NetBSD: mi,v 1.2036 2016/06/01 17:10:04 christos Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.compcomp-sys-root
@@ -3147,8 +3147,8 @@
 ./usr/lib/libamu_p.acomp-obsolete		obsolete
 ./usr/lib/libarchive.acomp-c-lib		compatfile
 ./usr/lib/libarchive_p.a			comp-c-proflib		compatfile,profile
-./usr/lib/libasan.acomp-c-lib		compatfile,gcc=48
-./usr/lib/libasan_p.acomp-c-proflib		compatfile,gcc=48,profile
+./usr/lib/libasan.acomp-c-lib		compatfile
+./usr/lib/libasan_p.acomp-c-proflib		compatfile,profile
 ./usr/lib/libasn1.acomp-krb5-lib		compatfile,kerberos
 ./usr/lib/libasn1_p.acomp-krb5-proflib	compatfile,kerberos,profile
 ./usr/lib/libatf-c++.acomp-atf-lib		compatfile,atf

Index: src/distrib/sets/lists/comp/shl.mi
diff -u src/distrib/sets/lists/comp/shl.mi:1.288 src/distrib/sets/lists/comp/shl.mi:1.289
--- src/distrib/sets/lists/comp/shl.mi:1.288	Thu Apr 14 21:35:26 2016
+++ src/distrib/sets/lists/comp/shl.mi	Wed Jun  1 13:10:04 2016
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.288 2016/04/15 01:35:26 ozaki-r Exp $
+# $NetBSD: shl.mi,v 1.289 2016/06/01 17:10:04 christos Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -7,7 +7,7 @@
 ./usr/lib/crtendS.ocomp-c-lib		compatfile
 ./usr/lib/libamu_pic.acomp-obsolete		obsolete
 ./usr/lib/libarchive_pic.a			comp-c-piclib		compatfile,picinstall
-./usr/lib/libasan_pic.acomp-c-piclib		compatfile,picinstall,gcc=48
+./usr/lib/libasan_pic.acomp-c-piclib		compatfile,picinstall
 ./usr/lib/libasn1_pic.acomp-c-piclib		compatfile,picinstall,kerberos
 ./usr/lib/libatf-c++_pic.a			comp-atf-piclib		compatfile,picinstall,atf
 ./usr/lib/libatf-c_pic.a			comp-atf-piclib		compatfile,picinstall,atf

Index: src/distrib/sets/lists/debug/mi
diff -u src/distrib/sets/lists/debug/mi:1.152 src/distrib/sets/lists/debug/mi:1.153
--- src/distrib/sets/lists/debug/mi:1.152	Thu Apr 14 21:35:26 2016
+++ src/distrib/sets/lists/debug/mi	Wed Jun  1 13:10:05 2016
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.152 2016/04/15 01:35:26 ozaki-r Exp $
+# $NetBSD: mi,v 1.153 2016/06/01 17:10:05 christos Exp $
 ./etc/mtree/set.debug   comp-sys-root
 ./usr/lib	comp-sys-usr		compatdir
 ./usr/lib/i18n/libBIG5_g.a			comp-c-debuglib		debuglib,compatfile
@@ -26,7 +26,7 @@
 ./usr/lib/i18n/libmapper_zone_g.a		comp-c-debuglib		debuglib,compatfile
 ./usr/lib/libamu_g.acomp-c-debuglib		debuglib,compatfile
 ./usr/lib/libarchive_g.a			comp-c-debuglib		debuglib,compatfile
-./usr/lib/libasan_g.a

CVS commit: src/share/man/man4

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 23:40:05 UTC 2016

Modified Files:
src/share/man/man4: wi.4

Log Message:
Add 3Com 3CRWE777A (and, belatedly, 3CRWE737A) to the supported devices.

>From PR kern/39590


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/man/man4/wi.4

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/wi.4
diff -u src/share/man/man4/wi.4:1.40 src/share/man/man4/wi.4:1.41
--- src/share/man/man4/wi.4:1.40	Tue Mar 18 18:20:39 2014
+++ src/share/man/man4/wi.4	Wed Jun  1 23:40:05 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: wi.4,v 1.40 2014/03/18 18:20:39 riastradh Exp $
+.\" $NetBSD: wi.4,v 1.41 2016/06/01 23:40:05 pgoyette Exp $
 .\"
 .\" Copyright (c) 1997, 1998, 1999
 .\"	Bill Paul . All rights reserved.
@@ -30,9 +30,9 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\"	$Id: wi.4,v 1.40 2014/03/18 18:20:39 riastradh Exp $
+.\"	$Id: wi.4,v 1.41 2016/06/01 23:40:05 pgoyette Exp $
 .\"
-.Dd July 6, 2005
+.Dd June 2, 2016
 .Dt WI 4
 .Os
 .Sh NAME
@@ -122,6 +122,10 @@ driver include:
 .Pp
 .Bl -item -offset indent -compact
 .It
+3Com AirConnect 3CRWE737A
+.It
+3Com AirConnect 3CRWE777A
+.It
 Alvarion BreezeNET
 .It
 Lucent WaveLAN/IEEE 2.0Mb Bronze



CVS commit: src/lib/libutil

2016-06-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun  1 22:58:52 UTC 2016

Modified Files:
src/lib/libutil: sockaddr_snprintf.c

Log Message:
Use NULL instead of 0.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libutil/sockaddr_snprintf.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/libutil/sockaddr_snprintf.c
diff -u src/lib/libutil/sockaddr_snprintf.c:1.12 src/lib/libutil/sockaddr_snprintf.c:1.13
--- src/lib/libutil/sockaddr_snprintf.c:1.12	Wed Apr  6 14:08:16 2016
+++ src/lib/libutil/sockaddr_snprintf.c	Wed Jun  1 18:58:52 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: sockaddr_snprintf.c,v 1.12 2016/04/06 18:08:16 christos Exp $	*/
+/*	$NetBSD: sockaddr_snprintf.c,v 1.13 2016/06/01 22:58:52 christos Exp $	*/
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 #include 
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: sockaddr_snprintf.c,v 1.12 2016/04/06 18:08:16 christos Exp $");
+__RCSID("$NetBSD: sockaddr_snprintf.c,v 1.13 2016/06/01 22:58:52 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include 
@@ -166,7 +166,7 @@ sockaddr_snprintf(char * const sbuf, con
 			sdl->sdl_index);
 		} else {
 			(void)strlcpy(abuf, link_ntoa(sdl), sizeof(abuf));
-			if ((w = strchr(addr, ':')) != 0) {
+			if ((w = strchr(addr, ':')) != NULL) {
 			*w++ = '\0';
 			addr = w;
 			}



CVS commit: src/external/gpl3/gcc/lib

2016-06-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun  1 17:07:13 UTC 2016

Modified Files:
src/external/gpl3/gcc/lib: Makefile

Log Message:
Put back asan now it works.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/gcc/lib/Makefile

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

Modified files:

Index: src/external/gpl3/gcc/lib/Makefile
diff -u src/external/gpl3/gcc/lib/Makefile:1.10 src/external/gpl3/gcc/lib/Makefile:1.11
--- src/external/gpl3/gcc/lib/Makefile:1.10	Wed Mar 16 01:41:47 2016
+++ src/external/gpl3/gcc/lib/Makefile	Wed Jun  1 13:07:13 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.10 2016/03/16 05:41:47 mrg Exp $
+#	$NetBSD: Makefile,v 1.11 2016/06/01 17:07:13 christos Exp $
 
 .include 
 
@@ -12,7 +12,6 @@ SUBDIR+= liblto_plugin
 SUBDIR+= libsupc++ libstdc++-v3
 .endif
 
-# XXX GCC5
-#SUBDIR+= libasan
+SUBDIR+= libasan
 
 .include 



CVS commit: src/external/bsd/blacklist/port

2016-06-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun  1 22:57:51 UTC 2016

Modified Files:
src/external/bsd/blacklist/port: sockaddr_snprintf.c

Log Message:
Use NULL instead of 0 (Pedro Giffuni)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/external/bsd/blacklist/port/sockaddr_snprintf.c

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

Modified files:

Index: src/external/bsd/blacklist/port/sockaddr_snprintf.c
diff -u src/external/bsd/blacklist/port/sockaddr_snprintf.c:1.10 src/external/bsd/blacklist/port/sockaddr_snprintf.c:1.11
--- src/external/bsd/blacklist/port/sockaddr_snprintf.c:1.10	Tue Apr  5 08:28:57 2016
+++ src/external/bsd/blacklist/port/sockaddr_snprintf.c	Wed Jun  1 18:57:51 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: sockaddr_snprintf.c,v 1.10 2016/04/05 12:28:57 christos Exp $	*/
+/*	$NetBSD: sockaddr_snprintf.c,v 1.11 2016/06/01 22:57:51 christos Exp $	*/
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 
 #include 
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: sockaddr_snprintf.c,v 1.10 2016/04/05 12:28:57 christos Exp $");
+__RCSID("$NetBSD: sockaddr_snprintf.c,v 1.11 2016/06/01 22:57:51 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include 
@@ -219,7 +219,7 @@ sockaddr_snprintf(char * const sbuf, con
 	case AF_LINK:
 		sdl = ((const struct sockaddr_dl *)(const void *)sa);
 		(void)strlcpy(addr = abuf, link_ntoa(sdl), sizeof(abuf));
-		if ((w = strchr(addr, ':')) != 0) {
+		if ((w = strchr(addr, ':')) != NULL) {
 			*w++ = '\0';
 			addr = w;
 		}



CVS commit: src/distrib/sets/lists

2016-06-01 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Jun  1 23:59:21 UTC 2016

Modified Files:
src/distrib/sets/lists/base: shl.mi
src/distrib/sets/lists/comp: mi shl.mi
src/distrib/sets/lists/debug: mi

Log Message:
The way libasan is hooked into the build make it a GCC-only library.


To generate a diff of this commit:
cvs rdiff -u -r1.773 -r1.774 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.2036 -r1.2037 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.289 -r1.290 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.153 -r1.154 src/distrib/sets/lists/debug/mi

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/base/shl.mi
diff -u src/distrib/sets/lists/base/shl.mi:1.773 src/distrib/sets/lists/base/shl.mi:1.774
--- src/distrib/sets/lists/base/shl.mi:1.773	Wed Jun  1 17:10:04 2016
+++ src/distrib/sets/lists/base/shl.mi	Wed Jun  1 23:59:21 2016
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.773 2016/06/01 17:10:04 christos Exp $
+# $NetBSD: shl.mi,v 1.774 2016/06/01 23:59:21 joerg Exp $
 #
 # Note:	Don't delete entries from here - mark them as "obsolete" instead,
 #	unless otherwise stated below.
@@ -172,7 +172,8 @@
 ./usr/lib/libarchive.sobase-sys-shlib		compatfile
 ./usr/lib/libarchive.so.3			base-sys-shlib		compatfile
 ./usr/lib/libarchive.so.3.1			base-sys-shlib		compatfile
-./usr/lib/libasan.sobase-sys-shlib		compatfile
+./usr/lib/libasan.sobase-sys-shlib		compatfile,gcc=48
+./usr/lib/libasan.sobase-sys-shlib		compatfile,gcc=53
 ./usr/lib/libasan.so.0base-sys-shlib		compatfile,gcc=48
 ./usr/lib/libasan.so.0base-sys-shlib		compatfile,gcc=48
 ./usr/lib/libasan.so.1.0			base-sys-shlib		compatfile,gcc=53

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.2036 src/distrib/sets/lists/comp/mi:1.2037
--- src/distrib/sets/lists/comp/mi:1.2036	Wed Jun  1 17:10:04 2016
+++ src/distrib/sets/lists/comp/mi	Wed Jun  1 23:59:21 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.2036 2016/06/01 17:10:04 christos Exp $
+#	$NetBSD: mi,v 1.2037 2016/06/01 23:59:21 joerg Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.compcomp-sys-root
@@ -3147,8 +3147,10 @@
 ./usr/lib/libamu_p.acomp-obsolete		obsolete
 ./usr/lib/libarchive.acomp-c-lib		compatfile
 ./usr/lib/libarchive_p.a			comp-c-proflib		compatfile,profile
-./usr/lib/libasan.acomp-c-lib		compatfile
-./usr/lib/libasan_p.acomp-c-proflib		compatfile,profile
+./usr/lib/libasan.acomp-c-lib		compatfile,gcc=48
+./usr/lib/libasan.acomp-c-lib		compatfile,gcc=53
+./usr/lib/libasan_p.acomp-c-proflib		compatfile,profile,gcc=48
+./usr/lib/libasan_p.acomp-c-proflib		compatfile,profile,gcc=53
 ./usr/lib/libasn1.acomp-krb5-lib		compatfile,kerberos
 ./usr/lib/libasn1_p.acomp-krb5-proflib	compatfile,kerberos,profile
 ./usr/lib/libatf-c++.acomp-atf-lib		compatfile,atf

Index: src/distrib/sets/lists/comp/shl.mi
diff -u src/distrib/sets/lists/comp/shl.mi:1.289 src/distrib/sets/lists/comp/shl.mi:1.290
--- src/distrib/sets/lists/comp/shl.mi:1.289	Wed Jun  1 17:10:04 2016
+++ src/distrib/sets/lists/comp/shl.mi	Wed Jun  1 23:59:21 2016
@@ -1,4 +1,4 @@
-# $NetBSD: shl.mi,v 1.289 2016/06/01 17:10:04 christos Exp $
+# $NetBSD: shl.mi,v 1.290 2016/06/01 23:59:21 joerg Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -7,7 +7,8 @@
 ./usr/lib/crtendS.ocomp-c-lib		compatfile
 ./usr/lib/libamu_pic.acomp-obsolete		obsolete
 ./usr/lib/libarchive_pic.a			comp-c-piclib		compatfile,picinstall
-./usr/lib/libasan_pic.acomp-c-piclib		compatfile,picinstall
+./usr/lib/libasan_pic.acomp-c-piclib		compatfile,picinstall,gcc=48
+./usr/lib/libasan_pic.acomp-c-piclib		compatfile,picinstall,gcc=53
 ./usr/lib/libasn1_pic.acomp-c-piclib		compatfile,picinstall,kerberos
 ./usr/lib/libatf-c++_pic.a			comp-atf-piclib		compatfile,picinstall,atf
 ./usr/lib/libatf-c_pic.a			comp-atf-piclib		compatfile,picinstall,atf

Index: src/distrib/sets/lists/debug/mi
diff -u src/distrib/sets/lists/debug/mi:1.153 src/distrib/sets/lists/debug/mi:1.154
--- src/distrib/sets/lists/debug/mi:1.153	Wed Jun  1 17:10:05 2016
+++ src/distrib/sets/lists/debug/mi	Wed Jun  1 23:59:21 2016
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.153 2016/06/01 17:10:05 christos Exp $
+# $NetBSD: mi,v 1.154 2016/06/01 23:59:21 joerg Exp $
 ./etc/mtree/set.debug   comp-sys-root
 ./usr/lib	comp-sys-usr		compatdir
 ./usr/lib/i18n/libBIG5_g.a			comp-c-debuglib		debuglib,compatfile
@@ -26,7 +26,8 @@
 ./usr/lib/i18n/libmapper_zone_g.a		comp-c-debuglib		debuglib,compatfile
 ./usr/lib/libamu_g.acomp-c-debuglib		debuglib,compatfile
 ./usr/lib/libarchive_g.a			comp-c-debuglib		debuglib,compatfile
-./usr/lib/libasan_g.acomp-c-debuglib		debuglib,compatfile
+./usr/lib/libasan_g.acomp-c-debuglib		

CVS commit: othersrc/external/bsd/sys_info

2016-06-01 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Thu Jun  2 02:54:57 UTC 2016

Modified Files:
othersrc/external/bsd/sys_info: sys_info.sh

Log Message:
be sure to show the names of bozohttpd and calendar, as well as the versions


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/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: othersrc/external/bsd/sys_info/sys_info.sh
diff -u othersrc/external/bsd/sys_info/sys_info.sh:1.1 othersrc/external/bsd/sys_info/sys_info.sh:1.2
--- othersrc/external/bsd/sys_info/sys_info.sh:1.1	Thu Jun  2 02:47:56 2016
+++ othersrc/external/bsd/sys_info/sys_info.sh	Thu Jun  2 02:54:57 2016
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: sys_info.sh,v 1.1 2016/06/02 02:47:56 agc Exp $
+# $NetBSD: sys_info.sh,v 1.2 2016/06/02 02:54:57 agc Exp $
 
 # Copyright (c) 2016 Alistair Crooks 
 # All rights reserved.
@@ -43,7 +43,7 @@ getversion() {
 	calendar)
 		v=$(calendar -v 2>/dev/null || true)
 		case "${v}" in
-		"")	echo "20150701" ;;
+		"")	echo "calendar-20150701" ;;
 		*)	echo ${v} ;;
 		esac
 		;;
@@ -69,7 +69,7 @@ getversion() {
 			strings -a /usr/libexec/httpd | awk -F/ '$1 == "bozohttpd" && NF == 2 { print $1 "-" $2; exit }'
 			;;
 		*)
-			echo ${v##*/}
+			echo bozohttpd-${v##*/}
 			;;
 		esac
 		;;



CVS commit: src/sys/dev/pcmcia

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 23:37:33 UTC 2016

Modified Files:
src/sys/dev/pcmcia: if_wi_pcmcia.c

Log Message:
Add 3Com 3CRWE777A to supported devices.  From PR kern/39590


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/pcmcia/if_wi_pcmcia.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/pcmcia/if_wi_pcmcia.c
diff -u src/sys/dev/pcmcia/if_wi_pcmcia.c:1.90 src/sys/dev/pcmcia/if_wi_pcmcia.c:1.91
--- src/sys/dev/pcmcia/if_wi_pcmcia.c:1.90	Sat Mar 30 03:22:14 2013
+++ src/sys/dev/pcmcia/if_wi_pcmcia.c	Wed Jun  1 23:37:33 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wi_pcmcia.c,v 1.90 2013/03/30 03:22:14 christos Exp $ */
+/* $NetBSD: if_wi_pcmcia.c,v 1.91 2016/06/01 23:37:33 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2001, 2004 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_wi_pcmcia.c,v 1.90 2013/03/30 03:22:14 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wi_pcmcia.c,v 1.91 2016/06/01 23:37:33 pgoyette Exp $");
 
 #include 
 #include 
@@ -122,6 +122,9 @@ static const struct pcmcia_product wi_pc
 	{ PCMCIA_VENDOR_3COM, PCMCIA_PRODUCT_3COM_3CRWE737A,
 	  PCMCIA_CIS_3COM_3CRWE737A },
 
+	{ PCMCIA_VENDOR_3COM, PCMCIA_PRODUCT_3COM_3CRWE777A,
+	  PCMCIA_CIS_3COM_3CRWE777A },
+
 	{ PCMCIA_VENDOR_ALVARION,
 	  PCMCIA_PRODUCT_ALVARION_BREEZENET,
 	  PCMCIA_CIS_ALVARION_BREEZENET },



CVS commit: src/external/gpl3/gcc/lib

2016-06-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun  1 22:48:55 UTC 2016

Modified Files:
src/external/gpl3/gcc/lib/libasan: Makefile
src/external/gpl3/gcc/lib/libtsan: Makefile
Added Files:
src/external/gpl3/gcc/lib: Makefile.sanitizer
src/external/gpl3/gcc/lib/libubsan: Makefile shlib_version

Log Message:
Add ubsan (not enabled, not tested, compiling)
Update tsan (not enable, not tested, not compiling)
Merge common infrastructure.
XXX: Perhaps the common code should be made into a separate library?
Or always require asan?


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/Makefile.sanitizer
cvs rdiff -u -r1.15 -r1.16 src/external/gpl3/gcc/lib/libasan/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/lib/libtsan/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libubsan/Makefile \
src/external/gpl3/gcc/lib/libubsan/shlib_version

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

Modified files:

Index: src/external/gpl3/gcc/lib/libasan/Makefile
diff -u src/external/gpl3/gcc/lib/libasan/Makefile:1.15 src/external/gpl3/gcc/lib/libasan/Makefile:1.16
--- src/external/gpl3/gcc/lib/libasan/Makefile:1.15	Wed Jun  1 00:20:20 2016
+++ src/external/gpl3/gcc/lib/libasan/Makefile	Wed Jun  1 18:48:55 2016
@@ -1,10 +1,11 @@
+# $NetBSD: Makefile,v 1.16 2016/06/01 22:48:55 christos Exp $
 
 .include 
 
 .include "../Makefile.inc"
+.include "../Makefile.sanitizer"
 
-ASAN=${GCCDIST}/libsanitizer
-.PATH: ${ASAN}/asan ${ASAN}/interception ${ASAN}/sanitizer_common
+.PATH: ${SANITIZER}/asan
 
 ASAN_SRCS= \
 asan_activation.cc \
@@ -30,75 +31,11 @@ asan_win.cc \
 asan_win_dll_thunk.cc \
 asan_win_dynamic_runtime_thunk.cc
 
-INTERCEPTION_SRCS= \
-interception_linux.cc \
-interception_mac.cc \
-interception_type_test.cc \
-interception_win.cc
-
-SANITIZER_SRCS= \
-sanitizer_allocator.cc \
-sanitizer_common.cc \
-sanitizer_common_libcdep.cc \
-sanitizer_coverage_libcdep.cc \
-sanitizer_coverage_mapping_libcdep.cc \
-sanitizer_deadlock_detector1.cc \
-sanitizer_deadlock_detector2.cc \
-sanitizer_flags.cc \
-sanitizer_libc.cc \
-sanitizer_libignore.cc \
-sanitizer_linux.cc \
-sanitizer_linux_libcdep.cc \
-sanitizer_mac.cc \
-sanitizer_persistent_allocator.cc \
-sanitizer_platform_limits_linux.cc \
-sanitizer_platform_limits_posix.cc \
-sanitizer_posix.cc \
-sanitizer_posix_libcdep.cc \
-sanitizer_printf.cc \
-sanitizer_procmaps_common.cc \
-sanitizer_procmaps_netbsd.cc \
-sanitizer_procmaps_freebsd.cc \
-sanitizer_procmaps_linux.cc \
-sanitizer_procmaps_mac.cc \
-sanitizer_stackdepot.cc \
-sanitizer_stacktrace.cc \
-sanitizer_stacktrace_libcdep.cc \
-sanitizer_stacktrace_printer.cc \
-sanitizer_stoptheworld_linux_libcdep.cc \
-sanitizer_suppressions.cc \
-sanitizer_symbolizer.cc \
-sanitizer_symbolizer_libbacktrace.cc \
-sanitizer_symbolizer_libcdep.cc \
-sanitizer_symbolizer_posix_libcdep.cc \
-sanitizer_symbolizer_win.cc \
-sanitizer_thread_registry.cc \
-sanitizer_tls_get_addr.cc \
-sanitizer_unwind_posix_libcdep.cc \
-sanitizer_win.cc
-
-# The linux build does this to avoid preinit sections on shared libraries
-CSHLIBFLAGS+= -DPIC
-
 LIB=	asan
-SRCS=	${ASAN_SRCS} ${INTERCEPTION_SRCS} ${SANITIZER_SRCS}
-CPPFLAGS+=-I${ASAN}/include -I${ASAN}
-CPPFLAGS.sanitizer_netbsd.cc+=-I${GCCDIST}/gcc/ginclude
-CPPFLAGS+=-D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DASAN_HAS_EXCEPTIONS=1 -DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0 -DASAN_NEEDS_SEGV=1
-
-LIBDPLIBS+=stdc++ ${.CURDIR}/../libstdc++-v3
-LIBDPLIBS+=pthread ${.CURDIR}/../../../../../lib/libpthread
-COPTS+=-std=gnu++11 -fsized-deallocation -fvisibility=hidden
-COPTS+=-fno-builtin -fno-exceptions -fno-rtti -funwind-tables
-# Can't profile without it`
-#-fomit-frame-pointer
+SRCS+=	${ASAN_SRCS}
 
 .if ${MACHINE_ARCH} == "vax"
 COPTS.asan_allocator2.cc += -O1
-COPTS.sanitizer_mac.cc += -O1
-COPTS.sanitizer_netbsd.cc += -O1
-COPTS.sanitizer_printf.cc += -O1
-COPTS.sanitizer_stackdepot.cc += -O1
 .endif
 
 .include 

Index: src/external/gpl3/gcc/lib/libtsan/Makefile
diff -u src/external/gpl3/gcc/lib/libtsan/Makefile:1.3 src/external/gpl3/gcc/lib/libtsan/Makefile:1.4
--- src/external/gpl3/gcc/lib/libtsan/Makefile:1.3	Tue Jan  5 08:07:46 2016
+++ src/external/gpl3/gcc/lib/libtsan/Makefile	Wed Jun  1 18:48:55 2016
@@ -1,67 +1,41 @@
-# $NetBSD: Makefile,v 1.3 2016/01/05 13:07:46 christos Exp $
+# $NetBSD: Makefile,v 1.4 2016/06/01 22:48:55 christos Exp $
 
 .include 
 
 .include "../Makefile.inc"
+.include "../Makefile.sanitizer"
 
-TSAN=${GCCDIST}/libsanitizer
-.PATH: ${TSAN}/tsan ${TSAN}/interception ${TSAN}/sanitizer_common
+.PATH: ${SANITIZER}/tsan
 
 TSAN_SRCS= \
-	tsan_clock.cc  \
-	tsan_fd.cc  \
-	tsan_flags.cc  \
-	tsan_interceptors.cc  \
-	tsan_interface.cc  \
-	tsan_interface_ann.cc  \
-	tsan_interface_atomic.cc  \
-	tsan_interface_java.cc  \
-	tsan_md5.cc  \
-	tsan_mman.cc  \
-	

CVS commit: src/external/gpl3/gcc/dist/libsanitizer/asan

2016-06-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun  1 17:03:26 UTC 2016

Modified Files:
src/external/gpl3/gcc/dist/libsanitizer/asan: asan_interceptors.cc

Log Message:
deal with rename lossage


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc

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

Modified files:

Index: src/external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc
diff -u src/external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc:1.1.1.2 src/external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc:1.2
--- src/external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc:1.1.1.2	Sun Jan 24 01:05:41 2016
+++ src/external/gpl3/gcc/dist/libsanitizer/asan/asan_interceptors.cc	Wed Jun  1 13:03:26 2016
@@ -267,6 +267,11 @@ INTERCEPTOR(int, swapcontext, struct uco
 }
 #endif  // ASAN_INTERCEPT_SWAPCONTEXT
 
+#if SANITIZER_NETBSD
+#define longjmp __longjmp14
+#define siglongjmp __siglongjmp14
+#endif
+
 INTERCEPTOR(void, longjmp, void *env, int val) {
   __asan_handle_no_return();
   REAL(longjmp)(env, val);



CVS commit: src/tests/usr.bin/netpgpverify

2016-06-01 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Wed Jun  1 14:52:56 UTC 2016

Modified Files:
src/tests/usr.bin/netpgpverify: Testspec

Log Message:
remove some unused test cases


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/netpgpverify/Testspec

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

Modified files:

Index: src/tests/usr.bin/netpgpverify/Testspec
diff -u src/tests/usr.bin/netpgpverify/Testspec:1.1 src/tests/usr.bin/netpgpverify/Testspec:1.2
--- src/tests/usr.bin/netpgpverify/Testspec:1.1	Wed Jun  1 06:39:11 2016
+++ src/tests/usr.bin/netpgpverify/Testspec	Wed Jun  1 14:52:56 2016
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# $NetBSD: Testspec,v 1.1 2016/06/01 06:39:11 agc Exp $
+# $NetBSD: Testspec,v 1.2 2016/06/01 14:52:56 agc Exp $
 
 # Copyright (c) 2016 Alistair Crooks 
 # All rights reserved.
@@ -102,11 +102,6 @@ expected44
 expected45
 expected46
 '
-TESTSET_2_CASE_1="-s eq:0 -o file:3.expected -e empty b2e < 3.in"
-TESTSET_2_CASE_2="-s eq:0 -o file:4.expected -e empty b2e < 4.in"
-DISABLE_TESTSET_2_CASE_3="-s eq:0 -o file:5.expected -e empty b2e < 5.in"
-TESTSET_2_CASE_4="-s eq:0 -o file:6.expected -e empty b2e < 6.in"
-
 TESTSET_2_CASE_1="-s eq:0 -o file:expected36 -e empty env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg in1.gpg"
 TESTSET_2_CASE_2="-s eq:0 -o file:expected37 -e empty env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg < in1.gpg"
 TESTSET_2_CASE_3="-s eq:0 -o file:expected38 -e empty env TZ=US/Pacific netpgpverify -k dsa-pubring.gpg in1.asc"



CVS commit: src/doc

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 14:18:00 UTC 2016

Modified Files:
src/doc: 3RDPARTY

Log Message:
gdb-7.11.1 out.


To generate a diff of this commit:
cvs rdiff -u -r1.1334 -r1.1335 src/doc/3RDPARTY

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1334 src/doc/3RDPARTY:1.1335
--- src/doc/3RDPARTY:1.1334	Wed Jun  1 00:11:08 2016
+++ src/doc/3RDPARTY	Wed Jun  1 14:17:59 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1334 2016/06/01 00:11:08 agc Exp $
+#	$NetBSD: 3RDPARTY,v 1.1335 2016/06/01 14:17:59 wiz Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -454,7 +454,7 @@ Before importing a new version of extern
 
 Package:	gdb
 Version:	7.9.1
-Current Vers:	7.11
+Current Vers:	7.11.1
 Maintainer:	FSF
 Archive Site:	ftp://ftp.gnu.org/gnu/gdb/
 Home Page:	http://www.gnu.org/software/gdb/



CVS commit: src/sbin/mount_nilfs

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 12:01:21 UTC 2016

Modified Files:
src/sbin/mount_nilfs: mount_nilfs.8

Log Message:
Sort SEE ALSO. New sentence, new line. Punctuation nits. Use Nx.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sbin/mount_nilfs/mount_nilfs.8

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

Modified files:

Index: src/sbin/mount_nilfs/mount_nilfs.8
diff -u src/sbin/mount_nilfs/mount_nilfs.8:1.3 src/sbin/mount_nilfs/mount_nilfs.8:1.4
--- src/sbin/mount_nilfs/mount_nilfs.8:1.3	Wed Jun  1 11:56:49 2016
+++ src/sbin/mount_nilfs/mount_nilfs.8	Wed Jun  1 12:01:21 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: mount_nilfs.8,v 1.3 2016/06/01 11:56:49 pgoyette Exp $
+.\" $NetBSD: mount_nilfs.8,v 1.4 2016/06/01 12:01:21 wiz Exp $
 .\"
 .\" Copyright (c) 2008, 2009 Reinoud Zandijk
 .\" All rights reserved.
@@ -48,8 +48,8 @@
 .Sh DESCRIPTION
 NILFS is a log-structured file system designed to support fast
 writing, fast recovery times, live snapshots, concurrent read-only
-snapshot mounts, and live file system resizing.  Its inodes are
-managed using B-trees.
+snapshot mounts, and live file system resizing.
+Its inodes are managed using B-trees.
 .Pp
 The
 .Nm
@@ -79,24 +79,29 @@ If not set, the user's current time zone
 .Xr vnd 4 ,
 .Xr fstab 5 ,
 .Xr mount 8 ,
-.Xr umount 8 ,
 .Xr mount_lfs 8 ,
+.Xr umount 8 ,
 .Xr vnconfig 8
 .Sh HISTORY
 NILFS is a file system developped by NTT and released in 2005 for
-Linux.  Version 2 is available since 2009.
+Linux.
+Version 2 is available since 2009.
 This cleanroom implementation was written by
 .An -nosplit
 .An Reinoud Zandijk
-for NetBSD in 2009, and has first been released as part of NetBSD 6.
+for
+.Nx
+in 2009, and has first been released as part of
+.Nx 6 .
 .Sh AUTHORS
 This implementation of NILFS was written by
-.An Reinoud Zandijk.
+.An Reinoud Zandijk .
 .Sh CAVEATS
 This implementation currently only supports read-only operation.
 See
 .Xr mount_lfs 8
-for an older log-structured file system with write support.  Also see
+for an older log-structured file system with write support.
+Also see
 .Xr wapbl 4
 and
 .Xr mount 8



CVS commit: src/sys/dev/pci

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 12:45:46 UTC 2016

Modified Files:
src/sys/dev/pci: if_dge.c

Log Message:
Fix typo that somehow snuck in.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/pci/if_dge.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/pci/if_dge.c
diff -u src/sys/dev/pci/if_dge.c:1.42 src/sys/dev/pci/if_dge.c:1.43
--- src/sys/dev/pci/if_dge.c:1.42	Wed Jun  1 11:28:45 2016
+++ src/sys/dev/pci/if_dge.c	Wed Jun  1 12:45:46 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_dge.c,v 1.42 2016/06/01 11:28:45 pgoyette Exp $ */
+/*	$NetBSD: if_dge.c,v 1.43 2016/06/01 12:45:46 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2004, SUNET, Swedish University Computer Network.
@@ -80,7 +80,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_dge.c,v 1.42 2016/06/01 11:28:45 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_dge.c,v 1.43 2016/06/01 12:45:46 pgoyette Exp $");
 
 
 
@@ -686,7 +686,7 @@ dge_match(device_t parent, cfdata_t cf, 
 {
 	struct pci_attach_args *pa = aux;
 
-	if (dga_lookup(pa) != NULL)
+	if (dge_lookup(pa) != NULL)
 		return (1);
 
 	return (0);



CVS commit: src/sys/dev/ic

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 12:40:03 UTC 2016

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

Log Message:
Enable writing to the EPROM before trying to change our MAC address.

>From PR kern/44433


To generate a diff of this commit:
cvs rdiff -u -r1.97 -r1.98 src/sys/dev/ic/rtl81x9.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/rtl81x9.c
diff -u src/sys/dev/ic/rtl81x9.c:1.97 src/sys/dev/ic/rtl81x9.c:1.98
--- src/sys/dev/ic/rtl81x9.c:1.97	Tue Feb  9 08:32:10 2016
+++ src/sys/dev/ic/rtl81x9.c	Wed Jun  1 12:40:03 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: rtl81x9.c,v 1.97 2016/02/09 08:32:10 ozaki-r Exp $	*/
+/*	$NetBSD: rtl81x9.c,v 1.98 2016/06/01 12:40:03 pgoyette Exp $	*/
 
 /*
  * Copyright (c) 1997, 1998
@@ -86,7 +86,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: rtl81x9.c,v 1.97 2016/02/09 08:32:10 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtl81x9.c,v 1.98 2016/06/01 12:40:03 pgoyette Exp $");
 
 
 #include 
@@ -1339,9 +1339,11 @@ rtk_init(struct ifnet *ifp)
 	rtk_stop(ifp, 0);
 
 	/* Init our MAC address */
+	CSR_WRITE_1(sc, RTK_EECMD, RTK_EEMODE_WRITECFG);
 	for (i = 0; i < ETHER_ADDR_LEN; i++) {
 		CSR_WRITE_1(sc, RTK_IDR0 + i, CLLADDR(ifp->if_sadl)[i]);
 	}
+	CSR_WRITE_1(sc, RTK_EECMD, RTK_EEMODE_OFF);
 
 	/* Init the RX buffer pointer register. */
 	bus_dmamap_sync(sc->sc_dmat, sc->recv_dmamap, 0,



CVS commit: src/sys/dev/pci

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 11:00:15 UTC 2016

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add Intel 82597EX_SR, from PR kern/47750


To generate a diff of this commit:
cvs rdiff -u -r1.1250 -r1.1251 src/sys/dev/pci/pcidevs

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/pci/pcidevs
diff -u src/sys/dev/pci/pcidevs:1.1250 src/sys/dev/pci/pcidevs:1.1251
--- src/sys/dev/pci/pcidevs:1.1250	Mon May 30 04:17:30 2016
+++ src/sys/dev/pci/pcidevs	Wed Jun  1 11:00:15 2016
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.1250 2016/05/30 04:17:30 nonaka Exp $
+$NetBSD: pcidevs,v 1.1251 2016/06/01 11:00:15 pgoyette Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -3062,6 +3062,7 @@ product INTEL 82840_PCI		0x1a24	82840 PC
 product INTEL 82845_HB		0x1a30	82845 Host
 product INTEL 82845_AGP		0x1a31	82845 AGP
 product INTEL 5000_DMA		0x1a38	5000 Series Chipset DMA Engine
+product INTEL 82597EX_SR	0x1a48	PRO/10GbE SR Server Adapter
 product INTEL 6SERIES_SATA_1	0x1c00	6 Series SATA
 product INTEL 6SERIES_SATA_2	0x1c01	6 Series SATA
 product INTEL 6SERIES_AHCI_1	0x1c02	6 Series AHCI



CVS commit: src/sbin/mount_nilfs

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 11:56:49 UTC 2016

Modified Files:
src/sbin/mount_nilfs: mount_nilfs.8

Log Message:
Improved documentation of mount_nilfs, from PR bin/46730


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sbin/mount_nilfs/mount_nilfs.8

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

Modified files:

Index: src/sbin/mount_nilfs/mount_nilfs.8
diff -u src/sbin/mount_nilfs/mount_nilfs.8:1.2 src/sbin/mount_nilfs/mount_nilfs.8:1.3
--- src/sbin/mount_nilfs/mount_nilfs.8:1.2	Sat Jul 18 17:07:12 2009
+++ src/sbin/mount_nilfs/mount_nilfs.8	Wed Jun  1 11:56:49 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: mount_nilfs.8,v 1.2 2009/07/18 17:07:12 wiz Exp $
+.\" $NetBSD: mount_nilfs.8,v 1.3 2016/06/01 11:56:49 pgoyette Exp $
 .\"
 .\" Copyright (c) 2008, 2009 Reinoud Zandijk
 .\" All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\" <>
 .\"
-.Dd July 13, 2009
+.Dd June 1, 2016
 .Dt MOUNT_NILFS 8
 .Os
 .Sh NAME
@@ -46,6 +46,11 @@
 .Ar special
 .Ar node
 .Sh DESCRIPTION
+NILFS is a log-structured file system designed to support fast
+writing, fast recovery times, live snapshots, concurrent read-only
+snapshot mounts, and live file system resizing.  Its inodes are
+managed using B-trees.
+.Pp
 The
 .Nm
 command attaches the NILFS file system residing on the specified
@@ -75,6 +80,24 @@ If not set, the user's current time zone
 .Xr fstab 5 ,
 .Xr mount 8 ,
 .Xr umount 8 ,
+.Xr mount_lfs 8 ,
 .Xr vnconfig 8
-.Sh NOTES
-NILFS is a file system developped by NTT and is currently in version 2.
+.Sh HISTORY
+NILFS is a file system developped by NTT and released in 2005 for
+Linux.  Version 2 is available since 2009.
+This cleanroom implementation was written by
+.An -nosplit
+.An Reinoud Zandijk
+for NetBSD in 2009, and has first been released as part of NetBSD 6.
+.Sh AUTHORS
+This implementation of NILFS was written by
+.An Reinoud Zandijk.
+.Sh CAVEATS
+This implementation currently only supports read-only operation.
+See
+.Xr mount_lfs 8
+for an older log-structured file system with write support.  Also see
+.Xr wapbl 4
+and
+.Xr mount 8
+for fast journal-based recovery using FFS.



CVS commit: src/sys/dev/pci

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 11:28:45 UTC 2016

Modified Files:
src/sys/dev/pci: if_dge.c

Log Message:
Add support for Intel 82597EX_SR - from PR kern/47750


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/dev/pci/if_dge.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/pci/if_dge.c
diff -u src/sys/dev/pci/if_dge.c:1.41 src/sys/dev/pci/if_dge.c:1.42
--- src/sys/dev/pci/if_dge.c:1.41	Tue Feb  9 08:32:11 2016
+++ src/sys/dev/pci/if_dge.c	Wed Jun  1 11:28:45 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_dge.c,v 1.41 2016/02/09 08:32:11 ozaki-r Exp $ */
+/*	$NetBSD: if_dge.c,v 1.42 2016/06/01 11:28:45 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2004, SUNET, Swedish University Computer Network.
@@ -80,7 +80,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_dge.c,v 1.41 2016/02/09 08:32:11 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_dge.c,v 1.42 2016/06/01 11:28:45 pgoyette Exp $");
 
 
 
@@ -256,6 +256,7 @@ struct dge_softc {
 	int sc_bus_speed;		/* PCI/PCIX bus speed */
 	int sc_pcix_offset;		/* PCIX capability register offset */
 
+	const struct dge_product *sc_dgep; /* Pointer to the dge_product entry */
 	pci_chipset_tag_t sc_pc;
 	pcitag_t sc_pt;
 	int sc_mmrbc;			/* Max PCIX memory read byte count */
@@ -643,13 +644,49 @@ CFATTACH_DECL_NEW(dge, sizeof(struct dge
 static char (*dge_txseg_evcnt_names)[DGE_NTXSEGS][8 /* "txseg00" + \0 */];
 #endif /* DGE_EVENT_COUNTERS */
 
+/*
+ * Devices supported by this driver.
+ */
+static const struct dge_product {
+  pci_vendor_id_t  dgep_vendor;
+  pci_product_id_t  dgep_product;
+  const char *dgep_name;
+  int dgep_flags;
+#define DGEP_F_10G_LR 0x01
+#define DGEP_F_10G_SR 0x02
+} dge_products[] = {
+  { PCI_VENDOR_INTEL,  PCI_PRODUCT_INTEL_82597EX,
+"Intel i82597EX 10GbE-LR Ethernet",
+DGEP_F_10G_LR },
+
+  { PCI_VENDOR_INTEL,  PCI_PRODUCT_INTEL_82597EX_SR,
+"Intel i82597EX 10GbE-SR Ethernet",
+DGEP_F_10G_SR },
+
+  { 0,0,
+NULL,
+0 },
+};
+
+static const struct dge_product *
+dge_lookup(const struct pci_attach_args *pa)
+{
+	const struct dge_product *dgep;
+
+	for (dgep = dge_products; dgep->dgep_name != NULL; dgep++) {
+		if (PCI_VENDOR(pa->pa_id) == dgep->dgep_vendor &&
+		PCI_PRODUCT(pa->pa_id) == dgep->dgep_product)
+			return dgep;
+		}
+	return NULL;
+}
+
 static int
 dge_match(device_t parent, cfdata_t cf, void *aux)
 {
 	struct pci_attach_args *pa = aux;
 
-	if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL &&
-	PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_82597EX)
+	if (dga_lookup(pa) != NULL)
 		return (1);
 
 	return (0);
@@ -670,6 +707,13 @@ dge_attach(device_t parent, device_t sel
 	pcireg_t preg, memtype;
 	uint32_t reg;
 	char intrbuf[PCI_INTRSTR_LEN];
+	const struct dge_product *dgep;
+
+	sc->sc_dgep = dgep = dge_lookup(pa);
+	if (dgep == NULL) {
+		printf("\n");
+		panic("dge_attach: impossible");
+	}
 
 	sc->sc_dev = self;
 	sc->sc_dmat = pa->pa_dmat;
@@ -677,7 +721,7 @@ dge_attach(device_t parent, device_t sel
 	sc->sc_pt = pa->pa_tag;
 
 	pci_aprint_devinfo_fancy(pa, "Ethernet controller",
-		"Intel i82597EX 10GbE-LR Ethernet", 1);
+		dgep->dgep_name, 1);
 
 	memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, DGE_PCI_BAR);
 if (pci_mapreg_map(pa, DGE_PCI_BAR, memtype, 0,
@@ -863,8 +907,13 @@ dge_attach(device_t parent, device_t sel
 	 */
 ifmedia_init(>sc_media, IFM_IMASK, dge_xgmii_mediachange,
 dge_xgmii_mediastatus);
-ifmedia_add(>sc_media, IFM_ETHER|IFM_10G_LR, 0, NULL);
-ifmedia_set(>sc_media, IFM_ETHER|IFM_10G_LR);
+	if (dgep->dgep_flags & DGEP_F_10G_SR) {
+		ifmedia_add(>sc_media, IFM_ETHER|IFM_10G_SR, 0, NULL);
+		ifmedia_set(>sc_media, IFM_ETHER|IFM_10G_SR);
+	} else { /* XXX default is LR */
+		ifmedia_add(>sc_media, IFM_ETHER|IFM_10G_LR, 0, NULL);
+		ifmedia_set(>sc_media, IFM_ETHER|IFM_10G_LR);
+	}
 
 	ifp = >sc_ethercom.ec_if;
 	strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ);
@@ -2358,7 +2407,11 @@ dge_xgmii_mediastatus(struct ifnet *ifp,
 	struct dge_softc *sc = ifp->if_softc;
 
 	ifmr->ifm_status = IFM_AVALID;
-	ifmr->ifm_active = IFM_ETHER|IFM_10G_LR;
+	if (sc->sc_dgep->dgep_flags & DGEP_F_10G_SR ) {
+		ifmr->ifm_active = IFM_ETHER|IFM_10G_SR;
+	} else {
+		ifmr->ifm_active = IFM_ETHER|IFM_10G_LR;
+	}
 
 	if (CSR_READ(sc, DGE_STATUS) & STATUS_LINKUP)
 		ifmr->ifm_status |= IFM_ACTIVE;



CVS commit: src/sys/dev/pci

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 11:01:36 UTC 2016

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
Regen


To generate a diff of this commit:
cvs rdiff -u -r1.1243 -r1.1244 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1242 -r1.1243 src/sys/dev/pci/pcidevs_data.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/pci/pcidevs.h
diff -u src/sys/dev/pci/pcidevs.h:1.1243 src/sys/dev/pci/pcidevs.h:1.1244
--- src/sys/dev/pci/pcidevs.h:1.1243	Mon May 30 04:18:20 2016
+++ src/sys/dev/pci/pcidevs.h	Wed Jun  1 11:01:36 2016
@@ -1,10 +1,10 @@
-/*	$NetBSD: pcidevs.h,v 1.1243 2016/05/30 04:18:20 nonaka Exp $	*/
+/*	$NetBSD: pcidevs.h,v 1.1244 2016/06/01 11:01:36 pgoyette Exp $	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: pcidevs,v 1.1250 2016/05/30 04:17:30 nonaka Exp
+ *	NetBSD: pcidevs,v 1.1251 2016/06/01 11:00:15 pgoyette Exp
  */
 
 /*
@@ -3069,6 +3069,7 @@
 #define	PCI_PRODUCT_INTEL_82845_HB	0x1a30		/* 82845 Host */
 #define	PCI_PRODUCT_INTEL_82845_AGP	0x1a31		/* 82845 AGP */
 #define	PCI_PRODUCT_INTEL_5000_DMA	0x1a38		/* 5000 Series Chipset DMA Engine */
+#define	PCI_PRODUCT_INTEL_82597EX_SR	0x1a48		/* PRO/10GbE SR Server Adapter */
 #define	PCI_PRODUCT_INTEL_6SERIES_SATA_1	0x1c00		/* 6 Series SATA */
 #define	PCI_PRODUCT_INTEL_6SERIES_SATA_2	0x1c01		/* 6 Series SATA */
 #define	PCI_PRODUCT_INTEL_6SERIES_AHCI_1	0x1c02		/* 6 Series AHCI */

Index: src/sys/dev/pci/pcidevs_data.h
diff -u src/sys/dev/pci/pcidevs_data.h:1.1242 src/sys/dev/pci/pcidevs_data.h:1.1243
--- src/sys/dev/pci/pcidevs_data.h:1.1242	Mon May 30 04:18:20 2016
+++ src/sys/dev/pci/pcidevs_data.h	Wed Jun  1 11:01:36 2016
@@ -1,10 +1,10 @@
-/*	$NetBSD: pcidevs_data.h,v 1.1242 2016/05/30 04:18:20 nonaka Exp $	*/
+/*	$NetBSD: pcidevs_data.h,v 1.1243 2016/06/01 11:01:36 pgoyette Exp $	*/
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: pcidevs,v 1.1250 2016/05/30 04:17:30 nonaka Exp
+ *	NetBSD: pcidevs,v 1.1251 2016/06/01 11:00:15 pgoyette Exp
  */
 
 /*
@@ -4880,6 +4880,8 @@ static const uint16_t pci_products[] = {
 	19762, 8157, 0,
 	PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_5000_DMA, 
 	17799, 6289, 10122, 19768, 18083, 0,
+	PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82597EX_SR, 
+	18374, 18804, 6038, 5722, 0,
 	PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_6SERIES_SATA_1, 
 	13353, 6289, 8338, 0,
 	PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_6SERIES_SATA_2, 
@@ -11704,7 +11706,7 @@ static const char pci_words[] = { "." 
 	"3c595-MII\0" /* 1 refs @ 5694 */
 	"3c555\0" /* 1 refs @ 5704 */
 	"3CRWE154G72\0" /* 1 refs @ 5710 */
-	"Adapter\0" /* 74 refs @ 5722 */
+	"Adapter\0" /* 75 refs @ 5722 */
 	"3c556B\0" /* 1 refs @ 5730 */
 	"3CCFEM656\0" /* 2 refs @ 5737 */
 	"56k\0" /* 5 refs @ 5747 */
@@ -11739,7 +11741,7 @@ static const char pci_words[] = { "." 
 	"OfficeConnect\0" /* 1 refs @ 6010 */
 	"10/100B\0" /* 1 refs @ 6024 */
 	"3c980\0" /* 1 refs @ 6032 */
-	"Server\0" /* 3 refs @ 6038 */
+	"Server\0" /* 4 refs @ 6038 */
 	"3c980C-TXM\0" /* 1 refs @ 6045 */
 	"3c990-TX\0" /* 1 refs @ 6056 */
 	"3XP\0" /* 8 refs @ 6065 */
@@ -13480,7 +13482,7 @@ static const char pci_words[] = { "." 
 	"PRO/Wireless\0" /* 7 refs @ 18353 */
 	"2100\0" /* 1 refs @ 18366 */
 	"3B\0" /* 1 refs @ 18371 */
-	"PRO/10GbE\0" /* 1 refs @ 18374 */
+	"PRO/10GbE\0" /* 2 refs @ 18374 */
 	"LR\0" /* 2 refs @ 18384 */
 	"i82801H\0" /* 8 refs @ 18387 */
 	"(M_AMT)\0" /* 1 refs @ 18395 */
@@ -13533,7 +13535,7 @@ static const char pci_words[] = { "." 
 	"82598EB\0" /* 3 refs @ 18774 */
 	"i82567LM-3\0" /* 1 refs @ 18782 */
 	"i82567LF-3\0" /* 1 refs @ 18793 */
-	"SR\0" /* 1 refs @ 18804 */
+	"SR\0" /* 2 refs @ 18804 */
 	"Quad-1000baseT\0" /* 1 refs @ 18807 */
 	"(PM)\0" /* 1 refs @ 18822 */
 	"i82567LM-4\0" /* 1 refs @ 18827 */



CVS commit: src/lib/libc/stdlib

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 08:32:05 UTC 2016

Modified Files:
src/lib/libc/stdlib: malloc.3

Log Message:
Fix manually applied patch. Mark up NULL with Dv.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/lib/libc/stdlib/malloc.3

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/malloc.3
diff -u src/lib/libc/stdlib/malloc.3:1.47 src/lib/libc/stdlib/malloc.3:1.48
--- src/lib/libc/stdlib/malloc.3:1.47	Wed Jun  1 05:40:26 2016
+++ src/lib/libc/stdlib/malloc.3	Wed Jun  1 08:32:05 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: malloc.3,v 1.47 2016/06/01 05:40:26 pgoyette Exp $
+.\" $NetBSD: malloc.3,v 1.48 2016/06/01 08:32:05 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -144,11 +144,13 @@ The
 .Fn realloc
 function always leaves the original buffer intact
 when an error occurs.
-+If
-+.Ar size
-+is 0, either NULL or a pointer that can be safely passed to
-+.Xr free 3
-+is returned.
+If
+.Ar size
+is 0, either
+.Dv NULL
+or a pointer that can be safely passed to
+.Xr free 3
+is returned.
 .Pp
 The
 .Fn free



CVS commit: src/usr.bin/sort

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 08:24:03 UTC 2016

Modified Files:
src/usr.bin/sort: sort.1 sort.c

Log Message:
Sort options and their descriptions. Sync usage more with man page.
Bump date in man page for new option -C.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.bin/sort/sort.1
cvs rdiff -u -r1.62 -r1.63 src/usr.bin/sort/sort.c

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/sort/sort.1
diff -u src/usr.bin/sort/sort.1:1.35 src/usr.bin/sort/sort.1:1.36
--- src/usr.bin/sort/sort.1:1.35	Wed Jun  1 02:37:55 2016
+++ src/usr.bin/sort/sort.1	Wed Jun  1 08:24:03 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sort.1,v 1.35 2016/06/01 02:37:55 kre Exp $
+.\"	$NetBSD: sort.1,v 1.36 2016/06/01 08:24:03 wiz Exp $
 .\"
 .\" Copyright (c) 2000-2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -59,7 +59,7 @@
 .\"
 .\" @(#)sort.1	8.1 (Berkeley) 6/6/93
 .\"
-.Dd May 29, 2013
+.Dd June 1, 2016
 .Dt SORT 1
 .Os
 .Sh NAME
@@ -78,7 +78,7 @@
 .Op Fl t Ar char
 .Op Ar
 .Nm
-.Fl c|C
+.Fl C Ns | Ns Fl c
 .Op Fl bdfilnru
 .Oo
 .Fl k
@@ -99,6 +99,10 @@ regards each input line as a single fiel
 .Pp
 The following options are available:
 .Bl -tag -width Fl
+.It Fl C
+Identical to
+.Fl c
+without the error messages in the case of unsorted input.
 .It Fl c
 Check that the single input file is sorted.
 If the file is not sorted,
@@ -111,10 +115,6 @@ returns 0.
 produces no output.
 See also
 .Fl u .
-.It Fl C
-Identical to
-.Fl c
-without the error messages in the case of unsorted input.
 .It Fl H
 Ignored for compatibility with earlier versions of
 .Nm .
@@ -216,6 +216,34 @@ option (see below).
 Note that the
 .Fl b
 option has no effect unless key fields are specified.
+.It Fl k Ar kstart Ns Op Li \&, Ns Ar kend
+Designates the starting position,
+.Ar kstart ,
+and optional ending position,
+.Ar kend ,
+of a key field.
+The
+.Fl k
+option replaces the obsolescent options
+.Cm \(pl Ns Ar pos1
+and
+.Fl Ns Ar pos2 .
+.It Fl R Ar char
+.Ar char
+is used as the record separator character.
+This should be used with discretion;
+.Fl R Aq Ar alphanumeric
+usually produces undesirable results.
+If char is not a single character, then it
+specifies the value of the desired record
+separator as an integer specified in any
+of the normal NNN, 0ooo, or 0xXXX ways,
+or as an octal value preceded by \e.
+Caution: do not attempt to specify Ctl-A
+as
+.Dq -R 1
+which will not do what was intended at all!
+The default record separator is newline.
 .It Fl t Ar char
 .Ar char
 is used as the field separator character.
@@ -236,34 +264,6 @@ blank-space characters, and consecutive 
 delimit an empty field; further, the initial blank space
 .Em is
 considered part of a field when determining key offsets.
-.It Fl R Ar char
-.Ar char
-is used as the record separator character.
-This should be used with discretion;
-.Fl R Aq Ar alphanumeric
-usually produces undesirable results.
-If char is not a single character, then it
-specifies the value of the desired record
-separator as an integer specified in any
-of the normal NNN, 0ooo, or 0xXXX ways,
-or as an octal value preceded by \e.
-Caution: do not attempt to specify Ctl-A
-as
-.Dq -R 1
-which will not do what was intended at all!
-The default record separator is newline.
-.It Fl k Ar kstart Ns Op Li \&, Ns Ar kend
-Designates the starting position,
-.Ar kstart ,
-and optional ending position,
-.Ar kend ,
-of a key field.
-The
-.Fl k
-option replaces the obsolescent options
-.Cm \(pl Ns Ar pos1
-and
-.Fl Ns Ar pos2 .
 .El
 .Pp
 The following operands are available:

Index: src/usr.bin/sort/sort.c
diff -u src/usr.bin/sort/sort.c:1.62 src/usr.bin/sort/sort.c:1.63
--- src/usr.bin/sort/sort.c:1.62	Wed Jun  1 02:37:55 2016
+++ src/usr.bin/sort/sort.c	Wed Jun  1 08:24:03 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: sort.c,v 1.62 2016/06/01 02:37:55 kre Exp $	*/
+/*	$NetBSD: sort.c,v 1.63 2016/06/01 08:24:03 wiz Exp $	*/
 
 /*-
  * Copyright (c) 2000-2003 The NetBSD Foundation, Inc.
@@ -76,7 +76,7 @@ __COPYRIGHT("@(#) Copyright (c) 1993\
  The Regents of the University of California.  All rights reserved.");
 #endif /* not lint */
 
-__RCSID("$NetBSD: sort.c,v 1.62 2016/06/01 02:37:55 kre Exp $");
+__RCSID("$NetBSD: sort.c,v 1.63 2016/06/01 08:24:03 wiz Exp $");
 
 #include 
 #include 
@@ -404,7 +404,7 @@ usage(const char *msg)
 	(void)fprintf(stderr,
 	" [-t char] [file ...]\n");
 	(void)fprintf(stderr,
-	"   or: %s -[cC] [-bdfilnru] [-k kstart[,kend]] [-o output]"
+	"   or: %s -C|-c [-bdfilnru] [-k kstart[,kend]] [-o output]"
 	" [-R char]\n", pn);
 	(void)fprintf(stderr,
 	" [-t char] [file]\n");



CVS commit: src/sys/dev/ic

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 08:06:38 UTC 2016

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

Log Message:
Ooopppsss, missed the function declaration!


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/ic/nslm7x.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/nslm7x.c
diff -u src/sys/dev/ic/nslm7x.c:1.63 src/sys/dev/ic/nslm7x.c:1.64
--- src/sys/dev/ic/nslm7x.c:1.63	Wed Jun  1 02:37:47 2016
+++ src/sys/dev/ic/nslm7x.c	Wed Jun  1 08:06:38 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: nslm7x.c,v 1.63 2016/06/01 02:37:47 pgoyette Exp $ */
+/*	$NetBSD: nslm7x.c,v 1.64 2016/06/01 08:06:38 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.63 2016/06/01 02:37:47 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.64 2016/06/01 08:06:38 pgoyette Exp $");
 
 #include 
 #include 
@@ -92,7 +92,7 @@ static void wb_w83627ehf_refresh_nvolt(s
 static void wb_refresh_temp(struct lm_softc *, int);
 static void wb_refresh_fanrpm(struct lm_softc *, int);
 static void wb_w83792d_refresh_fanrpm(struct lm_softc *, int);
-
+static void wb_nct6776f_refresh_fanrpm(struct lm_softc *, int);
 static void as_refresh_temp(struct lm_softc *, int);
 
 struct lm_chip {



CVS commit: src/share/man/man9

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 08:17:12 UTC 2016

Modified Files:
src/share/man/man9: ubc.9

Log Message:
Use Mt for email addresses.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man9/ubc.9

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/man9/ubc.9
diff -u src/share/man/man9/ubc.9:1.8 src/share/man/man9/ubc.9:1.9
--- src/share/man/man9/ubc.9:1.8	Wed Jun  1 02:05:10 2016
+++ src/share/man/man9/ubc.9	Wed Jun  1 08:17:12 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ubc.9,v 1.8 2016/06/01 02:05:10 pgoyette Exp $
+.\"	$NetBSD: ubc.9,v 1.9 2016/06/01 08:17:12 wiz Exp $
 .\"
 .\" Copyright (c) 1998 Matthew R. Green
 .\" All rights reserved.
@@ -146,6 +146,6 @@ UBC first appeared in
 .Nx 1.6 .
 .Sh AUTHORS
 .An Chuck Silvers
-.Aq c...@chuq.com
+.Aq Mt c...@chuq.com
 designed and implemented the UBC part of UVM, which uses UVM pages
 to cache vnode data rather than the traditional buffer cache buffers.



CVS commit: src/share/man/man9

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 08:17:33 UTC 2016

Modified Files:
src/share/man/man9: bus_space.9

Log Message:
Fix typo. Use .An -nosplit.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/share/man/man9/bus_space.9

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/man9/bus_space.9
diff -u src/share/man/man9/bus_space.9:1.47 src/share/man/man9/bus_space.9:1.48
--- src/share/man/man9/bus_space.9:1.47	Wed Jun  1 01:57:31 2016
+++ src/share/man/man9/bus_space.9	Wed Jun  1 08:17:33 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: bus_space.9,v 1.47 2016/06/01 01:57:31 pgoyette Exp $
+.\" $NetBSD: bus_space.9,v 1.48 2016/06/01 08:17:33 wiz Exp $
 .\"
 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -1988,6 +1988,7 @@ This document was written later during t
 development cycle and the specification was updated to fix some
 consistency problems and to add some missing functionality.
 .Sh AUTHORS
+.An -nosplit
 The
 .Nm
 interfaces were designed and implemented by the
@@ -2003,5 +2004,5 @@ but the rest of the
 .Nx
 developers and the user community played a significant role in development.
 .Pp
-,An Chris Demetriou
+.An Chris Demetriou
 wrote this manual page.



CVS commit: src/share/man/man9

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 08:17:47 UTC 2016

Modified Files:
src/share/man/man9: bus_dma.9 pfil.9 pmc.9 rt_timer.9 scsipi.9

Log Message:
Use .An -nosplit.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/share/man/man9/bus_dma.9
cvs rdiff -u -r1.34 -r1.35 src/share/man/man9/pfil.9
cvs rdiff -u -r1.13 -r1.14 src/share/man/man9/pmc.9
cvs rdiff -u -r1.14 -r1.15 src/share/man/man9/rt_timer.9
cvs rdiff -u -r1.26 -r1.27 src/share/man/man9/scsipi.9

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/man9/bus_dma.9
diff -u src/share/man/man9/bus_dma.9:1.60 src/share/man/man9/bus_dma.9:1.61
--- src/share/man/man9/bus_dma.9:1.60	Wed Jun  1 01:55:18 2016
+++ src/share/man/man9/bus_dma.9	Wed Jun  1 08:17:47 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: bus_dma.9,v 1.60 2016/06/01 01:55:18 pgoyette Exp $
+.\" $NetBSD: bus_dma.9,v 1.61 2016/06/01 08:17:47 wiz Exp $
 .\"
 .\" Copyright (c) 1996, 1997, 1998, 2001, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -839,6 +839,7 @@ The
 interface appeared in
 .Nx 1.3 .
 .Sh AUTHORS
+.An -nosplit
 The
 .Nm
 interface was designed and implemented by

Index: src/share/man/man9/pfil.9
diff -u src/share/man/man9/pfil.9:1.34 src/share/man/man9/pfil.9:1.35
--- src/share/man/man9/pfil.9:1.34	Wed Jun  1 02:00:10 2016
+++ src/share/man/man9/pfil.9	Wed Jun  1 08:17:47 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pfil.9,v 1.34 2016/06/01 02:00:10 pgoyette Exp $
+.\"	$NetBSD: pfil.9,v 1.35 2016/06/01 08:17:47 wiz Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -172,6 +172,7 @@ In 1.5K, the
 framework was changed to work with an arbitrary number of filtering points,
 as well as be less IP-centric.
 .Sh AUTHORS
+.An -nosplit
 The
 .Nm
 interface was designed and implemented by

Index: src/share/man/man9/pmc.9
diff -u src/share/man/man9/pmc.9:1.13 src/share/man/man9/pmc.9:1.14
--- src/share/man/man9/pmc.9:1.13	Wed Jun  1 02:02:11 2016
+++ src/share/man/man9/pmc.9	Wed Jun  1 08:17:47 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: pmc.9,v 1.13 2016/06/01 02:02:11 pgoyette Exp $
+.\" $NetBSD: pmc.9,v 1.14 2016/06/01 08:17:47 wiz Exp $
 .\"
 .\" Copyright (c) 2002, 2005 Wasabi Systems, Inc.
 .\" All rights reserved.
@@ -251,6 +251,7 @@ The
 interface appeared in
 .Nx 2.0 .
 .Sh AUTHORS
+.An -nosplit
 The
 .Nm
 interface was designed and implemented by

Index: src/share/man/man9/rt_timer.9
diff -u src/share/man/man9/rt_timer.9:1.14 src/share/man/man9/rt_timer.9:1.15
--- src/share/man/man9/rt_timer.9:1.14	Wed Jun  1 02:05:10 2016
+++ src/share/man/man9/rt_timer.9	Wed Jun  1 08:17:47 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: rt_timer.9,v 1.14 2016/06/01 02:05:10 pgoyette Exp $
+.\"	$NetBSD: rt_timer.9,v 1.15 2016/06/01 08:17:47 wiz Exp $
 .\"
 .\" Copyright (c) 1998 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -127,6 +127,7 @@ The
 interface appeared in
 .Nx 1.4 .
 .Sh AUTHORS
+.An -nosplit
 This interface is roughly based on (but, alas, not compatible with) one
 designed by David Borman of BSDI.
 This implementation is by

Index: src/share/man/man9/scsipi.9
diff -u src/share/man/man9/scsipi.9:1.26 src/share/man/man9/scsipi.9:1.27
--- src/share/man/man9/scsipi.9:1.26	Wed Jun  1 02:05:10 2016
+++ src/share/man/man9/scsipi.9	Wed Jun  1 08:17:47 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: scsipi.9,v 1.26 2016/06/01 02:05:10 pgoyette Exp $
+.\"	$NetBSD: scsipi.9,v 1.27 2016/06/01 08:17:47 wiz Exp $
 .\"
 .\"
 .\" Copyright (c) 2001 Manuel Bouyer.
@@ -594,6 +594,7 @@ The
 interface appeared in
 .Nx 1.6 .
 .Sh AUTHORS
+.An -nosplit
 The
 .Nm
 interface was designed and implemented by



CVS commit: src/distrib/sets/lists/base

2016-06-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 08:17:40 UTC 2016

Modified Files:
src/distrib/sets/lists/base: mi

Log Message:
Add new Europe/Kirov zonefile for 2016d


To generate a diff of this commit:
cvs rdiff -u -r1.1124 -r1.1125 src/distrib/sets/lists/base/mi

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/base/mi
diff -u src/distrib/sets/lists/base/mi:1.1124 src/distrib/sets/lists/base/mi:1.1125
--- src/distrib/sets/lists/base/mi:1.1124	Wed Apr 27 19:52:14 2016
+++ src/distrib/sets/lists/base/mi	Wed Jun  1 08:17:39 2016
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1124 2016/04/27 19:52:14 christos Exp $
+# $NetBSD: mi,v 1.1125 2016/06/01 08:17:39 pgoyette Exp $
 #
 # Note:	Don't delete entries from here - mark them as "obsolete" instead,
 #	unless otherwise stated below.
@@ -5652,6 +5652,7 @@
 ./usr/share/zoneinfo/Europe/Jersey		base-sys-share		share
 ./usr/share/zoneinfo/Europe/Kaliningrad		base-sys-share		share
 ./usr/share/zoneinfo/Europe/Kiev		base-sys-share		share
+./usr/share/zoneinfo/Europe/Kirov		base-sys-share		share
 ./usr/share/zoneinfo/Europe/Kuybyshev		base-obsolete		obsolete
 ./usr/share/zoneinfo/Europe/Lisbon		base-sys-share		share
 ./usr/share/zoneinfo/Europe/Ljubljana		base-sys-share		share



CVS commit: src/share/man/man4

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 08:15:07 UTC 2016

Modified Files:
src/share/man/man4: ss.4

Log Message:
Use .An -nosplit.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/ss.4

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/ss.4
diff -u src/share/man/man4/ss.4:1.5 src/share/man/man4/ss.4:1.6
--- src/share/man/man4/ss.4:1.5	Wed Jun  1 01:46:51 2016
+++ src/share/man/man4/ss.4	Wed Jun  1 08:15:07 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ss.4,v 1.5 2016/06/01 01:46:51 pgoyette Exp $
+.\"	$NetBSD: ss.4,v 1.6 2016/06/01 08:15:07 wiz Exp $
 .\"
 .Dd June 1, 2016
 .Dt SS 4
@@ -37,6 +37,7 @@ operations only.
 .Xr scsi 4 ,
 .Xr uk 4
 .Sh AUTHORS
+.An -nosplit
 .An Kenneth Stailey ,
 .An Joachim Koenig
 .Sh BUGS



CVS commit: src/share/man/man4

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 08:14:16 UTC 2016

Modified Files:
src/share/man/man4: sony.4

Log Message:
Use .An -nosplit.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/sony.4

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/sony.4
diff -u src/share/man/man4/sony.4:1.3 src/share/man/man4/sony.4:1.4
--- src/share/man/man4/sony.4:1.3	Wed Jun  1 01:44:22 2016
+++ src/share/man/man4/sony.4	Wed Jun  1 08:14:16 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: sony.4,v 1.3 2016/06/01 01:44:22 pgoyette Exp $
+.\" $NetBSD: sony.4,v 1.4 2016/06/01 08:14:16 wiz Exp $
 .\"
 .\" Copyright (c) 2005 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -109,6 +109,7 @@ driver
 appeared in
 .Nx 4.0 .
 .Sh AUTHORS
+.An -nosplit
 .An Sami Kantoluoto
 for the original driver and manual information.
 .An Christos Zoulas



CVS commit: src/share/man/man4

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 08:14:42 UTC 2016

Modified Files:
src/share/man/man4: mc.4

Log Message:
Use .An -nosplit.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/mc.4

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/mc.4
diff -u src/share/man/man4/mc.4:1.4 src/share/man/man4/mc.4:1.5
--- src/share/man/man4/mc.4:1.4	Wed Jun  1 08:13:23 2016
+++ src/share/man/man4/mc.4	Wed Jun  1 08:14:42 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: mc.4,v 1.4 2016/06/01 08:13:23 wiz Exp $
+.\"	$NetBSD: mc.4,v 1.5 2016/06/01 08:14:42 wiz Exp $
 .\"
 .\" Copyright (c) 1997 David Huang 
 .\" All rights reserved.
@@ -79,6 +79,7 @@ The
 interface first appeared in
 .Nx 1.3 .
 .Sh AUTHORS
+.An -nosplit
 The
 .Nm
 Ethernet driver was written by



CVS commit: src/share/man/man4

2016-06-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  1 08:13:23 UTC 2016

Modified Files:
src/share/man/man4: mc.4

Log Message:
Sort SEE ALSO, use Mt for email addresses.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/mc.4

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/mc.4
diff -u src/share/man/man4/mc.4:1.3 src/share/man/man4/mc.4:1.4
--- src/share/man/man4/mc.4:1.3	Wed Jun  1 01:39:52 2016
+++ src/share/man/man4/mc.4	Wed Jun  1 08:13:23 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: mc.4,v 1.3 2016/06/01 01:39:52 pgoyette Exp $
+.\"	$NetBSD: mc.4,v 1.4 2016/06/01 08:13:23 wiz Exp $
 .\"
 .\" Copyright (c) 1997 David Huang 
 .\" All rights reserved.
@@ -67,9 +67,9 @@ This is a normal autoconfiguration messa
 Ethernet address of the adapter.
 .El
 .Sh SEE ALSO
-.Xr \/ae 4 ,
-.Xr \/bm 4 ,
 .Xr gem 4 ,
+.Xr mac68k/ae 4 ,
+.Xr mac68k/bm 4 ,
 .Xr sn 4 ,
 .Xr tlp 4 ,
 .Xr ifconfig 8
@@ -83,10 +83,10 @@ The
 .Nm
 Ethernet driver was written by
 .An Dave Huang
-.Aq k...@bga.com .
+.Aq Mt k...@bga.com .
 The man page was written by
 .An Thomas Klausner
-.Aq w...@netbsd.org
+.Aq Mt w...@netbsd.org
 and
 .An Michael Wolfson
-.Aq m...@netbsd.org .
+.Aq Mt m...@netbsd.org .



CVS commit: othersrc/external/bsd/human2atf

2016-06-01 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Wed Jun  1 06:56:35 UTC 2016

Modified Files:
othersrc/external/bsd/human2atf: README

Log Message:
Fix a tyop, pointed out by leot@. Thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 othersrc/external/bsd/human2atf/README

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

Modified files:

Index: othersrc/external/bsd/human2atf/README
diff -u othersrc/external/bsd/human2atf/README:1.1 othersrc/external/bsd/human2atf/README:1.2
--- othersrc/external/bsd/human2atf/README:1.1	Sun May 29 20:47:56 2016
+++ othersrc/external/bsd/human2atf/README	Wed Jun  1 06:56:35 2016
@@ -1,5 +1,5 @@
 human2atf is a frontend for the ATF test harness. The idea is to provide
-an easy/simple way to sepcify tests, and to provide the correct
+an easy/simple way to specify tests, and to provide the correct
 environment for running these test cases.
 
 In order to accomplish this, a specfile, (by default Testspec) is



CVS commit: src/tests/usr.bin/netpgpverify

2016-06-01 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Wed Jun  1 06:39:11 UTC 2016

Modified Files:
src/tests/usr.bin/netpgpverify: t_netpgpverify.sh
Added Files:
src/tests/usr.bin/netpgpverify: Testspec

Log Message:
Use human2atf to generate a t_netpgpverify.sh script which is half the
size of the previous one (using on-the-fly gzip compression), and includes
more cases (including a gpg-signed file for cross-testing purposes).

Add the appropriate Testspec file.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/netpgpverify/Testspec
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/netpgpverify/t_netpgpverify.sh

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

diffs are larger than 1MB and have been omitted