CVS commit: src/share/man/man9

2016-09-15 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Sep 15 09:41:33 UTC 2016

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

Log Message:
fix typo in function names


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man9/pci_msi.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/pci_msi.9
diff -u src/share/man/man9/pci_msi.9:1.11 src/share/man/man9/pci_msi.9:1.12
--- src/share/man/man9/pci_msi.9:1.11	Mon Aug 29 02:48:56 2016
+++ src/share/man/man9/pci_msi.9	Thu Sep 15 09:41:33 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci_msi.9,v 1.11 2016/08/29 02:48:56 knakahara Exp $
+.\" $NetBSD: pci_msi.9,v 1.12 2016/09/15 09:41:33 jdolecek Exp $
 .\"
 .\" Copyright (c) 2015 Internet Initiative Japan Inc.
 .\" All rights reserved.
@@ -50,7 +50,7 @@
 .Fn pci_msi_alloc  "const struct pci_attach_args *pa" \
 "pci_intr_handle_t **ihps" "int *count"
 .Ft int
-.Fn pci_msi_alloc_exect "const struct pci_attach_args *pa" \
+.Fn pci_msi_alloc_exact "const struct pci_attach_args *pa" \
 "pci_intr_handle_t **ihps" "int count"
 .Ft int
 .Fn pci_msix_count "pci_chipset_tag_t pc" \
@@ -59,7 +59,7 @@
 .Fn pci_msix_alloc  "const struct pci_attach_args *pa" \
 "pci_intr_handle_t **ihps" "int *count"
 .Ft int
-.Fn pci_msix_alloc_exect "const struct pci_attach_args *pa" \
+.Fn pci_msix_alloc_exact "const struct pci_attach_args *pa" \
 "pci_intr_handle_t **ihps" "int count"
 .Ft int
 .Fn pci_msix_alloc_map "const struct pci_attach_args *pa" \



CVS commit: src/share/man/man4/man4.macppc

2016-09-15 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Sep 15 09:11:47 UTC 2016

Modified Files:
src/share/man/man4/man4.macppc: platinumfb.4

Log Message:
Use An in AUTHORS section.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/man4.macppc/platinumfb.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/man4.macppc/platinumfb.4
diff -u src/share/man/man4/man4.macppc/platinumfb.4:1.1 src/share/man/man4/man4.macppc/platinumfb.4:1.2
--- src/share/man/man4/man4.macppc/platinumfb.4:1.1	Wed Sep 14 20:04:22 2016
+++ src/share/man/man4/man4.macppc/platinumfb.4	Thu Sep 15 09:11:47 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: platinumfb.4,v 1.1 2016/09/14 20:04:22 scole Exp $
+.\" $NetBSD: platinumfb.4,v 1.2 2016/09/15 09:11:47 wiz Exp $
 .\"
 .\" Copyright (c) 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -53,7 +53,8 @@ device driver appeared in
 .Sh AUTHORS
 The
 .Nm
-driver was written by Sean Cole.
+driver was written by
+.An Sean Cole .
 .Sh BUGS
 Early PowerMacs with the
 .Nm



CVS commit: src/share/man/man4/man4.macppc

2016-09-14 Thread Sean Cole
Module Name:src
Committed By:   scole
Date:   Wed Sep 14 20:04:22 UTC 2016

Modified Files:
src/share/man/man4/man4.macppc: Makefile
Added Files:
src/share/man/man4/man4.macppc: platinumfb.4

Log Message:
Add platinumfb man page


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/man4.macppc/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/man4.macppc/platinumfb.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/man4.macppc/Makefile
diff -u src/share/man/man4/man4.macppc/Makefile:1.9 src/share/man/man4/man4.macppc/Makefile:1.10
--- src/share/man/man4/man4.macppc/Makefile:1.9	Tue Dec 12 19:25:54 2006
+++ src/share/man/man4/man4.macppc/Makefile	Wed Sep 14 20:04:22 2016
@@ -1,7 +1,7 @@
-#	$NetBSD: Makefile,v 1.9 2006/12/12 19:25:54 wiz Exp $
+#	$NetBSD: Makefile,v 1.10 2016/09/14 20:04:22 scole Exp $
 
 MAN=		autoconf.4 awacs.4 bm.4 gm.4 intro.4 \
-		mesh.4 obio.4 pbms.4 snapper.4
+		mesh.4 obio.4 pbms.4 platinumfb.4 snapper.4
 
 MANSUBDIR=	/macppc
 

Added files:

Index: src/share/man/man4/man4.macppc/platinumfb.4
diff -u /dev/null src/share/man/man4/man4.macppc/platinumfb.4:1.1
--- /dev/null	Wed Sep 14 20:04:22 2016
+++ src/share/man/man4/man4.macppc/platinumfb.4	Wed Sep 14 20:04:22 2016
@@ -0,0 +1,63 @@
+.\" $NetBSD: platinumfb.4,v 1.1 2016/09/14 20:04:22 scole Exp $
+.\"
+.\" Copyright (c) 2016 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"notice, this list of conditions and the following disclaimer in the
+.\"documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd September 14, 2016
+.Dt PLATINUMFB 4 macppc
+.Os
+.Sh NAME
+.Nm platinumfb
+.Nd Apple Platinum framebuffer driver
+.Sh SYNOPSIS
+.Cd "platinumfb0 at mainbus?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for Apple Platinum graphics devices found in a
+couple early model PowerMacs such as the 7200.
+.Pp
+This driver should support console output (with rastor ops) and X
+(in unaccelerated modes).
+.Pp
+It may be required to set the output-device to 'screen' in Open Firmware.
+.Sh SEE ALSO
+.Xr rasops 4 ,
+.Xr wsdisplay 4
+.Sh HISTORY
+The
+.Nm
+device driver appeared in
+.Nx 7.0 .
+.Sh AUTHORS
+The
+.Nm
+driver was written by Sean Cole.
+.Sh BUGS
+Early PowerMacs with the
+.Nm
+device may not work through Open Firmware.
+.Pp
+.Xr X 7
+is pretty slow.



CVS commit: src/share/man/man3

2016-08-29 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 30 05:12:00 UTC 2016

Modified Files:
src/share/man/man3: rbtree.3

Log Message:
Use only "function" for the comparison functions, not both that and
"operator". Noted by riastradh.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man3/rbtree.3

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/man3/rbtree.3
diff -u src/share/man/man3/rbtree.3:1.11 src/share/man/man3/rbtree.3:1.12
--- src/share/man/man3/rbtree.3:1.11	Mon Aug 29 03:50:05 2016
+++ src/share/man/man3/rbtree.3	Tue Aug 30 05:12:00 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: rbtree.3,v 1.11 2016/08/29 03:50:05 dholland Exp $
+.\" $NetBSD: rbtree.3,v 1.12 2016/08/30 05:12:00 dholland Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -81,7 +81,7 @@ The maximum height of a red-black tree i
 A red-black tree.
 .It Vt typedef signed int \
 (* rbto_compare_nodes_fn)(void *context, const void *node1, const void *node2);
-The node-comparison operator.
+The node-comparison function.
 Defines an ordering on nodes.
 Returns a negative value if the first node
 .Ar node1
@@ -98,7 +98,7 @@ and the second node
 are identical according to the ordering.
 .It Vt typedef signed int \
 (* rbto_compare_key_fn)(void *context, const void *node, const void *key);
-The node-key comparison operator.
+The node-key comparison function.
 Defines the order of nodes and keys.
 Returns a negative value if the node
 .Ar node
@@ -114,8 +114,8 @@ is identical to the key
 .Ar key
 according to the ordering.
 .It Vt rb_tree_ops_t
-Defines the operator for comparing two nodes in the same tree,
-the operator for comparing a node in the tree with a key,
+Defines the function for comparing two nodes in the same tree,
+the function for comparing a node in the tree with a key,
 the offset of member
 .Vt rb_node_t
 within the node type,
@@ -146,7 +146,7 @@ member.)
 .It Fn rb_tree_init "rbt" "ops"
 Initialize the red-black tree
 .Fa rbt .
-Let the comparison operators given by
+Let the comparison functions given by
 .Fa ops
 define the order of nodes in the tree for
 the purposes of insertion, search, and iteration.



CVS commit: src/share/man/man3

2016-08-28 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Aug 29 03:50:05 UTC 2016

Modified Files:
src/share/man/man3: rbtree.3

Log Message:
Clarify the usage, so hopefully nobody else makes the set of wrong
assumptions I just did.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man3/rbtree.3

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/man3/rbtree.3
diff -u src/share/man/man3/rbtree.3:1.10 src/share/man/man3/rbtree.3:1.11
--- src/share/man/man3/rbtree.3:1.10	Tue Mar 18 18:20:39 2014
+++ src/share/man/man3/rbtree.3	Mon Aug 29 03:50:05 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: rbtree.3,v 1.10 2014/03/18 18:20:39 riastradh Exp $
+.\" $NetBSD: rbtree.3,v 1.11 2016/08/29 03:50:05 dholland Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 13, 2013
+.Dd August 29, 2016
 .Dt RBTREE 3
 .Os
 .Sh NAME
@@ -118,8 +118,8 @@ Defines the operator for comparing two n
 the operator for comparing a node in the tree with a key,
 the offset of member
 .Vt rb_node_t
-within a node,
-and the opaque context passed to the operators.
+within the node type,
+and the opaque context pointer passed to the comparison functions.
 Members of
 .Vt rb_tree_ops_t
 are
@@ -131,6 +131,15 @@ are
 .Ed
 .It Vt rb_node_t
 A node in a red-black tree has this structure as a member.
+The offset of the
+.Vt rb_node_t
+member in the caller's node structure should be provided as
+.Va rbto_node_offset .
+(None of the functions in the
+.Nm
+interface are meant to take pointers directly to the
+.Vt rb_node_t
+member.)
 .El
 .Sh FUNCTIONS
 .Bl -tag -width compact



CVS commit: src/share/man/man9

2016-08-28 Thread Kengo NAKAHARA
Module Name:src
Committed By:   knakahara
Date:   Mon Aug 29 02:48:56 UTC 2016

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

Log Message:
specify when pci_intr_release(9) is called as "pih" is NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man9/pci_msi.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/pci_msi.9
diff -u src/share/man/man9/pci_msi.9:1.10 src/share/man/man9/pci_msi.9:1.11
--- src/share/man/man9/pci_msi.9:1.10	Tue Jul 12 03:39:55 2016
+++ src/share/man/man9/pci_msi.9	Mon Aug 29 02:48:56 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci_msi.9,v 1.10 2016/07/12 03:39:55 knakahara Exp $
+.\" $NetBSD: pci_msi.9,v 1.11 2016/08/29 02:48:56 knakahara Exp $
 .\"
 .\" Copyright (c) 2015 Internet Initiative Japan Inc.
 .\" All rights reserved.
@@ -159,6 +159,11 @@ when the driver is no longer interested 
 After that, the driver should also call
 .Fn pci_intr_release
 to free resources about MSI as well as INTx and MSI-X.
+If
+.Fa pih
+is NULL,
+.Fn pci_intr_release
+does nothing.
 .Pp
 If a driver wishes to establish an MSI-X handler for the device,
 it is almost the same as MSI.



CVS commit: src/share/man/man4

2016-08-27 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Aug 28 05:14:36 UTC 2016

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

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/uyap.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/uyap.4
diff -u src/share/man/man4/uyap.4:1.4 src/share/man/man4/uyap.4:1.5
--- src/share/man/man4/uyap.4:1.4	Sat Aug 27 23:58:27 2016
+++ src/share/man/man4/uyap.4	Sun Aug 28 05:14:35 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: uyap.4,v 1.4 2016/08/27 23:58:27 dholland Exp $
+.\" $NetBSD: uyap.4,v 1.5 2016/08/28 05:14:35 wiz Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -38,7 +38,8 @@
 .Sh DESCRIPTION
 The
 .Nm
-driver downloads firmware into a YAP phone.  The device will then
+driver downloads firmware into a YAP phone.
+The device will then
 disconnect and reappear as a composite device with two audio pipes
 (handled by
 .Xr uaudio 4 )



CVS commit: src/share/man/man4/man4.amiga

2016-08-27 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Aug 28 00:05:32 UTC 2016

Modified Files:
src/share/man/man4/man4.amiga: a1k2cp.4

Log Message:
Fix broken xrefs (they are now merely dangling)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/man4.amiga/a1k2cp.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/man4.amiga/a1k2cp.4
diff -u src/share/man/man4/man4.amiga/a1k2cp.4:1.4 src/share/man/man4/man4.amiga/a1k2cp.4:1.5
--- src/share/man/man4/man4.amiga/a1k2cp.4:1.4	Tue Mar 18 18:20:39 2014
+++ src/share/man/man4/man4.amiga/a1k2cp.4	Sun Aug 28 00:05:32 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: a1k2cp.4,v 1.4 2014/03/18 18:20:39 riastradh Exp $
+.\" $NetBSD: a1k2cp.4,v 1.5 2016/08/28 00:05:32 dholland Exp $
 .\"
 .\" Copyright (c) 2012 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -64,9 +64,9 @@ driver was written by
 .Sh CAVEATS
 Even if connected to clockport header, Real Time Clock modules are
 supported by the
-.Xr a2kbbc
+.Xr a2kbbc 4
 and
-.Xr a34kbbc
+.Xr a34kbbc 4
 drivers.
 .Pp
 Only one clockport is supported, even if clockport expander is present.



CVS commit: src/share/man/man4

2016-08-27 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Aug 27 23:59:56 UTC 2016

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

Log Message:
Fix broken .Xr


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/share/man/man4/wscons.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/wscons.4
diff -u src/share/man/man4/wscons.4:1.31 src/share/man/man4/wscons.4:1.32
--- src/share/man/man4/wscons.4:1.31	Tue Jun  5 08:49:16 2012
+++ src/share/man/man4/wscons.4	Sat Aug 27 23:59:56 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: wscons.4,v 1.31 2012/06/05 08:49:16 abs Exp $
+.\" $NetBSD: wscons.4,v 1.32 2016/08/27 23:59:56 dholland Exp $
 .\"
 .\" Copyright (c) 1999, 2004 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -67,7 +67,8 @@ is made of a number of cooperating modul
 .It
 hardware support for display adapters, keyboards and mice, see
 .Xr wsdisplay 4 ,
-.Xr wskbd 4 , and
+.Xr wskbd 4 ,
+and
 .Xr wsmouse 4
 .It
 input event multiplexor, see



CVS commit: src/share/man/man4

2016-08-27 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Aug 27 23:58:27 UTC 2016

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

Log Message:
Fix broken .Xr


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/uyap.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/uyap.4
diff -u src/share/man/man4/uyap.4:1.3 src/share/man/man4/uyap.4:1.4
--- src/share/man/man4/uyap.4:1.3	Wed Apr 30 13:10:55 2008
+++ src/share/man/man4/uyap.4	Sat Aug 27 23:58:27 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: uyap.4,v 1.3 2008/04/30 13:10:55 martin Exp $
+.\" $NetBSD: uyap.4,v 1.4 2016/08/27 23:58:27 dholland Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -41,8 +41,8 @@ The
 driver downloads firmware into a YAP phone.  The device will then
 disconnect and reappear as a composite device with two audio pipes
 (handled by
-.Xr uaudio 4 ) and
-a HID device (handled by
+.Xr uaudio 4 )
+and a HID device (handled by
 .Xr uhid 4 ) .
 .Sh SEE ALSO
 .Xr uaudio 4 ,



CVS commit: src/share/man/man7

2016-08-26 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Aug 27 03:57:21 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
Put some text in pursuant to the rest of PR 48471, about /stand.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.121 src/share/man/man7/hier.7:1.122
--- src/share/man/man7/hier.7:1.121	Tue Aug 16 07:52:05 2016
+++ src/share/man/man7/hier.7	Sat Aug 27 03:57:21 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.121 2016/08/16 07:52:05 wiz Exp $
+.\"	$NetBSD: hier.7,v 1.122 2016/08/27 03:57:21 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)hier.7	8.5 (Berkeley) 6/1/94
 .\"
-.Dd August 15, 2016
+.Dd August 26, 2016
 .Dt HIER 7
 .Os
 .Sh NAME
@@ -405,7 +405,10 @@ Super-user id mapping between machines.
 System programs and administration utilities
 used in both single-user and multi-user environments.
 .It Sy /stand/
-Programs used in a standalone environment.
+Programs used in a standalone environment, that is, things that run on
+bare hardware without a kernel.
+Currently kernel modules are also placed here, although this remains
+somewhat controversial and they may yet get moved.
 .It Sy /tmp/
 Temporary files.
 The contents of



CVS commit: src/share/man/man9

2016-08-20 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat Aug 20 12:41:31 UTC 2016

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

Log Message:
Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/share/man/man9/vnode.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/vnode.9
diff -u src/share/man/man9/vnode.9:1.71 src/share/man/man9/vnode.9:1.72
--- src/share/man/man9/vnode.9:1.71	Sat Aug 20 12:37:06 2016
+++ src/share/man/man9/vnode.9	Sat Aug 20 12:41:31 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: vnode.9,v 1.71 2016/08/20 12:37:06 hannken Exp $
+.\" $NetBSD: vnode.9,v 1.72 2016/08/20 12:41:31 wiz Exp $
 .\"
 .\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 12, 2015
+.Dd August 20, 2016
 .Dt VNODE 9
 .Os
 .Sh NAME



CVS commit: src/share/man/man4

2016-08-18 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Aug 18 19:22:45 UTC 2016

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

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/tcu.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/tcu.4
diff -u src/share/man/man4/tcu.4:1.1 src/share/man/man4/tcu.4:1.2
--- src/share/man/man4/tcu.4:1.1	Thu Aug 11 09:06:20 2016
+++ src/share/man/man4/tcu.4	Thu Aug 18 19:22:45 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: tcu.4,v 1.1 2016/08/11 09:06:20 christos Exp $
+.\" $NetBSD: tcu.4,v 1.2 2016/08/18 19:22:45 wiz Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -44,10 +44,11 @@
 The
 .Nm
 driver provides support for the flxd TC-USB TURBOchannel USB host options based
-upon a Cypress SL811HST USB 1.1 host controller and a glue logic CPLD. USB is
-handled by the
+upon a Cypress SL811HST USB 1.1 host controller and a glue logic CPLD.
+USB is handled by the
 .Xr slhci 4
-driver. Eight GPIO pins provided by the CPLD can be accessed through the
+driver.
+Eight GPIO pins provided by the CPLD can be accessed through the
 .Xr gpio 4
 driver.
 .Sh SEE ALSO



CVS commit: src/share/man/man7

2016-08-16 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Aug 16 07:52:05 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
File system police.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.120 src/share/man/man7/hier.7:1.121
--- src/share/man/man7/hier.7:1.120	Tue Aug 16 02:29:43 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 07:52:05 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.120 2016/08/16 02:29:43 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.121 2016/08/16 07:52:05 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -34,9 +34,9 @@
 .Os
 .Sh NAME
 .Nm hier
-.Nd layout of filesystems
+.Nd layout of file systems
 .Sh DESCRIPTION
-An outline of the filesystem hierarchy.
+An outline of the file system hierarchy.
 .Pp
 Naming is very important.
 The
@@ -56,9 +56,9 @@ System copyright notice, most often put 
 .Tn CD-ROM
 distributions.
 .It Sy "/[a-z]/"
-User filesystems.
+User file systems.
 .It Sy /altroot/
-Alternate root filesystem, in case of disaster.
+Alternate root file system, in case of disaster.
 .\" .It Sy /amd/
 .\" Home directories mount point; see
 .\" .Xr amd 8 .
@@ -166,7 +166,7 @@ Dungeon master configuration; see
 Dump history; see
 .Xr dump 8 .
 .It Sy exports
-Filesystem export information; see
+File system export information; see
 .Xr mountd 8 .
 .It Sy fstab
 File system mounting table; see
@@ -498,7 +498,7 @@ Boot blocks, etc.
 .It Sy obj/
 Architecture-specific target tree produced by building the
 .Pa /usr/src
-tree; often a symbolic link or mounted filesystem.
+tree; often a symbolic link or mounted file system.
 .It Sy pkg/
 Installed third-party software packages.
 .Pp
@@ -947,23 +947,23 @@ and
 AmigaDOS file-system support; see
 .Xr mount_ados 8 .
 .It Sy cd9660/
-Support for the ISO-9660 filesystem; see
+Support for the ISO-9660 file system; see
 .Xr mount_cd9660 8 .
 .It Sy filecorefs/
-Support for the Acorn RISC OS filecore filesystem; see
+Support for the Acorn RISC OS filecore file system; see
 .Xr mount_filecore 8 .
 .It Sy msdosfs/
 .Tn MS-DOS
 file system; see
 .Xr mount_msdos 8 .
 .It Sy ntfs/
-NTFS filesystem support; see
+NTFS file system support; see
 .Xr mount_ntfs 8 .
 .It Sy ptyfs/
-Pseudo-terminal device filesystem; see
+Pseudo-terminal device file system; see
 .Xr mount_ptyfs 8 .
 .It Sy smbfs/
-SMB/CIFS filesystem support; see
+SMB/CIFS file system support; see
 .Xr mount_smbfs 8 .
 .It Sy union/
 Union file system; see
@@ -1194,7 +1194,7 @@ Temporary home of files preserved after 
 or
 .Xr vi 1 .
 .It Sy quotas/
-Filesystem quota information.
+File system quota information.
 (Legacy.)
 .It Sy run/
 System information files, rebuilt after each reboot.



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 02:29:44 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
More stuff spotted by jnemeth: fix wording for /var/mail, and document
utmpx/wtmpx. While here also document dmesg.boot.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.119 src/share/man/man7/hier.7:1.120
--- src/share/man/man7/hier.7:1.119	Tue Aug 16 01:46:51 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 02:29:43 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.119 2016/08/16 01:46:51 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.120 2016/08/16 02:29:43 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -1177,10 +1177,13 @@ script.
 Login and logout log;
 see
 .Xr utmp 5 .
+.It Sy wtmpx
+Another login and logout log; see
+.Xr utmpx 5 .
 .El
 .Pp
 .It Sy mail/
-User system mailboxes.
+User e-mail inboxes.
 .It Sy msgs/
 System messages; see
 .Xr msgs 1 .
@@ -1197,9 +1200,16 @@ Filesystem quota information.
 System information files, rebuilt after each reboot.
 .Pp
 .Bl -tag -width "utmp" -compact
+.It Sy dmesg.boot
+A dump from
+.Xr dmesg 8
+taken at boot time.
 .It Sy utmp
 Database of currently logged in users; see
 .Xr utmp 5 .
+.It Sy utmpx
+Another database of currently logged in users; see
+.Xr utmpx 5 .
 .El
 .Pp
 .It Sy rwho/



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 01:46:51 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
Document /etc/login.conf, /etc/profile, /etc/ttyaction.


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.118 src/share/man/man7/hier.7:1.119
--- src/share/man/man7/hier.7:1.118	Tue Aug 16 01:41:18 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 01:46:51 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.118 2016/08/16 01:41:18 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.119 2016/08/16 01:46:51 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -209,6 +209,9 @@ see
 Local time zone;
 see
 .Xr ctime 3 .
+.It Sy login.conf
+Configuration of user classes and limits; see
+.Xr login.conf 5 .
 .It Sy mail/
 Configuration files for
 .Xr sendmail 1 .
@@ -272,6 +275,9 @@ Printer configuration for
 .Xr lpr 1 ;
 see
 .Xr printcap 5 .
+.It Sy profile
+System-wide scripts for
+.Xr sh 1 .
 .It Sy protocols
 Protocol name database; see
 .Xr protocols 5 .
@@ -326,6 +332,11 @@ Database form of master.passwd file; see
 .Xr syslogd 8
 Configuration file; see
 .Xr syslog.conf 5 .
+.It Sy ttyaction
+Login hooks for specific ttys, typically used to chown console
+devices.
+See
+.Xr ttyaction 5 .
 .It Sy ttys
 Terminal initialization information; see
 .Xr ttys 5 .



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 01:41:18 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
More important fix: there is an /etc/skel but no /usr/share/skel.


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.117 src/share/man/man7/hier.7:1.118
--- src/share/man/man7/hier.7:1.117	Tue Aug 16 01:39:40 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 01:41:18 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.117 2016/08/16 01:39:40 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.118 2016/08/16 01:41:18 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -313,6 +313,8 @@ Service name data base; see
 .It Sy shells
 List of permitted shells; see
 .Xr shells 5 .
+.It Sy skel/
+Sample initialization files for new user accounts.
 .It Sy sliphome/
 .Tn SLIP
 login/logout scripts; see
@@ -591,8 +593,6 @@ roff macro package.
 .It Sy nls/
 Message catalogs; see
 .Xr catgets 3 .
-.It Sy skel/
-Sample initialization files for new user accounts.
 .It Sy tmac/
 Text processing macros;
 see



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 01:39:40 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
More improvements from jnemeth


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.116 src/share/man/man7/hier.7:1.117
--- src/share/man/man7/hier.7:1.116	Tue Aug 16 00:47:19 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 01:39:40 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.116 2016/08/16 00:47:19 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.117 2016/08/16 01:39:40 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -507,7 +507,7 @@ Package system utilities.
 .It Sy pkgsrc/
 Build descriptions (packaging) for the
 .Nx
-packages system.
+package system.
 .Pp
 .Bl -tag -width "distfilesX" -compact
 .It Sy distfiles/
@@ -539,7 +539,7 @@ and
 .It Sy words
 Common words.
 .It Sy web2
-Words of Webster's 2nd International.
+Words from Webster's Second International Dictionary.
 .It Sy papers/
 Reference databases;
 see
@@ -606,7 +606,7 @@ see
 .El
 .It Sy tests/
 Test programs; see
-.Xr atf-run 1
+.Xr tests 7
 for information on how to run them.
 .El
 .Pp
@@ -828,7 +828,8 @@ Digital MIPS-based DECstations and DECsy
 .It Sy powerpc/
 PowerPC processor general support.
 .It Sy prep/
-PReP (PowerPC Reference Platform) and CHRP machines
+PReP (PowerPC Reference Platform) and CHRP (Common Hardware Reference
+Platform) machines.
 .It Sy sandpoint/
 Motorola Sandpoint reference platform.
 .It Sy sbmips/
@@ -913,7 +914,7 @@ Support for
 .Tn ULTRIX
 binaries.
 .It Sy vax1k/
-Support for older VAX binaries that started on a 1 KB boundary
+Support for older VAX binaries that started on a 1 KB boundary.
 .El
 .Pp
 .It Sy conf/
@@ -1035,7 +1036,7 @@ Still more file systems.
 .Bl -tag -width "ffs/" -compact
 .It Sy chfs/
 A FFS-based file system for use on raw flash.
-.It Sy chfs/
+.It Sy ext2fs/
 The Linux ext2 file system.
 .It Sy ffs/
 The Berkeley Fast File System.
@@ -1139,6 +1140,9 @@ Printer daemon error logs; see
 .Xr lpd 8 .
 .It Sy maillog.*
 .Xr sendmail 1
+and
+.Xr postfix 1
+(and other mail-related)
 log files.
 .It Sy messages.*
 General system information log.



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 00:47:19 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
Another typo.


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.115 src/share/man/man7/hier.7:1.116
--- src/share/man/man7/hier.7:1.115	Tue Aug 16 00:40:09 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 00:47:19 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.115 2016/08/16 00:40:09 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.116 2016/08/16 00:47:19 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -958,7 +958,7 @@ Union file system; see
 .Xr mount_union 8 .
 .El
 .It Sy gdbscripts/
-Support for accessing kernel structures from within the debugger.
+Support for accessing kernel structures from within the debugger
 .Xr gdb 1 .
 .It Sy ipkdb/
 Support for kernel debugging over the network.



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 00:40:09 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
another typo; spotted by jnemeth


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.114 src/share/man/man7/hier.7:1.115
--- src/share/man/man7/hier.7:1.114	Tue Aug 16 00:12:34 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 00:40:09 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.114 2016/08/16 00:12:34 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.115 2016/08/16 00:40:09 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -429,8 +429,8 @@ Standard C (and extension) include files
 .It Sy arpa/
 Include files for Internet service protocols.
 .It Sy atf/
-Include files for the Automated Testing Framework; see.
-.Xr atf 7
+Include files for the Automated Testing Framework; see
+.Xr atf 7 .
 .It Sy g++/
 Include files for the GNU C++ compiler.
 .It Sy machine/



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 00:12:34 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
typo in previous.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.113 src/share/man/man7/hier.7:1.114
--- src/share/man/man7/hier.7:1.113	Tue Aug 16 00:08:17 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 00:12:34 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.113 2016/08/16 00:08:17 dholland Exp $
+.\"	$NetBSD: hier.7,v 1.114 2016/08/16 00:12:34 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -383,7 +383,7 @@ super-user start-up file for
 .Xr csh 1 .
 .It Sy \&.profile
 super-user start-up file for
-.Xr sh 1.
+.Xr sh 1 .
 .It Sy \&.rhosts
 Super-user id mapping between machines.
 (Obsolete.)



CVS commit: src/share/man/man7

2016-08-15 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue Aug 16 00:08:17 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
Harmfully sentence fragments. Use sentences instead.

I've also made some additional minor edits, and added missing
/usr/src/sys/ufs/{chfs,ext2fs}.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.112 src/share/man/man7/hier.7:1.113
--- src/share/man/man7/hier.7:1.112	Mon Aug 15 21:42:05 2016
+++ src/share/man/man7/hier.7	Tue Aug 16 00:08:17 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.112 2016/08/15 21:42:05 maya Exp $
+.\"	$NetBSD: hier.7,v 1.113 2016/08/16 00:08:17 dholland Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -50,596 +50,601 @@ Not all files will be in every system.
 .Pp
 .Bl -tag -width "/altroot/"
 .It Sy \&/
-root directory of the system
+Root directory of the system.
 .It Sy /COPYRIGHT
-system copyright notice, most often put on
+System copyright notice, most often put on
 .Tn CD-ROM
 distributions.
 .It Sy "/[a-z]/"
-user filesystems
+User filesystems.
 .It Sy /altroot/
-alternate root filesystem, in case of disaster
+Alternate root filesystem, in case of disaster.
 .\" .It Sy /amd/
-.\" home directories mount point; see
-.\" .Xr amd 8
+.\" Home directories mount point; see
+.\" .Xr amd 8 .
 .It Sy /bin/
-utilities used in both single and multi-user environments
+Utilities used in both single and multi-user environments.
 .It Sy /boot*
-second-stage boot loader(s) for some platforms; see
-.Xr installboot 8
+Second-stage boot loader(s) for some platforms; see
+.Xr installboot 8 .
 .It Sy /cdrom/
-empty directory commonly used by
-system administrators as a temporary mount point for CD devices
-for ISO-9660 file systems
+Empty directory commonly used by
+system administrators as a temporary mount point for ISO-9660 file
+systems on CD (or DVD) media.
 .It Sy /dev/
-block, character and other special device files
+Block, character, and other special device files.
 .Pp
 .Bl -tag -width "MAKEDEV" -compact
 .It Sy MAKEDEV
-script for creating device files;
+Script for creating device files;
 see
-.Xr makedev 8
+.Xr makedev 8 .
 .It Sy console
-the computer's console device
+The computer's console device.
 .It Sy drum
-system swap space; see
-.Xr drum 4
+The computer's swap space device; see
+.Xr drum 4 .
 .It Sy fd/
-file descriptor files;
+File descriptor files;
 see
-.Xr fd 4
+.Xr fd 4 .
 .It Sy klog
-kernel logging device; see
-.Xr syslog 3
+Kernel logging device; see
+.Xr syslog 3 .
 .It Sy kmem
-kernel virtual memory device; see
-.Xr mem 4
+Kernel virtual memory device; see
+.Xr mem 4 .
 .It Sy log
 .Ux
 domain datagram log socket; see
-.Xr syslogd 8
+.Xr syslogd 8 .
 .It Sy mem
-kernel physical memory device; see
-.Xr mem 4
+Kernel physical memory device; see
+.Xr mem 4 .
 .It Sy null
-the null device; see
-.Xr null 4
+The null device; see
+.Xr null 4 .
 .It Sy pts/
-mount point for the pseudo-terminal device file system; see
-.Xr mount_ptyfs 8
+Mount point for the pseudo-terminal device file system; see
+.Xr mount_ptyfs 8 .
 .It Sy stderr
 .It Sy stdin
 .It Sy stdout
-file descriptor files;
+File descriptor files;
 see
-.Xr fd 4
+.Xr fd 4 .
 .It Sy tty
-process' controlling terminal device; see
-.Xr tty 4
+Device pointing to each process's own controlling terminal; see
+.Xr tty 4 .
 .It Sy zero
-the zero device; see
-.Xr zero 4
+The zero device; see
+.Xr zero 4 .
 .El
 .\" .It Sy /dump/
-.\" online
+.\" Online
 .\" .Xr dump 8
-.\" repository
+.\" repository.
 .It Sy /etc/
-system configuration files and scripts
+System configuration files and scripts.
 .Pp
 .Bl -tag -width "master.passwd" -compact
 .It Sy amd*
-configuration files for
-.Xr amd 8
+Configuration files for
+.Xr amd 8 .
 .It Sy changelist
-files backed up by the security script
+Files backed up by the
+.Sy security
+script.
 .It Sy crontab
-schedule used by the
+Schedule used by the
 .Xr cron 8
-daemon
+daemon.
 .It Sy csh.cshrc
 .It Sy csh.login
 .It Sy csh.logout
-system-wide scripts for
-.Xr csh 1
+System-wide scripts for
+.Xr csh 1 .
 .It Sy daily
-script run each day by
-.Xr cron 8
+Script run each day by
+.Xr cron 8 .
 .It Sy daily.conf
-configuration file for
+Configuration file for
 .Sy daily ;
 see
-.Xr daily.conf 5
+.Xr daily.conf 5 .
 .It Sy defaults/
-default configuration files read by various
+Default configuration files read by various
 .Pa /etc/*.conf
-files
+files.
 .It Sy disktab
-disk description file, see
-.Xr disktab 5
+Disk description file; see
+.Xr disktab 5 .
 .It Sy dm.conf
-dungeon master configuration; see
-.Xr dm.conf 5
+Dungeon master configuration; see
+.Xr dm.conf 5 .
 .It Sy dumpdates
-dump history; see
-.Xr dump 8
+Dump histo

CVS commit: src/share/man/man7

2016-08-15 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Mon Aug 15 21:42:05 UTC 2016

Modified Files:
src/share/man/man7: hier.7

Log Message:
We don't use mfs for /tmp by default, so the man page shouldn't
suggest this is the typical case.

Because there's so little content in this entry, eliminate the
parentheses around the explanation that /tmp is usually not preserved
across reboots.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/share/man/man7/hier.7

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/man7/hier.7
diff -u src/share/man/man7/hier.7:1.111 src/share/man/man7/hier.7:1.112
--- src/share/man/man7/hier.7:1.111	Fri Mar 11 15:18:01 2016
+++ src/share/man/man7/hier.7	Mon Aug 15 21:42:05 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hier.7,v 1.111 2016/03/11 15:18:01 wiz Exp $
+.\"	$NetBSD: hier.7,v 1.112 2016/08/15 21:42:05 maya Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)hier.7	8.5 (Berkeley) 6/1/94
 .\"
-.Dd March 11, 2016
+.Dd August 15, 2016
 .Dt HIER 7
 .Os
 .Sh NAME
@@ -388,13 +388,11 @@ used in both single-user and multi-user 
 .It Sy /stand/
 programs used in a standalone environment
 .It Sy /tmp/
-temporary files, usually a
-.Xr mfs 8
-memory-based filesystem (the contents of
+temporary files. the contents of
 .Pa /tmp
 are usually
 .Em not
-preserved across a system reboot)
+preserved across a system reboot
 .It Sy /usr/
 contains the majority of the system utilities and files
 .Pp



CVS commit: src/share/man/man4

2016-08-11 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Aug 11 09:06:20 UTC 2016

Modified Files:
src/share/man/man4: Makefile
Added Files:
src/share/man/man4: tcu.4

Log Message:
TURBOchannel usb/gpio driver from Felix Deichmann


To generate a diff of this commit:
cvs rdiff -u -r1.628 -r1.629 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/tcu.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/Makefile
diff -u src/share/man/man4/Makefile:1.628 src/share/man/man4/Makefile:1.629
--- src/share/man/man4/Makefile:1.628	Sun May  1 06:21:01 2016
+++ src/share/man/man4/Makefile	Thu Aug 11 05:06:20 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.628 2016/05/01 10:21:01 nonaka Exp $
+#	$NetBSD: Makefile,v 1.629 2016/08/11 09:06:20 christos Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/18/93
 
 MAN=	aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
@@ -61,7 +61,7 @@ MAN=	aac.4 ac97.4 acardide.4 aceride.4 a
 	sm.4 smsh.4 sn.4 sony.4 spc.4 speaker.4 spif.4 sqphy.4 ss.4 \
 	st.4 ste.4 stge.4 sti.4 stpcide.4 sv.4 strip.4 \
 	svwsata.4 swsensor.4 swwdog.4 sysmon.4 \
-	tap.4 tc.4 tcds.4 tcp.4 tdvfb.4 termios.4 tfb.4 thinkpad.4 \
+	tap.4 tc.4 tcds.4 tcp.4 tcu.4 tdvfb.4 termios.4 tfb.4 thinkpad.4 \
 	ti.4 tl.4 tlp.4 tlphy.4 tpm.4 tprof.4 tr.4 tra.4 \
 	trm.4 tty.4 tun.4 tqphy.4 twa.4 twe.4 txp.4 \
 	uark.4 ubsec.4 udp.4 uep.4 ug.4 uha.4 uk.4 ukphy.4 unix.4 userconf.4 \

Added files:

Index: src/share/man/man4/tcu.4
diff -u /dev/null src/share/man/man4/tcu.4:1.1
--- /dev/null	Thu Aug 11 05:06:20 2016
+++ src/share/man/man4/tcu.4	Thu Aug 11 05:06:20 2016
@@ -0,0 +1,57 @@
+.\" $NetBSD: tcu.4,v 1.1 2016/08/11 09:06:20 christos Exp $
+.\"
+.\" Copyright (c) 2001 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" This code is derived from software contributed to The NetBSD Foundation
+.\" by Gregory McGarry.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"notice, this list of conditions and the following disclaimer in the
+.\"documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.Dd August 9, 2016
+.Dt TCU 4
+.Os
+.Sh NAME
+.Nm tcu
+.Nd TURBOchannel USB host options
+.Sh SYNOPSIS
+.Cd "tcu*at tc? slot ? offset ?"
+.Pp
+.Cd "slhci*  at tcu?"
+.Cd "usb*at slhci?"
+.Pp
+.Cd "gpio*   at gpiobus?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the flxd TC-USB TURBOchannel USB host options based
+upon a Cypress SL811HST USB 1.1 host controller and a glue logic CPLD. USB is
+handled by the
+.Xr slhci 4
+driver. Eight GPIO pins provided by the CPLD can be accessed through the
+.Xr gpio 4
+driver.
+.Sh SEE ALSO
+.Xr gpio 4 ,
+.Xr slhci 4 ,
+.Xr tc 4 ,
+.Xr usb 4



CVS commit: src/share/man/man4

2016-08-08 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Aug  8 07:28:55 UTC 2016

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

Log Message:
More markup.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/share/man/man4/pppoe.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/pppoe.4
diff -u src/share/man/man4/pppoe.4:1.37 src/share/man/man4/pppoe.4:1.38
--- src/share/man/man4/pppoe.4:1.37	Sun Aug  7 01:59:43 2016
+++ src/share/man/man4/pppoe.4	Mon Aug  8 07:28:54 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pppoe.4,v 1.37 2016/08/07 01:59:43 pgoyette Exp $
+.\"	$NetBSD: pppoe.4,v 1.38 2016/08/08 07:28:54 wiz Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -265,7 +265,9 @@ To do this, add the following to your ke
 .Pp
 and set the value of
 .Xr sysctl 7
-variable net.pppoe.term_unknown to true.
+variable
+.Dv net.pppoe.term_unknown
+to true.
 .Pp
 Note that this will break all userland
 .Nm PPPoE



CVS commit: src/share/man/man9

2016-07-29 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Fri Jul 29 19:27:45 UTC 2016

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

Log Message:
scsipi(9): Removed duplicate "for"


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 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/scsipi.9
diff -u src/share/man/man9/scsipi.9:1.27 src/share/man/man9/scsipi.9:1.28
--- src/share/man/man9/scsipi.9:1.27	Wed Jun  1 08:17:47 2016
+++ src/share/man/man9/scsipi.9	Fri Jul 29 19:27:45 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: scsipi.9,v 1.27 2016/06/01 08:17:47 wiz Exp $
+.\"	$NetBSD: scsipi.9,v 1.28 2016/07/29 19:27:45 palle Exp $
 .\"
 .\"
 .\" Copyright (c) 2001 Manuel Bouyer.
@@ -339,7 +339,7 @@ This request is called from the kernel c
 .Fa arg
 must be ignored.
 .It Dv ADAPTER_REQ_SET_XFER_MODE
-set the xfer mode for a for I_T Nexus.
+set the xfer mode for a I_T Nexus.
 This will be called once all LUNs of a target have been probed.
 .Fa arg
 points to a



CVS commit: src/share/man/man4

2016-07-27 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jul 27 08:38:25 UTC 2016

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

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/spdmem.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/spdmem.4
diff -u src/share/man/man4/spdmem.4:1.7 src/share/man/man4/spdmem.4:1.8
--- src/share/man/man4/spdmem.4:1.7	Wed Jul 27 07:44:10 2016
+++ src/share/man/man4/spdmem.4	Wed Jul 27 08:38:25 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: spdmem.4,v 1.7 2016/07/27 07:44:10 msaitoh Exp $
+.\"	$NetBSD: spdmem.4,v 1.8 2016/07/27 08:38:25 wiz Exp $
 .\"
 .\"Copyright (c) 2007 Nicolas Joly
 .\"Copyright (c) 2007 Paul Goyette
@@ -60,7 +60,8 @@ device is created under the
 .Dv hw
 top-level MIB.
 .Pp
-Some SPD ROMs also have a temperature sensor. It's supported by
+Some SPD ROMs also have a temperature sensor.
+It's supported by
 .Xr sdtemp 4 .
 .Sh SEE ALSO
 .Xr iic 4 ,



CVS commit: src/share/man/man4

2016-07-27 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jul 27 07:44:10 UTC 2016

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

Log Message:
- Add 0x54-0x57.
- Add note about sdtemp(4).


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/spdmem.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/spdmem.4
diff -u src/share/man/man4/spdmem.4:1.6 src/share/man/man4/spdmem.4:1.7
--- src/share/man/man4/spdmem.4:1.6	Tue Mar 18 18:20:39 2014
+++ src/share/man/man4/spdmem.4	Wed Jul 27 07:44:10 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: spdmem.4,v 1.6 2014/03/18 18:20:39 riastradh Exp $
+.\"	$NetBSD: spdmem.4,v 1.7 2016/07/27 07:44:10 msaitoh Exp $
 .\"
 .\"Copyright (c) 2007 Nicolas Joly
 .\"Copyright (c) 2007 Paul Goyette
@@ -27,7 +27,7 @@
 .\"ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\"POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 10, 2007
+.Dd July 27, 2016
 .Dt SPDMEM 4
 .Os
 .Sh NAME
@@ -38,6 +38,10 @@
 .Cd "spdmem* at iic? addr 0x51"
 .Cd "spdmem* at iic? addr 0x52"
 .Cd "spdmem* at iic? addr 0x53"
+.Cd "spdmem* at iic? addr 0x54"
+.Cd "spdmem* at iic? addr 0x55"
+.Cd "spdmem* at iic? addr 0x56"
+.Cd "spdmem* at iic? addr 0x57"
 .Sh DESCRIPTION
 The
 .Nm
@@ -55,9 +59,13 @@ An entry for each
 device is created under the
 .Dv hw
 top-level MIB.
+.Pp
+Some SPD ROMs also have a temperature sensor. It's supported by
+.Xr sdtemp 4 .
 .Sh SEE ALSO
 .Xr iic 4 ,
-.Xr intro 4
+.Xr intro 4 ,
+.Xr sdtemp 4
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2016-07-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Jul 26 11:08:59 UTC 2016

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

Log Message:
Update supported masters and slaves.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/share/man/man4/iic.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/iic.4
diff -u src/share/man/man4/iic.4:1.12 src/share/man/man4/iic.4:1.13
--- src/share/man/man4/iic.4:1.12	Tue Mar 18 18:20:39 2014
+++ src/share/man/man4/iic.4	Tue Jul 26 11:08:59 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: iic.4,v 1.12 2014/03/18 18:20:39 riastradh Exp $
+.\"	$NetBSD: iic.4,v 1.13 2016/07/26 11:08:59 msaitoh Exp $
 .\"	$OpenBSD: iic.4,v 1.74 2008/09/10 16:13:43 reyk Exp $
 .\"
 .\" Copyright (c) 2004, 2006 Alexander Yurchenko 
@@ -16,7 +16,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd October 15, 2011
+.Dd July 26, 2016
 .Dt IIC 4
 .Os
 .Sh NAME
@@ -29,27 +29,54 @@
 .\" grep -h '^iic.*at' */conf/* | sort -u -k +3 | sed -e 's,[ ][  ]*, ,g' -e 's, *#.*,,' | sh -c 'while read iic at ic ; do printf ".Cd \"$iic $at %-20s # %s\"\n" "$ic" "`grep \"iic.*at.*$ic\" */conf/* | sed \"s,/.*,,\" | sort -u | tr \"\012\" \ `"  ; done' | uniq | tee /tmp/x
 .\" cat /tmp/x
 .\"
-.Cd "iic* at alipm?   # sparc64 "
 .Cd "iic* at acpismbus?   # amd64 i386"
+.Cd "iic* at alipm?   # alpha amd64 i386 sparc64 "
 .Cd "iic* at amdpm?   # amd64 i386 "
 .Cd "iic* at armadillo9iic?   # evbarm "
 .Cd "iic0 at at91twi? # evbarm "
 .Cd "iic0 at ausmbus0 # evbmips "
+.Cd "iic* at awiniic? # evbarm "
+.Cd "iic4 at awinp2wi0# evbarm "
+.Cd "iic* at bcmi2c?  # evbarm "
+.Cd "iic* at coram?   # amd64 i386 "
 .Cd "iic0 at cuda0# macppc "
+.Cd "iic* at cxdtv?   # amd64 i386 "
+.Cd "iic* at diic?# acorn32 evbppc "
+.Cd "iic* at exyoiic? # evbarm "
+.Cd "iic* at g2i2c?   # evbarm "
 .Cd "iic0 at gpiic?   # evbppc "
 .Cd "iic* at gpioiic? # amd64 i386 "
-.Cd "iic* at gtiic?   # evbppc "
+.Cd "iic* at gttwsi?  # evbarm evbppc "
 .Cd "iic* at gxiic?   # evbarm "
+.Cd "iic* at i2cbus?  # evbarm "
 .Cd "iic* at ichsmb?  # amd64 i386 "
+.Cd "iic* at imxi2c?  # evbarm "
 .Cd "iic0 at iociic0  # acorn26 "
 .Cd "iic0 at iomdiic? # acorn32 "
 .Cd "iic0 at iopiic?  # evbarm iyonix "
+.Cd "iic* at ismt?# amd64 i386 "
+.Cd "iic* at jziic?   # evbmips "
 .Cd "iic* at ki2c?# macppc "
+.Cd "iic* at nbpiic?  # hpcarm "
 .Cd "iic* at nfsmb?   # amd64 i386 "
 .Cd "iic* at ociic?   # sandpoint "
+.Cd "iic* at omapiic? # evbarm "
+.Cd "iic* at pcfiic?  # sparc64 "
 .Cd "iic* at piixpm?  # amd64 i386 "
+.Cd "iic* at ri2c?# evbmips "
+.Cd "iic0 at rkiic0   # evbarm "
+.Cd "iic1 at rkiic1   # evbarm "
+.Cd "iic2 at rkiic2   # evbarm "
+.Cd "iic3 at rkiic3   # evbarm "
+.Cd "iic4 at rkiic4   # evbarm "
+.Cd "iic* at rtciic?  # mmeye "
 .Cd "iic0 at slugiic0 # evbarm "
+.Cd "iic* at tegrai2c?# evbarm "
+.Cd "iic* at tiiic?   # evbarm "
+.Cd "iic* at tsciic?  # alpha "
 .Cd "iic* at viapcib? # i386 "
+.Cd "iic* at voyager0 # evbmips "
+.Cd "iic0 at ziic?# evbmips zaurus "
 .Sh DESCRIPTION
 .Tn I2C
 is a two-wire bus developed by Philips used for connecting
@@ -96,35 +123,59 @@ A wide list of I2C masters are supported
 .\" cat /tmp/x
 .\"
 .Bl -tag -width 18n -compact -offset indent
-.It Xr alipm 4
-Acer Labs M7101 SMBus controller
 .It Xr acpismbus 4
 ACPI SMBus Control Method Interface
+.It Xr alipm 4
+Acer Labs M7101 SMBus controller
 .It Xr amdpm 4
 AMD768 Power Management Controller and AMD8111 System Management Controller
 .It Xr armadillo9iic 4
 .It Xr at91twi 4
 .It Xr ausmbus 4
+.It Xr awiniic 4
+.It Xr awinp2wi 4
+.It Xr bcmi2c 4
+.It Xr coram 4
+digital video driver for Conexant CX23885 based cards
 .It Xr cuda 4
 support for CUDA microcontrollers found in many Power Macintosh and
-and compatible computers
+compatible computers
+.It Xr cxdtv 4
+digital video driver for Conexant CX2388x based cards
+.It Xr diic 4
+.It Xr exyoiic 4
+.It Xr g2i2c 4
 .It Xr gpiic 4
-.It Xr gtiic 4
+.It Xr gpioiic 4
+GPIO I2C controller
+.It Xr gttwsi 4
+.It Xr i2cbus 4
 .It Xr gxiic 4
 .It Xr ichsmb 4
-Intel ICH SMBus controller
+Intel Chipset internal SMBus controller
+.It Xr imxi2c 4
 .It Xr iociic 4
 .It Xr iomdiic 4
 .It

CVS commit: src/share/man/man4

2016-07-26 Thread Radoslaw Kujawa
Module Name:src
Committed By:   rkujawa
Date:   Tue Jul 26 08:05:51 UTC 2016

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

Log Message:
Note MCP9804 now also supported by sdtemp(4) - thx msaitoh.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/mcp980x.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/mcp980x.4
diff -u src/share/man/man4/mcp980x.4:1.5 src/share/man/man4/mcp980x.4:1.6
--- src/share/man/man4/mcp980x.4:1.5	Tue Oct 15 14:51:58 2013
+++ src/share/man/man4/mcp980x.4	Tue Jul 26 08:05:51 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: mcp980x.4,v 1.5 2013/10/15 14:51:58 rkujawa Exp $
+.\" $NetBSD: mcp980x.4,v 1.6 2016/07/26 08:05:51 rkujawa Exp $
 .\"
 .\" Copyright (c) 2013 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 15, 2013
+.Dd July 26, 2016
 .Dt MCP980X 4
 .Os
 .Sh NAME
@@ -71,7 +71,7 @@ The
 driver was written by
 .An Radoslaw Kujawa Aq Mt radoslaw.kuj...@gmail.com .
 .Sh CAVEATS
-MCP9805 chip is different and is supported by the
+MCP9804 and MCP9805 chip are different and is supported by the
 .Xr sdtemp 4
 driver.
 .Pp



CVS commit: src/share/man/man4

2016-07-26 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Jul 26 07:33:30 UTC 2016

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

Log Message:
- Add new devices.
- s/DDR2 and DDR3 SDRAM DIMMs/DDR2 and newer DIMMs/


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/sdtemp.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/sdtemp.4
diff -u src/share/man/man4/sdtemp.4:1.4 src/share/man/man4/sdtemp.4:1.5
--- src/share/man/man4/sdtemp.4:1.4	Tue Oct 11 17:53:27 2011
+++ src/share/man/man4/sdtemp.4	Tue Jul 26 07:33:30 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sdtemp.4,v 1.4 2011/10/11 17:53:27 njoly Exp $
+.\"	$NetBSD: sdtemp.4,v 1.5 2016/07/26 07:33:30 msaitoh Exp $
 .\"
 .\" Copyright (c) 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 8, 2011
+.Dd July 26, 2016
 .Dt SDTEMP 4
 .Os
 .Sh NAME
@@ -49,7 +49,7 @@ driver provides support for the
 .Tn Microchip Technology
 MCP9805/98242 and other chips that conform to JEDEC Standard 21-C section
 4.7.
-Memory module temperature sensors are optional on DDR2 and DDR3 SDRAM DIMMs.
+Memory module temperature sensors are optional on DDR2 and newer DIMMs.
 Sensors provided by this driver, including the on-chip thresholds for the
 Alarm Window and Critical level, are accessed through the
 .Xr envsys 4
@@ -65,28 +65,47 @@ driver include:
 .Pp
 .Bl -bullet -offset indent
 .It
-.Tn Catalyst
-.Em CAT34TS02
+.Tn Analog Devices
+.Em ADT7408
+.It
+.Tn Atmel
+.Em AT30TS00
+and
+.Em AT30TSE004
+.It
+.Tn On semiconductor (Catalyst)
+.Em CAT34TS02 ,
+.Em CAT34TS02C ,
+.Em CAT34TS04
 and
 .Em CAT6095
 .It
-.Tn Analog Devices
-.Em ADT7408
+.Tn Giantec Semiconductor
+.Em GT30TS00
+and
+.Em GT34TS02
 .It
 .Tn Integrated Deviced Technology
-.Em TSE2002B3
+.Em TSE2002B3 ,
+.Em TSE2002GB2 ,
+.Em TSE2004GB2 ,
+.Em TS3000B3 ,
+.Em TS3000GB0 ,
+.Em TS3000GB2
 and
-.Em TSE3000B3
+.Em TS30001GB2
 .It
 .Tn Maxim
 .Em MAX6604
 .It
 .Tn Microchip Technology
+.Em MCP9804 ,
 .Em MCP9805 ,
 .Em MCP9843 ,
 .Em MCP98242 ,
-and
 .Em MCP98243
+and
+.Em MCP98244
 .It
 .Tn NXP Semiconductors
 .Em SE97
@@ -94,9 +113,12 @@ and
 .Em SE98
 .It
 .Tn STmicroelectronics
-.Em STTS424
+.Em STTS424 ,
+.Em STTS424E ,
+.Em STTS2002 ,
+.Em STTS2004
 and
-.Em STTS424E
+.Em STTS3000
 .El
 .Sh SEE ALSO
 .Xr envsys 4 ,



CVS commit: src/share/man/man9

2016-07-19 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Tue Jul 19 17:01:36 UTC 2016

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

Log Message:
Don't reference older CFATTACH_DECL


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/share/man/man9/driver.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/driver.9
diff -u src/share/man/man9/driver.9:1.27 src/share/man/man9/driver.9:1.28
--- src/share/man/man9/driver.9:1.27	Sat Jul 23 16:04:35 2011
+++ src/share/man/man9/driver.9	Tue Jul 19 17:01:36 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: driver.9,v 1.27 2011/07/23 16:04:35 jym Exp $
+.\" $NetBSD: driver.9,v 1.28 2016/07/19 17:01:36 maya Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 23, 2011
+.Dd July 19, 2016
 .Dt DRIVER 9
 .Os
 .Sh NAME
@@ -64,7 +64,7 @@ For example, the interface to driver
 is defined with:
 .Pp
 .Bd -literal
-CFATTACH_DECL(foo, 			/* driver name */
+CFATTACH_DECL_NEW(foo, 			/* driver name */
 	sizeof(struct foo_softc),	/* size of instance data */
 	foo_match,			/* match/probe function */
 	foo_attach,			/* attach function */



CVS commit: src/share/man/man7

2016-07-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jul 12 12:39:04 UTC 2016

Modified Files:
src/share/man/man7: signal.7

Log Message:
Whitespace fixes, xref fixes, a bit more markup.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/share/man/man7/signal.7

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/man7/signal.7
diff -u src/share/man/man7/signal.7:1.19 src/share/man/man7/signal.7:1.20
--- src/share/man/man7/signal.7:1.19	Sat Jul  9 23:13:47 2016
+++ src/share/man/man7/signal.7	Tue Jul 12 12:39:04 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: signal.7,v 1.19 2016/07/09 23:13:47 dholland Exp $
+.\"	$NetBSD: signal.7,v 1.20 2016/07/12 12:39:04 wiz Exp $
 .\"
 .\" Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -62,7 +62,7 @@ If the process has elected to
 the signal temporarily, delivery is postponed until the process
 later unblocks that signal.
 Otherwise, the signal is
-.Em delivered,
+.Em delivered ,
 meaning that whatever the process is doing is interrupted in order to
 react to the signal.
 (Note that processes that are waiting in the kernel must unwind what
@@ -344,7 +344,7 @@ This signal is generated when an ``urgen
 socket.
 In practice this means when
 .Xr tcp 4
-out-of-band data has arrived. 
+out-of-band data has arrived.
 The default action is to do nothing.
 The number for
 .Dv SIGURG
@@ -392,7 +392,7 @@ is 19.
 .It Dv SIGCHLD Ta (Child exited)
 This signal is generated by the kernel when one of a process's
 immediate children exits and can be waited for using one of the
-.Xr wait 3
+.Xr wait 2
 family of functions.
 The default action is to do nothing.
 As a special case hack, if
@@ -432,7 +432,7 @@ when a process that is not in the foregr
 terminal attempts to write to this terminal, if the terminal is
 configured accordingly, which is not the default.
 (See
-.Xr termios 4 .)
+.Xr termios 4 . )
 The default action is to stop the process.
 The number for
 .Dv SIGTTOU
@@ -457,9 +457,9 @@ exceeds the configured limit.
 See
 .Xr setrlimit 2
 and the
-ulimit
+.Ic ulimit
 and
-rlimit
+.Ic rlimit
 builtins of
 .Xr sh 1
 and
@@ -476,9 +476,9 @@ file to exceed the configured limit.
 See
 .Xr setrlimit 2
 and the
-ulimit
+.Ic ulimit
 and
-rlimit
+.Ic rlimit
 builtins of
 .Xr sh 1
 and
@@ -574,9 +574,9 @@ This utility is built into many shells t
 jobs.
 .Ss Program Interface
 In C code signals may be sent using
-.Xr raise 3,
-.Xr kill 2,
-.Xr pthread_kill 2,
+.Xr raise 3 ,
+.Xr kill 2 ,
+.Xr pthread_kill 3 ,
 and some other related functions.
 .Pp
 Signals may be caught or ignored using
@@ -584,7 +584,7 @@ Signals may be caught or ignored using
 or the simpler
 .Xr signal 3 ,
 and blocked using
-.Xr sigprocmask .
+.Xr sigprocmask 2 .
 .Sh STANDARDS
 The
 .Dv SIGTRAP ,



CVS commit: src/share/man/man9

2016-07-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jul 12 09:50:36 UTC 2016

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

Log Message:
Use Nm instead of Xr to itself.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/share/man/man9/pci.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/pci.9
diff -u src/share/man/man9/pci.9:1.44 src/share/man/man9/pci.9:1.45
--- src/share/man/man9/pci.9:1.44	Tue Jul 12 03:39:55 2016
+++ src/share/man/man9/pci.9	Tue Jul 12 09:50:36 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci.9,v 1.44 2016/07/12 03:39:55 knakahara Exp $
+.\" $NetBSD: pci.9,v 1.45 2016/07/12 09:50:36 wiz Exp $
 .\"
 .\" Copyright (c) 2001, 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -246,7 +246,7 @@ It contains the following member:
 .It Fa struct pci_overrides
 Stores pointers to functions that override the architecture's
 default
-.Xr pci 9
+.Nm
 and
 .Xr pci_intr 9
 implementation.



CVS commit: src/share/man/man9

2016-07-11 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Jul 11 10:47:52 UTC 2016

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

Log Message:
Bump date for function prototype change.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man9/pci_msi.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/pci_msi.9
diff -u src/share/man/man9/pci_msi.9:1.8 src/share/man/man9/pci_msi.9:1.9
--- src/share/man/man9/pci_msi.9:1.8	Mon Jul 11 06:14:51 2016
+++ src/share/man/man9/pci_msi.9	Mon Jul 11 10:47:52 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: pci_msi.9,v 1.8 2016/07/11 06:14:51 knakahara Exp $
+.\" $NetBSD: pci_msi.9,v 1.9 2016/07/11 10:47:52 wiz Exp $
 .\"
 .\" Copyright (c) 2015 Internet Initiative Japan Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 13, 2015
+.Dd July 11, 2016
 .Dt PCI_MSI 9
 .Os
 .Sh NAME



CVS commit: src/share/man/man7

2016-07-09 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Jul  9 23:13:47 UTC 2016

Modified Files:
src/share/man/man7: signal.7

Log Message:
bump up the copyright date since I practically rewrote the file


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man7/signal.7

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/man7/signal.7
diff -u src/share/man/man7/signal.7:1.18 src/share/man/man7/signal.7:1.19
--- src/share/man/man7/signal.7:1.18	Sat Jul  9 23:12:27 2016
+++ src/share/man/man7/signal.7	Sat Jul  9 23:13:47 2016
@@ -1,6 +1,6 @@
-.\"	$NetBSD: signal.7,v 1.18 2016/07/09 23:12:27 dholland Exp $
+.\"	$NetBSD: signal.7,v 1.19 2016/07/09 23:13:47 dholland Exp $
 .\"
-.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
+.\" Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without



CVS commit: src/share/man/man7

2016-07-09 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Jul  9 23:12:27 UTC 2016

Modified Files:
src/share/man/man7: signal.7

Log Message:
Document all the signals properly. Please review.

Kick out the list of async-signal-safe functions (it is now in
sigaction(2)) because this is not a programmer-facing document.

XXX: if anyone knows definitively whether SIGEMT is actually used by
XXX: anything, please update the weasel words I put in.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man7/signal.7

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/man7/signal.7
diff -u src/share/man/man7/signal.7:1.17 src/share/man/man7/signal.7:1.18
--- src/share/man/man7/signal.7:1.17	Sat Jul 19 14:53:22 2014
+++ src/share/man/man7/signal.7	Sat Jul  9 23:12:27 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: signal.7,v 1.17 2014/07/19 14:53:22 roy Exp $
+.\"	$NetBSD: signal.7,v 1.18 2016/07/09 23:12:27 dholland Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,213 +24,569 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 18, 2014
+.Dd July 9, 2016
 .Dt SIGNAL 7
 .Os
 .Sh NAME
 .Nm signal
 .Nd signal facilities
 .Sh DESCRIPTION
-The
-.In signal.h
-header file defines the following signals:
+A
+.Nm
+is a system-level notification delivered to a process.
+Signals may be generated as the result of process activity, by certain
+user inputs, by kernel facilities or subsystems, or sent
+programmatically by other processes or by users.
+There is a small fixed set of signals, each with a symbolic name and a
+number.
+For historical reasons many of the numbers are ``well-known values'',
+which are in practice the same on all implementations and
+realistically can never be changed.
+(Nonetheless, compiled code should always use only the symbolic
+names.)
+Many/most signals also have specific semantics, both in how they can
+be generated and in their effects.
+Some are special cases in ways that have quite far-reaching
+consequences.
+.Pp
+When a signal is
+.Em posted
+.Pq Dq sent
+to a process, in general any of several things can happen.
+If the process has elected to
+.Em ignore
+the signal, it is discarded and nothing happens.
+(Some signals may not be ignored, however.)
+If the process has elected to
+.Em block
+the signal temporarily, delivery is postponed until the process
+later unblocks that signal.
+Otherwise, the signal is
+.Em delivered,
+meaning that whatever the process is doing is interrupted in order to
+react to the signal.
+(Note that processes that are waiting in the kernel must unwind what
+they are doing for signals to be delivered.
+This can sometimes be expensive.
+See
+.Xr sigaction 2
+for further information.)
+.Pp
+If the process has elected to
+.Em catch
+the signal, which means that the process has installed a handler to
+react to the signal in some process-specific way, the kernel arranges
+for the process's handler logic to be invoked.
+This is always done in a way that allows the process to resume if
+desired.
+(Note, however, that some signals may not be caught.)
+Otherwise, the default action for the signal is taken.
+For most signals the default action is a core dump.
+See the table below.
+Note that the term
+.Em delivery
+is also used for the specific process of arranging for a signal
+handler to be invoked.
+.Pp
+In general, signals are delivered as soon as they are posted.
+(Some delays may occur due to scheduling.)
+However, in some cases a process that has been sleeping in the kernel
+may need to do slow things as part of unwinding its state; this can
+sometimes lead to human-perceptible delays.
+.Pp
+Also, some sleep states within the kernel are
+.Em uninterruptible
+meaning that signals posted will have no effect until the state
+clears.
+These states are supposed to be short-term only, but sometimes kernel
+bugs make this not the case and one can end up with unkillable
+processes.
+Such processes appear in state "D" in
+.Xr ps 1 .
+In general the only way to get rid of them is to reboot.
+(However, when the "wchan" reported is "tstile", it means the process
+is waiting for some other process to release resources; sometimes if
+one can find and kill that process the situation is recoverable.)
+.Ss Signal list
+The following signals are defined in
+.Nx :
 .Pp
-.Bl -column ".Sy Value" ".Dv SIGVTALARM" "terminate process" -compact
-.It Sy "Value" Ta Sy "Name" Ta Sy "Default Action" Ta Sy "Description"
-.It 1 Ta Dv SIGHUP Ta "terminate process" Ta "terminal line hangup"
-.It 2 Ta Dv SIGINT Ta "terminate process" Ta "interrupt program"
-.It 3 Ta Dv SIGQUIT Ta "create core image" Ta "quit program"
-.It 4 Ta Dv SIGILL Ta "create core image" Ta "illegal instruction"
-.It 5 Ta Dv SIGTRAP Ta "create core image" Ta "trace trap"
-.It 6 Ta Dv SI

CVS commit: src/share/man/man4

2016-07-07 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jul  7 09:23:20 UTC 2016

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

Log Message:
Clarify the BUGS section.  The driver doesn't do any PM stuff, but it
does still provide access to the SMBus.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/amdpm.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/amdpm.4
diff -u src/share/man/man4/amdpm.4:1.7 src/share/man/man4/amdpm.4:1.8
--- src/share/man/man4/amdpm.4:1.7	Thu Feb 25 17:08:01 2010
+++ src/share/man/man4/amdpm.4	Thu Jul  7 09:23:20 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: amdpm.4,v 1.7 2010/02/25 17:08:01 wiz Exp $
+.\" $NetBSD: amdpm.4,v 1.8 2016/07/07 09:23:20 pgoyette Exp $
 .\"
 .\" Copyright (c) 2002, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 29, 2006
+.Dd July 7, 2016
 .Dt AMDPM 4
 .Os
 .Sh NAME
@@ -50,4 +50,6 @@ The
 driver appeared in
 .Nx 2.0 .
 .Sh BUGS
-Currently, this driver does nothing except collecting random numbers.
+Currently, this driver does not provide any power management capabilities.
+It does, however, provide access to the SMBus via the System Management
+Controller.



CVS commit: src/share/man/man9

2016-07-06 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Wed Jul  6 09:20:42 UTC 2016

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

Log Message:
Add missing .Nd

ok wiz@, knakaraha@


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man9/interrupt_distribute.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/interrupt_distribute.9
diff -u src/share/man/man9/interrupt_distribute.9:1.1 src/share/man/man9/interrupt_distribute.9:1.2
--- src/share/man/man9/interrupt_distribute.9:1.1	Mon Aug 17 06:28:11 2015
+++ src/share/man/man9/interrupt_distribute.9	Wed Jul  6 09:20:42 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: interrupt_distribute.9,v 1.1 2015/08/17 06:28:11 knakahara Exp $
+.\" $NetBSD: interrupt_distribute.9,v 1.2 2016/07/06 09:20:42 abhinav Exp $
 .\"
 .\" Copyright (c) 2015 Internet Initiative Japan Inc.
 .\" All rights reserved.
@@ -29,6 +29,7 @@
 .Os
 .Sh NAME
 .Nm interrupt_distribute
+.Nd assign an interrupt to a CPU
 .Sh SYNOPSIS
 .In sys/interrupt.h
 .Ft int
@@ -40,7 +41,7 @@ The
 function exists to assign an interrupt to a CPU.
 .Pp
 If a driver (or the other kernel component) wishes to assign an
-interrupt to a CPU, it should pass a interrupt handler such as
+interrupt to a CPU, it should pass an interrupt handler such as
 the return value of
 .Fn pci_intr_establish
 as



CVS commit: src/share/man/man4

2016-06-21 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jun 21 14:31:48 UTC 2016

Modified Files:
src/share/man/man4: acpi.4 sdhc.4

Log Message:
Bump date for previous.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/share/man/man4/acpi.4
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/sdhc.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/acpi.4
diff -u src/share/man/man4/acpi.4:1.79 src/share/man/man4/acpi.4:1.80
--- src/share/man/man4/acpi.4:1.79	Tue Jun 21 14:13:58 2016
+++ src/share/man/man4/acpi.4	Tue Jun 21 14:31:48 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: acpi.4,v 1.79 2016/06/21 14:13:58 nonaka Exp $
+.\" $NetBSD: acpi.4,v 1.80 2016/06/21 14:31:48 wiz Exp $
 .\"
 .\" Copyright (c) 2002, 2004, 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 8, 2014
+.Dd June 21, 2016
 .Dt ACPI 4
 .Os
 .Sh NAME

Index: src/share/man/man4/sdhc.4
diff -u src/share/man/man4/sdhc.4:1.4 src/share/man/man4/sdhc.4:1.5
--- src/share/man/man4/sdhc.4:1.4	Tue Jun 21 14:13:58 2016
+++ src/share/man/man4/sdhc.4	Tue Jun 21 14:31:48 2016
@@ -1,9 +1,9 @@
-.\"	$NetBSD: sdhc.4,v 1.4 2016/06/21 14:13:58 nonaka Exp $
+.\"	$NetBSD: sdhc.4,v 1.5 2016/06/21 14:31:48 wiz Exp $
 .\"	$OpenBSD: sdhc.4,v 1.4 2009/02/14 18:47:45 deraadt Exp $
 .\"
 .\" Theo de Raadt, 2006. Public Domain.
 .\"
-.Dd April 21, 2009
+.Dd June 21, 2016
 .Dt SDHC 4
 .Os
 .Sh NAME



CVS commit: src/share/man/man4

2016-06-21 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Tue Jun 21 14:13:58 UTC 2016

Modified Files:
src/share/man/man4: acpi.4 sdhc.4

Log Message:
Add sdhc(4) at acpi.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/share/man/man4/acpi.4
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/sdhc.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/acpi.4
diff -u src/share/man/man4/acpi.4:1.78 src/share/man/man4/acpi.4:1.79
--- src/share/man/man4/acpi.4:1.78	Sun Sep 14 19:54:05 2014
+++ src/share/man/man4/acpi.4	Tue Jun 21 14:13:58 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: acpi.4,v 1.78 2014/09/14 19:54:05 mrg Exp $
+.\" $NetBSD: acpi.4,v 1.79 2016/06/21 14:13:58 nonaka Exp $
 .\"
 .\" Copyright (c) 2002, 2004, 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -301,6 +301,8 @@ Standard ISA parallel port interface.
 Roland MPU-401 (compatible) MIDI UART.
 .It Xr pcppi 4
 AT-style speaker sound.
+.It Xr sdhc 4
+SD Host Controller.
 .It Xr thinkpad 4
 IBM/Lenovo ThinkPad laptop device driver.
 .It Xr ug 4

Index: src/share/man/man4/sdhc.4
diff -u src/share/man/man4/sdhc.4:1.3 src/share/man/man4/sdhc.4:1.4
--- src/share/man/man4/sdhc.4:1.3	Sat Mar 27 03:04:52 2010
+++ src/share/man/man4/sdhc.4	Tue Jun 21 14:13:58 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sdhc.4,v 1.3 2010/03/27 03:04:52 nonaka Exp $
+.\"	$NetBSD: sdhc.4,v 1.4 2016/06/21 14:13:58 nonaka Exp $
 .\"	$OpenBSD: sdhc.4,v 1.4 2009/02/14 18:47:45 deraadt Exp $
 .\"
 .\" Theo de Raadt, 2006. Public Domain.
@@ -10,6 +10,7 @@
 .Nm sdhc
 .Nd SD Host Controller
 .Sh SYNOPSIS
+.Cd "sdhc* at acpi?"
 .Cd "sdhc* at pci?"
 .Cd "sdhc* at cardbus? function ?"
 .Cd "sdmmc* at sdhc?"



CVS commit: src/share/man/man8/man8.x86

2016-06-19 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Jun 19 22:27:56 UTC 2016

Modified Files:
src/share/man/man8/man8.x86: boot.8

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man8/man8.x86/boot.8

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/man8/man8.x86/boot.8
diff -u src/share/man/man8/man8.x86/boot.8:1.6 src/share/man/man8/man8.x86/boot.8:1.7
--- src/share/man/man8/man8.x86/boot.8:1.6	Sat Apr 25 14:27:02 2015
+++ src/share/man/man8/man8.x86/boot.8	Sun Jun 19 22:27:56 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.6 2015/04/25 14:27:02 wiz Exp $
+.\"	$NetBSD: boot.8,v 1.7 2016/06/19 22:27:56 pgoyette Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -375,7 +375,7 @@ If the module name is not an absolute pa
 .Pa .kmod
 .Xc
 is used.
-Possible used of the
+Possible uses of the
 .Ic load
 command include loading a memory disk image before booting a kernel,
 or loading a



CVS commit: src/share/man/man8/man8.hp300

2016-06-12 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sun Jun 12 18:42:28 UTC 2016

Modified Files:
src/share/man/man8/man8.hp300: Makefile
Removed Files:
src/share/man/man8/man8.hp300: crash.8

Log Message:
Remove crash.8 for hp300 as there is already a man page for crash(8).
Discussed on port-hp300: 
http://mail-index.netbsd.org/port-hp300/2016/06/07/msg000106.html


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man8/man8.hp300/Makefile
cvs rdiff -u -r1.10 -r0 src/share/man/man8/man8.hp300/crash.8

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/man8/man8.hp300/Makefile
diff -u src/share/man/man8/man8.hp300/Makefile:1.10 src/share/man/man8/man8.hp300/Makefile:1.11
--- src/share/man/man8/man8.hp300/Makefile:1.10	Fri Oct 24 20:26:58 2003
+++ src/share/man/man8/man8.hp300/Makefile	Sun Jun 12 18:42:28 2016
@@ -1,7 +1,7 @@
-#	$NetBSD: Makefile,v 1.10 2003/10/24 20:26:58 jdolecek Exp $
+#	$NetBSD: Makefile,v 1.11 2016/06/12 18:42:28 abhinav Exp $
 #	from: @(#)Makefile	8.1 (Berkeley) 6/5/93
 
-MAN=	boot.8 crash.8 format.8
+MAN=	boot.8 format.8
 MANSUBDIR=/hp300
 
 .include 



CVS commit: src/share/man/man3lua

2016-06-11 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sat Jun 11 15:17:34 UTC 2016

Modified Files:
src/share/man/man3lua: gpio.3lua

Log Message:
Fix typo in the date.
While there, remove .Pp from inside of the list (mandoc -Tlint warns about it).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man3lua/gpio.3lua

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/man3lua/gpio.3lua
diff -u src/share/man/man3lua/gpio.3lua:1.4 src/share/man/man3lua/gpio.3lua:1.5
--- src/share/man/man3lua/gpio.3lua:1.4	Tue Jan  7 21:54:17 2014
+++ src/share/man/man3lua/gpio.3lua	Sat Jun 11 15:17:34 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: gpio.3lua,v 1.4 2014/01/07 21:54:17 mbalmer Exp $
+.\"	$NetBSD: gpio.3lua,v 1.5 2016/06/11 15:17:34 abhinav Exp $
 .\"
 .\" Copyright (c) 2013, 2014 Marc Balmer .
 .\" All rights reserved.
@@ -28,7 +28,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"
-.Dd Januar 7, 2014
+.Dd January 7, 2014
 .Dt GPIO 3lua
 .Os
 .Sh NAME
@@ -60,7 +60,6 @@ device using the
 interface.
 .Pp
 .Bl -tag -width  -compact
-.Pp
 .It Dv gpiodev = gpio.open(path)
 Open the gpio device and return an object to access its pins.
 .Pp



CVS commit: src/share/man/man4

2016-06-10 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Jun 10 08:05:13 UTC 2016

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

Log Message:
New sentence, new line. Remove Pp before section header.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/share/man/man4/sd.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/sd.4
diff -u src/share/man/man4/sd.4:1.19 src/share/man/man4/sd.4:1.20
--- src/share/man/man4/sd.4:1.19	Thu Jun  9 14:52:48 2016
+++ src/share/man/man4/sd.4	Fri Jun 10 08:05:13 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sd.4,v 1.19 2016/06/09 14:52:48 kre Exp $
+.\"	$NetBSD: sd.4,v 1.20 2016/06/10 08:05:13 wiz Exp $
 .\"
 .\" Copyright (c) 1996
 .\" Julian Elischer .  All rights reserved.
@@ -129,11 +129,12 @@ to partition the disk into a
 .Tn BIOS
 level partition.
 This allows sharing the disk with other operating systems.
-.Pp
+.\".Pp
 .\"If an uninitialized disk is opened, the slice table will be
 .\"initialized with a fictitious
 .\".Tn FreeBSD
-.\"slice spanning the entire disk.  Similarly, if an uninitialized
+.\"slice spanning the entire disk.
+.\"Similarly, if an uninitialized
 .\"(or
 .\".No non- Ns Tn FreeBSD )
 .\"slice is opened, its disklabel will be initialized with parameters returned
@@ -157,12 +158,13 @@ disks as well as to other disks.
 .Bl -tag -width SD_IO_TIMEOUT
 .It Dv SDRETRIES
 Set the number of retries that will be performed for operations it
-makes sense to retry (e.g., normal reads and writes). The default
-is four (4).
+makes sense to retry (e.g., normal reads and writes).
+The default is four (4).
 .It Dv SD_IO_TIMEOUT
 Set amount of time, in milliseconds, a normal read or write is expected
-to take. The defaults is sixty seconds (6 milliseconds). This is used
-to set watchdog timers in the
+to take.
+The defaults is sixty seconds (6 milliseconds).
+This is used to set watchdog timers in the
 .Tn SCSI
 HBA driver to catch commands that might have died on the device.
 .El



CVS commit: src/share/man/man4

2016-06-09 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Jun  9 22:05:38 UTC 2016

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

Log Message:
Fix typo: degress -> degrees.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/dbcool.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/dbcool.4
diff -u src/share/man/man4/dbcool.4:1.10 src/share/man/man4/dbcool.4:1.11
--- src/share/man/man4/dbcool.4:1.10	Sat Mar 12 13:24:15 2011
+++ src/share/man/man4/dbcool.4	Thu Jun  9 22:05:38 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: dbcool.4,v 1.10 2011/03/12 13:24:15 wiz Exp $
+.\"	$NetBSD: dbcool.4,v 1.11 2016/06/09 22:05:38 abhinav Exp $
 .\"
 .\" Copyright (c) 2008 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 12, 2011
+.Dd June 10, 2016
 .Dt DBCOOL 4
 .Os
 .Sh NAME
@@ -146,7 +146,7 @@ a duty cycle linearly based on the slope
 variable.
 When the associated temperature falls at least
 .Em Thyst
-degress below its
+degrees below its
 .Em Tmin
 value, the fan controller will turn off the fan.
 (On the ADM1030, the



CVS commit: src/share/man/man4

2016-06-09 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Jun  9 15:09:07 UTC 2016

Modified Files:
src/share/man/man4/man4.sun2: bwtwo.4 kbd.4 ms.4
src/share/man/man4/man4.sun3: bwtwo.4 cgfour.4 cgtwo.4 kbd.4 ms.4

Log Message:
Since sun{2,3} don't have any working X server, don't use .Xr to refer X(1)
Discussed on port-sparc@: 
http://mail-index.netbsd.org/port-sparc/2016/06/07/msg002002.html
Ok from wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/man4.sun2/bwtwo.4
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/man4.sun2/kbd.4 \
src/share/man/man4/man4.sun2/ms.4
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/man4.sun3/bwtwo.4
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/man4.sun3/cgfour.4 \
src/share/man/man4/man4.sun3/cgtwo.4
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/man4.sun3/kbd.4
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/man4.sun3/ms.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/man4.sun2/bwtwo.4
diff -u src/share/man/man4/man4.sun2/bwtwo.4:1.2 src/share/man/man4/man4.sun2/bwtwo.4:1.3
--- src/share/man/man4/man4.sun2/bwtwo.4:1.2	Thu Aug  7 10:31:09 2003
+++ src/share/man/man4/man4.sun2/bwtwo.4	Thu Jun  9 15:09:07 2016
@@ -31,9 +31,9 @@
 .\"
 .\"	from: Header: bwtwo.4,v 1.3 94/02/03 20:42:13 leres Exp
 .\" from: @(#)bwtwo.4	8.2 (Berkeley) 2/16/94
-.\"	$NetBSD: bwtwo.4,v 1.2 2003/08/07 10:31:09 agc Exp $
+.\"	$NetBSD: bwtwo.4,v 1.3 2016/06/09 15:09:07 abhinav Exp $
 .\"
-.Dd February 16, 1994
+.Dd June 10, 2016
 .Dt BWTWO 4 sun2
 .Os
 .Sh NAME
@@ -47,4 +47,4 @@ The
 .Nm
 is a memory based black and white frame buffer.
 It supports the minimal ioctl's needed to run
-.Xr X 1 .
+.Ic X .

Index: src/share/man/man4/man4.sun2/kbd.4
diff -u src/share/man/man4/man4.sun2/kbd.4:1.3 src/share/man/man4/man4.sun2/kbd.4:1.4
--- src/share/man/man4/man4.sun2/kbd.4:1.3	Wed Apr 30 13:10:56 2008
+++ src/share/man/man4/man4.sun2/kbd.4	Thu Jun  9 15:09:07 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: kbd.4,v 1.3 2008/04/30 13:10:56 martin Exp $
+.\"	$NetBSD: kbd.4,v 1.4 2016/06/09 15:09:07 abhinav Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 22, 1996
+.Dd June 10, 2016
 .Dt KBD 4 sun2
 .Os
 .Sh NAME
@@ -71,7 +71,7 @@ The device special file
 is used to get direct access to the keyboard input stream.
 The following
 ioctl's are supported (mostly just enough to keep the
-.Xr X 1
+.Ic X
 server going):
 .Bl -tag -width KIOCSDIRECT
 .It KIOCTRANS
Index: src/share/man/man4/man4.sun2/ms.4
diff -u src/share/man/man4/man4.sun2/ms.4:1.3 src/share/man/man4/man4.sun2/ms.4:1.4
--- src/share/man/man4/man4.sun2/ms.4:1.3	Tue Mar 10 21:10:18 2009
+++ src/share/man/man4/man4.sun2/ms.4	Thu Jun  9 15:09:07 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ms.4,v 1.3 2009/03/10 21:10:18 joerg Exp $
+.\"	$NetBSD: ms.4,v 1.4 2016/06/09 15:09:07 abhinav Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 22, 1996
+.Dd June 10, 2016
 .Dt MS 4 sun2
 .Os
 .Sh NAME
@@ -42,7 +42,6 @@ driver provides an interface to the work
 This
 .Tn Mouse Systems
 three-button device produces five-byte blobs of the form:
-.Pp
 .Bd -literal -offset indent
 b dx dy dx dy
 .Ed
@@ -64,7 +63,7 @@ The device special file
 is used to get direct access to the mouse input stream.
 The following
 ioctl's are supported (mostly just enough to keep the
-.Xr X 1
+.Ic X
 server going):
 .Bl -tag -width VUIDSFORMAT
 .It Dv VUIDSFORMAT

Index: src/share/man/man4/man4.sun3/bwtwo.4
diff -u src/share/man/man4/man4.sun3/bwtwo.4:1.5 src/share/man/man4/man4.sun3/bwtwo.4:1.6
--- src/share/man/man4/man4.sun3/bwtwo.4:1.5	Mon Oct 27 16:18:38 2014
+++ src/share/man/man4/man4.sun3/bwtwo.4	Thu Jun  9 15:09:07 2016
@@ -31,9 +31,9 @@
 .\"
 .\"	from: Header: bwtwo.4,v 1.3 94/02/03 20:42:13 leres Exp
 .\" from: @(#)bwtwo.4	8.2 (Berkeley) 2/16/94
-.\"	$NetBSD: bwtwo.4,v 1.5 2014/10/27 16:18:38 wiz Exp $
+.\"	$NetBSD: bwtwo.4,v 1.6 2016/06/09 15:09:07 abhinav Exp $
 .\"
-.Dd February 16, 1994
+.Dd June 10, 2016
 .Dt BWTWO 4 sun3
 .Os
 .Sh NAME
@@ -46,7 +46,7 @@ The
 .Nm
 is a memory based black and white frame buffer.
 It supports the minimal ioctl's needed to run
-.Xr X 1 .
+.Ic X .
 .Sh SEE ALSO
 .Xr cgfour 4 ,
 .Xr cgtwo 4

Index: src/share/man/man4/man4.sun3/cgfour.4
diff -u src/share/man/man4/man4.sun3/cgfour.4:1.4 src/share/man/man4/man4.sun3/cgfour.4:1.5
--- src/share/man/man4/man4.sun3/cgfour.4:1.4	Thu Aug  7 10:31:09 2003
+++ src/share/man/man4/man4.sun3/cgfour.4	Thu Jun  9 15:09:07 2016
@@ -31,9 +31,9 @@
 .\"
 .\"	from: Header: cgthree.4,v 1.3 94/02/03 20:49:52 leres 

CVS commit: src/share/man/man4/man4.sparc

2016-06-09 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Jun  9 15:00:26 UTC 2016

Modified Files:
src/share/man/man4/man4.sparc: bwtwo.4 cgeight.4 cgfour.4 cgfourteen.4
cgthree.4 cgtwo.4 kbd.4 ms.4 tcx.4

Log Message:
There is no X(1) man page, change the references to Xorg(1).
Discussed on port-sparc@: 
http://mail-index.netbsd.org/port-sparc/2016/06/07/msg002002.html
Ok from wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/man4.sparc/bwtwo.4
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/man4.sparc/cgeight.4 \
src/share/man/man4/man4.sparc/cgfour.4 \
src/share/man/man4/man4.sparc/cgthree.4 \
src/share/man/man4/man4.sparc/cgtwo.4 src/share/man/man4/man4.sparc/kbd.4 \
src/share/man/man4/man4.sparc/tcx.4
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/man4.sparc/cgfourteen.4 \
src/share/man/man4/man4.sparc/ms.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/man4.sparc/bwtwo.4
diff -u src/share/man/man4/man4.sparc/bwtwo.4:1.6 src/share/man/man4/man4.sparc/bwtwo.4:1.7
--- src/share/man/man4/man4.sparc/bwtwo.4:1.6	Thu Aug  7 10:31:08 2003
+++ src/share/man/man4/man4.sparc/bwtwo.4	Thu Jun  9 15:00:26 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: bwtwo.4,v 1.6 2003/08/07 10:31:08 agc Exp $
+.\"	$NetBSD: bwtwo.4,v 1.7 2016/06/09 15:00:26 abhinav Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -34,7 +34,7 @@
 .\"	from: Header: bwtwo.4,v 1.3 94/02/03 20:42:13 leres Exp
 .\" from: @(#)bwtwo.4	8.2 (Berkeley) 2/16/94
 .\"
-.Dd February 16, 1994
+.Dd June 10, 2016
 .Dt BWTWO 4 sparc
 .Os
 .Sh NAME
@@ -47,7 +47,7 @@ The
 .Nm
 is a memory based black and white frame buffer.
 It supports the minimal ioctl's needed to run
-.Xr X 1 .
+.Xr Xorg 1 .
 .Sh SEE ALSO
 .Xr cgsix 4 ,
 .Xr cgthree 4

Index: src/share/man/man4/man4.sparc/cgeight.4
diff -u src/share/man/man4/man4.sparc/cgeight.4:1.7 src/share/man/man4/man4.sparc/cgeight.4:1.8
--- src/share/man/man4/man4.sparc/cgeight.4:1.7	Mon Oct 27 16:18:38 2014
+++ src/share/man/man4/man4.sparc/cgeight.4	Thu Jun  9 15:00:26 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: cgeight.4,v 1.7 2014/10/27 16:18:38 wiz Exp $
+.\"	$NetBSD: cgeight.4,v 1.8 2016/06/09 15:00:26 abhinav Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 23, 1996
+.Dd June 10, 2016
 .Dt CGEIGHT 4 sparc
 .Os
 .Sh NAME
@@ -47,7 +47,7 @@ system call.
 The
 .Nm
 driver supports the minimal ioctl's needed to run
-.Xr X 1 .
+.Xr Xorg 1 .
 .Sh SEE ALSO
 .Xr bwtwo 4 ,
 .Xr cgfour 4 ,
Index: src/share/man/man4/man4.sparc/cgfour.4
diff -u src/share/man/man4/man4.sparc/cgfour.4:1.7 src/share/man/man4/man4.sparc/cgfour.4:1.8
--- src/share/man/man4/man4.sparc/cgfour.4:1.7	Mon Oct 27 16:18:38 2014
+++ src/share/man/man4/man4.sparc/cgfour.4	Thu Jun  9 15:00:26 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: cgfour.4,v 1.7 2014/10/27 16:18:38 wiz Exp $
+.\"	$NetBSD: cgfour.4,v 1.8 2016/06/09 15:00:26 abhinav Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 23, 1996
+.Dd June 10, 2016
 .Dt CGFOUR 4 sparc
 .Os
 .Sh NAME
@@ -47,7 +47,7 @@ system call.
 The
 .Nm
 driver supports the minimal ioctl's needed to run
-.Xr X 1 .
+.Xr Xorg 1 .
 .Sh SEE ALSO
 .Xr bwtwo 4 ,
 .Xr cgeight 4 ,
Index: src/share/man/man4/man4.sparc/cgthree.4
diff -u src/share/man/man4/man4.sparc/cgthree.4:1.7 src/share/man/man4/man4.sparc/cgthree.4:1.8
--- src/share/man/man4/man4.sparc/cgthree.4:1.7	Mon Oct 27 16:18:38 2014
+++ src/share/man/man4/man4.sparc/cgthree.4	Thu Jun  9 15:00:26 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: cgthree.4,v 1.7 2014/10/27 16:18:38 wiz Exp $
+.\"	$NetBSD: cgthree.4,v 1.8 2016/06/09 15:00:26 abhinav Exp $
 .\"
 .\" Copyright (c) 1992, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -34,7 +34,7 @@
 .\"	from: Header: cgthree.4,v 1.3 94/02/03 20:49:52 leres Exp
 .\" from: @(#)cgthree.4	8.2 (Berkeley) 2/16/94
 .\"
-.Dd February 16, 1994
+.Dd June 10, 2016
 .Dt CGTHREE 4 sparc
 .Os
 .Sh NAME
@@ -48,7 +48,7 @@ The
 .Nm
 is a memory based color frame buffer.
 It supports the minimal ioctl's needed to run
-.Xr X 1 .
+.Xr Xorg 1 .
 .Sh SEE ALSO
 .Xr bwtwo 4 ,
 .Xr cgeight 4 ,
Index: src/share/man/man4/man4.sparc/cgtwo.4
diff -u src/share/man/man4/man4.sparc/cgtwo.4:1.7 src/share/man/man4/man4.sparc/cgtwo.4:1.8
--- src/share/man/man4/man4.sparc/cgtwo.4:1.7	Mon Oct 27 16:18:38 2014
+++ src/share/man/man4/man4.sparc/cgtwo.4	Thu Jun  9 15:00:26 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: cgtwo.4,v 1.7 2014/10/27 16:18:38 wiz Exp $
+.\"	$NetBSD: 

CVS commit: src/share/man/man4

2016-06-09 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Thu Jun  9 14:52:48 UTC 2016

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

Log Message:
PR kern/32830 (from 10 years ago, pre NetBSD 4...)
Reference correct include files needed for the ioctl calls mentioned.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/sd.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/sd.4
diff -u src/share/man/man4/sd.4:1.18 src/share/man/man4/sd.4:1.19
--- src/share/man/man4/sd.4:1.18	Mon Mar 22 18:58:31 2010
+++ src/share/man/man4/sd.4	Thu Jun  9 14:52:48 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sd.4,v 1.18 2010/03/22 18:58:31 joerg Exp $
+.\"	$NetBSD: sd.4,v 1.19 2016/06/09 14:52:48 kre Exp $
 .\"
 .\" Copyright (c) 1996
 .\" Julian Elischer .  All rights reserved.
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd January 18, 1996
+.Dd June 9, 2016
 .Dt SD 4
 .Os
 .Sh NAME
@@ -173,7 +173,9 @@ calls apply to
 .Tn SCSI
 disks as well as to other disks.
 They are defined in the header file
-.In disklabel.h .
+.In sys/dkio.h
+and use data structures defined in
+.In sys/disklabel.h .
 .Pp
 .Bl -tag -width DIOCSDINFO
 .\".It Dv DIOCSBAD



CVS commit: src/share/man/man5

2016-06-06 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Mon Jun  6 15:02:32 UTC 2016

Modified Files:
src/share/man/man5: statvfs.5

Log Message:
statfs(2) was removed, don't reference it using .Xr


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man5/statvfs.5

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/man5/statvfs.5
diff -u src/share/man/man5/statvfs.5:1.13 src/share/man/man5/statvfs.5:1.14
--- src/share/man/man5/statvfs.5:1.13	Fri Apr  5 17:33:06 2013
+++ src/share/man/man5/statvfs.5	Mon Jun  6 15:02:32 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: statvfs.5,v 1.13 2013/04/05 17:33:06 christos Exp $
+.\"	$NetBSD: statvfs.5,v 1.14 2016/06/06 15:02:32 abhinav Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)statfs.2	8.5 (Berkeley) 5/24/95
 .\"
-.Dd April 5, 2013
+.Dd June 2, 2016
 .Dt STATVFS 5
 .Os
 .Sh NAME
@@ -150,7 +150,7 @@ field is the same as the
 .Fa f_flags
 field in the
 .Bx 4.3
-.Xr statfs 2
+.Ic statfs
 system call.
 .It f_fsid
 Is defined to be
@@ -163,7 +163,7 @@ so we define an additional
 field.
 .It f_bavail
 Could historically be negative (in the
-.Xr statfs 2
+.Ic statfs
 system call) when the used space has exceeded
 the non-superuser free space.
 In order to comply with the X/Open standard, we have to define



CVS commit: src/share/man/man4

2016-06-02 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu Jun  2 08:11:23 UTC 2016

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

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 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.41 src/share/man/man4/wi.4:1.42
--- src/share/man/man4/wi.4:1.41	Wed Jun  1 23:40:05 2016
+++ src/share/man/man4/wi.4	Thu Jun  2 08:11:23 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: wi.4,v 1.41 2016/06/01 23:40:05 pgoyette Exp $
+.\" $NetBSD: wi.4,v 1.42 2016/06/02 08:11:23 wiz Exp $
 .\"
 .\" Copyright (c) 1997, 1998, 1999
 .\"	Bill Paul . All rights reserved.
@@ -30,7 +30,7 @@
 .\" 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.41 2016/06/01 23:40:05 pgoyette Exp $
+.\"	$Id: wi.4,v 1.42 2016/06/02 08:11:23 wiz Exp $
 .\"
 .Dd June 2, 2016
 .Dt WI 4
@@ -61,10 +61,12 @@ even though they are 16-bit cards.
 The core of the WaveLAN/IEEE is the Lucent Hermes controller.
 All host/device interaction is via programmed I/O with the Hermes.
 The Hermes supports 802.11 and 802.3 frames, power management, BSS, WDS
-and ad-hoc operation modes.  The Silver and the Gold cards of the
-WaveLAN/IEEE also support WEP.  Unlike the other IEEE 802.11 network cards,
-the WaveLAN Gold cards accept 104 bits key (13 characters) for WEP
-encryption.  The Intersil PRISM-II controller supports WEP as well.
+and ad-hoc operation modes.
+The Silver and the Gold cards of the
+WaveLAN/IEEE also support WEP.
+Unlike the other IEEE 802.11 network cards, the WaveLAN Gold cards
+accept 104 bits key (13 characters) for WEP encryption.
+The Intersil PRISM-II controller supports WEP as well.
 .Pp
 The
 .Nm
@@ -80,18 +82,21 @@ The
 .Nm
 driver supports configuration of Lucent cards for special ad-hoc operation.
 In this mode, the nwid is ignored and stations can communicate among each
-other without the aid of an access point.  Note that this mode is specific
-to Lucent chips, and not in the IEEE 802.11 specification.  Due to changes
+other without the aid of an access point.
+Note that this mode is specific
+to Lucent chips, and not in the IEEE 802.11 specification.
+Due to changes
 in the implementation of this special ad-hoc mode, Lucent-based cards with
-different firmware revisions may not interoperate in this mode.  This mode
-is no longer the default and must be selected using the
+different firmware revisions may not interoperate in this mode.
+This mode is no longer the default and must be selected using the
 .Xr ifconfig 8
 .Pq media option Dq adhoc,flag0
 utility.
 .Pp
 Recent versions of Lucent and PRISM-II firmware support IBSS creation.
-IBSS is the standard IEEE 802.11 ad-hoc mode.  In this mode, the nwid
-should be specified.  At least one node must be able to create IBSS.
+IBSS is the standard IEEE 802.11 ad-hoc mode.
+In this mode, the nwid should be specified.
+At least one node must be able to create IBSS.
 The IBSS mode is enabled by
 .Dq adhoc
 or
@@ -104,10 +109,11 @@ The
 driver defaults to infrastructure mode (i.e., using an access point).
 .Pp
 Recent versions of PRISM-II firmware support operating as an 802.11
-Access Point.  In this mode, the Access Point station should set the
-nwid.  This will create a standard 802.11 network, and the Access Point
-station will show up in an Access Point scan.  This mode is enabled
-using the
+Access Point.
+In this mode, the Access Point station should set the nwid.
+This will create a standard 802.11 network, and the Access Point
+station will show up in an Access Point scan.
+This mode is enabled using the
 .Dq hostap
 media option.
 .Pp



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/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/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 \&mac68k/ae 4 ,
-.Xr \&mac68k/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: src/share/man/man4

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 02:15:26 UTC 2016

Modified Files:
src/share/man/man4: smscmon.4 swsensor.4

Log Message:
Use fixed number of entries in each row of a table.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/smscmon.4
cvs rdiff -u -r1.12 -r1.13 src/share/man/man4/swsensor.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/smscmon.4
diff -u src/share/man/man4/smscmon.4:1.4 src/share/man/man4/smscmon.4:1.5
--- src/share/man/man4/smscmon.4:1.4	Wed Oct 10 18:06:41 2012
+++ src/share/man/man4/smscmon.4	Wed Jun  1 02:15:26 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: smscmon.4,v 1.4 2012/10/10 18:06:41 njoly Exp $
+.\"	$NetBSD: smscmon.4,v 1.5 2016/06/01 02:15:26 pgoyette Exp $
 .\"
 .\" Copyright (c) 2009 Takahiro Hayashi
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 21, 2010
+.Dd June 1, 2016
 .Dt SMSCMON 4
 .Os
 .Sh NAME
@@ -55,7 +55,7 @@ The chip supports 11 sensor inputs:
 .It Li "+1.8V" Ta "uV DC" Ta "1.8V Supply"
 .It Li "Remote Temp1" Ta "uK" Ta "CPU temperature"
 .It Li "Ambient Temp" Ta "uK" Ta "Local chip temperature"
-.It Li "Remote Temp2" Ta "uK"
+.It Li "Remote Temp2" Ta "uK" Ta ""
 .El
 .Sh SEE ALSO
 .Xr envsys 4 ,

Index: src/share/man/man4/swsensor.4
diff -u src/share/man/man4/swsensor.4:1.12 src/share/man/man4/swsensor.4:1.13
--- src/share/man/man4/swsensor.4:1.12	Mon Aug 27 20:52:40 2012
+++ src/share/man/man4/swsensor.4	Wed Jun  1 02:15:26 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: swsensor.4,v 1.12 2012/08/27 20:52:40 wiz Exp $
+.\"	$NetBSD: swsensor.4,v 1.13 2016/06/01 02:15:26 pgoyette Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd August 27, 2012
+.Dd June 1, 2016
 .Dt SWSENSOR 4
 .Os
 .Sh NAME
@@ -96,7 +96,7 @@ Any of the string values from the follow
 .It "Voltage DC"   Ta "Ohms"  Ta "Watts"
 .It "Ampere"   Ta "Watt hour" Ta "Ampere hour"
 .It "Indicator"Ta "Integer"   Ta "Drive"
-.It "Battery capacity" Ta "Battery charge"
+.It "Battery capacity" Ta "Battery charge" Ta ""
 .El
 (Values are case-sensitive, and spaces must be included.)
 .It Li "value"



CVS commit: src/share/man/man9

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 02:06:54 UTC 2016

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

Log Message:
Fix spello.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man9/sysmon_pswitch.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/sysmon_pswitch.9
diff -u src/share/man/man9/sysmon_pswitch.9:1.6 src/share/man/man9/sysmon_pswitch.9:1.7
--- src/share/man/man9/sysmon_pswitch.9:1.6	Tue Jan  6 15:39:54 2015
+++ src/share/man/man9/sysmon_pswitch.9	Wed Jun  1 02:06:54 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: sysmon_pswitch.9,v 1.6 2015/01/06 15:39:54 bouyer Exp $
+.\" $NetBSD: sysmon_pswitch.9,v 1.7 2016/06/01 02:06:54 pgoyette Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -45,7 +45,7 @@
 The machine-independent
 .Nm
 provides a framework for power management.
-The interface has been largely superceded by the
+The interface has been largely superseded by the
 .Xr pmf 9
 framework, but
 .Nm



CVS commit: src/share/man/man9

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 02:05:10 UTC 2016

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

Log Message:
Use .An for authors.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man9/rt_timer.9
cvs rdiff -u -r1.25 -r1.26 src/share/man/man9/scsipi.9
cvs rdiff -u -r1.7 -r1.8 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/rt_timer.9
diff -u src/share/man/man9/rt_timer.9:1.13 src/share/man/man9/rt_timer.9:1.14
--- src/share/man/man9/rt_timer.9:1.13	Tue Sep 17 19:58:03 2013
+++ src/share/man/man9/rt_timer.9	Wed Jun  1 02:05:10 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: rt_timer.9,v 1.13 2013/09/17 19:58:03 wiz Exp $
+.\"	$NetBSD: rt_timer.9,v 1.14 2016/06/01 02:05:10 pgoyette Exp $
 .\"
 .\" Copyright (c) 1998 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -28,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 23, 1998
+.Dd June 1, 2016
 .Dt RT_TIMER 9
 .Os
 .Sh NAME
@@ -129,5 +129,6 @@ interface appeared in
 .Sh AUTHORS
 This interface is roughly based on (but, alas, not compatible with) one
 designed by David Borman of BSDI.
-This implementation is by Kevin Lahey of the Numerical Aerospace
-Simulation Facility, NASA Ames Research Center.
+This implementation is by
+.An Kevin Lahey
+of the Numerical Aerospace Simulation Facility, NASA Ames Research Center.

Index: src/share/man/man9/scsipi.9
diff -u src/share/man/man9/scsipi.9:1.25 src/share/man/man9/scsipi.9:1.26
--- src/share/man/man9/scsipi.9:1.25	Mon Mar 22 18:58:33 2010
+++ src/share/man/man9/scsipi.9	Wed Jun  1 02:05:10 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: scsipi.9,v 1.25 2010/03/22 18:58:33 joerg Exp $
+.\"	$NetBSD: scsipi.9,v 1.26 2016/06/01 02:05:10 pgoyette Exp $
 .\"
 .\"
 .\" Copyright (c) 2001 Manuel Bouyer.
@@ -24,7 +24,7 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\"
-.Dd December 20, 2005
+.Dd June 1, 2016
 .Dt SCSIPI 9
 .Os
 .Sh NAME
@@ -596,5 +596,7 @@ interface appeared in
 .Sh AUTHORS
 The
 .Nm
-interface was designed and implemented by Jason R. Thorpe.
-Manuel Bouyer converted most drivers to the new interface.
+interface was designed and implemented by
+.An Jason R. Thorpe .
+.An Manuel Bouyer
+converted most drivers to the new interface.

Index: src/share/man/man9/ubc.9
diff -u src/share/man/man9/ubc.9:1.7 src/share/man/man9/ubc.9:1.8
--- src/share/man/man9/ubc.9:1.7	Tue Jun 14 00:19:20 2011
+++ src/share/man/man9/ubc.9	Wed Jun  1 02:05:10 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ubc.9,v 1.7 2011/06/14 00:19:20 rmind Exp $
+.\"	$NetBSD: ubc.9,v 1.8 2016/06/01 02:05:10 pgoyette Exp $
 .\"
 .\" Copyright (c) 1998 Matthew R. Green
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd June 14, 2011
+.Dd June 1, 2016
 .Dt UBC 9
 .Os
 .Sh NAME
@@ -145,7 +145,7 @@ subsystem is implemented within the file
 UBC first appeared in
 .Nx 1.6 .
 .Sh AUTHORS
-Chuck Silvers
+.An Chuck Silvers
 .Aq 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-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 02:02:11 UTC 2016

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

Log Message:
Use .An for authors.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/share/man/man9/pmc.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/pmc.9
diff -u src/share/man/man9/pmc.9:1.12 src/share/man/man9/pmc.9:1.13
--- src/share/man/man9/pmc.9:1.12	Wed Feb 22 19:04:38 2012
+++ src/share/man/man9/pmc.9	Wed Jun  1 02:02:11 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: pmc.9,v 1.12 2012/02/22 19:04:38 njoly Exp $
+.\" $NetBSD: pmc.9,v 1.13 2016/06/01 02:02:11 pgoyette Exp $
 .\"
 .\" Copyright (c) 2002, 2005 Wasabi Systems, Inc.
 .\" All rights reserved.
@@ -33,7 +33,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 14, 2010
+.Dd June 1, 2016
 .Dt PMC 9
 .Os
 .Sh NAME
@@ -253,7 +253,10 @@ interface appeared in
 .Sh AUTHORS
 The
 .Nm
-interface was designed and implemented by Allen Briggs for Wasabi Systems, Inc.
+interface was designed and implemented by
+.An Allen Briggs
+for Wasabi Systems, Inc.
 Additional input on the
 .Nm
-design was provided by Jason R. Thorpe.
+design was provided by
+.An Jason R. Thorpe .



CVS commit: src/share/man/man9

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 02:00:10 UTC 2016

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

Log Message:
Use .An for authors.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/share/man/man9/pfil.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/pfil.9
diff -u src/share/man/man9/pfil.9:1.33 src/share/man/man9/pfil.9:1.34
--- src/share/man/man9/pfil.9:1.33	Thu Aug 22 07:17:11 2013
+++ src/share/man/man9/pfil.9	Wed Jun  1 02:00:10 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pfil.9,v 1.33 2013/08/22 07:17:11 wiz Exp $
+.\"	$NetBSD: pfil.9,v 1.34 2016/06/01 02:00:10 pgoyette Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd August 22, 2013
+.Dd June 1, 2016
 .Dt PFIL 9
 .Os
 .Sh NAME
@@ -174,10 +174,17 @@ as well as be less IP-centric.
 .Sh AUTHORS
 The
 .Nm
-interface was designed and implemented by Matthew R. Green, with help
-from Darren Reed, Jason R. Thorpe and Charles M. Hannum.
-Darren Reed added support for IPv6 in addition to IPv4.
-Jason R. Thorpe added support for multiple hooks and other clean up.
+interface was designed and implemented by
+.An Matthew R. Green ,
+with help from
+.An Darren Reed ,
+.An Jason R. Thorpe ,
+and
+.An Charles M. Hannum .
+.An Darren Reed
+added support for IPv6 in addition to IPv4.
+.An Jason R. Thorpe
+added support for multiple hooks and other clean up.
 .Sh BUGS
 The current
 .Nm



CVS commit: src/share/man/man9

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 01:57:31 UTC 2016

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

Log Message:
Use .An for authors.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 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.46 src/share/man/man9/bus_space.9:1.47
--- src/share/man/man9/bus_space.9:1.46	Thu Jul 19 17:48:55 2012
+++ src/share/man/man9/bus_space.9	Wed Jun  1 01:57:31 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: bus_space.9,v 1.46 2012/07/19 17:48:55 jdf Exp $
+.\" $NetBSD: bus_space.9,v 1.47 2016/06/01 01:57:31 pgoyette Exp $
 .\"
 .\" Copyright (c) 1997 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 6, 2011
+.Dd June 1, 2016
 .Dt BUS_SPACE 9
 .Os
 .Sh NAME
@@ -1994,9 +1994,14 @@ interfaces were designed and implemented
 .Nx
 developer
 community.
-Primary contributors and implementors were Chris Demetriou,
-Jason Thorpe, and Charles Hannum, but the rest of the
+Primary contributors and implementors were
+.An Chris Demetriou ,
+.An Jason Thorpe,
+and
+.An Charles Hannum ,
+but the rest of the
 .Nx
 developers and the user community played a significant role in development.
 .Pp
-Chris Demetriou wrote this manual page.
+,An Chris Demetriou
+wrote this manual page.



CVS commit: src/share/man/man9

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 01:55:18 UTC 2016

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

Log Message:
Use .An for author names.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/share/man/man9/bus_dma.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.59 src/share/man/man9/bus_dma.9:1.60
--- src/share/man/man9/bus_dma.9:1.59	Wed Oct 30 04:16:44 2013
+++ src/share/man/man9/bus_dma.9	Wed Jun  1 01:55:18 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: bus_dma.9,v 1.59 2013/10/30 04:16:44 msaitoh Exp $
+.\" $NetBSD: bus_dma.9,v 1.60 2016/06/01 01:55:18 pgoyette Exp $
 .\"
 .\" Copyright (c) 1996, 1997, 1998, 2001, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -28,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd July 8, 2011
+.Dd June 1, 2016
 .Dt BUS_DMA 9
 .Os
 .Sh NAME
@@ -841,9 +841,17 @@ interface appeared in
 .Sh AUTHORS
 The
 .Nm
-interface was designed and implemented by Jason R. Thorpe of the
+interface was designed and implemented by
+.An Jason R. Thorpe
+of the
 Numerical Aerospace Simulation Facility, NASA Ames Research Center.
 Additional input on the
 .Nm
-design was provided by Chris Demetriou, Charles Hannum, Ross Harvey,
-Matthew Jacob, Jonathan Stone, and Matt Thomas.
+design was provided by
+.An Chris Demetriou ,
+.An Charles Hannum ,
+.An Ross Harvey ,
+.An Matthew Jacob ,
+.An Jonathan Stone ,
+and
+.An Matt Thomas.



CVS commit: src/share/man/man8

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 01:52:19 UTC 2016

Modified Files:
src/share/man/man8: compat_ibcs2.8

Log Message:
Move the .Pp to after the .El

from PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man8/compat_ibcs2.8

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/man8/compat_ibcs2.8
diff -u src/share/man/man8/compat_ibcs2.8:1.7 src/share/man/man8/compat_ibcs2.8:1.8
--- src/share/man/man8/compat_ibcs2.8:1.7	Mon Nov 21 15:11:45 2011
+++ src/share/man/man8/compat_ibcs2.8	Wed Jun  1 01:52:19 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: compat_ibcs2.8,v 1.7 2011/11/21 15:11:45 wiz Exp $
+.\"	$NetBSD: compat_ibcs2.8,v 1.8 2016/06/01 01:52:19 pgoyette Exp $
 .\"
 .\" Copyright (c) 1998 Scott Bartram
 .\" Copyright (c) 1995 Frank van der Linden
@@ -32,7 +32,7 @@
 .\"
 .\" Based on compat_linux.8
 .\"
-.Dd February 8, 1998
+.Dd June 1, 2016
 .Dt COMPAT_IBCS2 8
 .Os
 .Sh NAME
@@ -159,8 +159,8 @@ following files on your system:
 .Pa /emul/ibcs2/usr/lib/libndbm.so
 .Pa /emul/ibcs2/usr/lib/libsocket.so.1
 .Ed
-.Pp
 .El
+.Pp
 If you don't have access to a SCO system, you will need to get the
 extra files you need from a SCO distribution.
 As of January 1998, SCO



CVS commit: src/share/man/man4

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 01:46:51 UTC 2016

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

Log Message:
Use .An for author names.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.4 src/share/man/man4/ss.4:1.5
--- src/share/man/man4/ss.4:1.4	Thu Mar 11 21:24:32 2004
+++ src/share/man/man4/ss.4	Wed Jun  1 01:46:51 2016
@@ -1,6 +1,6 @@
-.\"	$NetBSD: ss.4,v 1.4 2004/03/11 21:24:32 wiz Exp $
+.\"	$NetBSD: ss.4,v 1.5 2016/06/01 01:46:51 pgoyette Exp $
 .\"
-.Dd March 11, 2004
+.Dd June 1, 2016
 .Dt SS 4
 .Os
 .Sh NAME
@@ -37,8 +37,8 @@ operations only.
 .Xr scsi 4 ,
 .Xr uk 4
 .Sh AUTHORS
-Kenneth Stailey,
-Joachim Koenig
+.An Kenneth Stailey ,
+.An Joachim Koenig
 .Sh BUGS
 Only a limited number of
 .Tn HP Scanjet



CVS commit: src/share/man/man4

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 01:44:22 UTC 2016

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

Log Message:
Use .An for author names.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 src/share/man/man4/sony.4:1.3
--- src/share/man/man4/sony.4:1.2	Wed Apr 30 13:10:54 2008
+++ src/share/man/man4/sony.4	Wed Jun  1 01:44:22 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: sony.4,v 1.2 2008/04/30 13:10:54 martin Exp $
+.\" $NetBSD: sony.4,v 1.3 2016/06/01 01:44:22 pgoyette Exp $
 .\"
 .\" Copyright (c) 2005 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 23, 2007
+.Dd June 1, 2016
 .Dt SONY 4
 .Os
 .Sh NAME
@@ -109,8 +109,10 @@ driver
 appeared in
 .Nx 4.0 .
 .Sh AUTHORS
-Sami Kantoluoto for the original driver and manual information.
-Christos Zoulas for cleaning up the driver and this manual page.
+.An Sami Kantoluoto
+for the original driver and manual information.
+.An Christos Zoulas
+for cleaning up the driver and this manual page.
 .Sh BUGS
 .Bl -bullet
 .It



CVS commit: src/share/man/man4

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 01:41:27 UTC 2016

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

Log Message:
Remove trailing space.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/nsclpcsio.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/nsclpcsio.4
diff -u src/share/man/man4/nsclpcsio.4:1.3 src/share/man/man4/nsclpcsio.4:1.4
--- src/share/man/man4/nsclpcsio.4:1.3	Mon May 18 12:00:46 2009
+++ src/share/man/man4/nsclpcsio.4	Wed Jun  1 01:41:27 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: nsclpcsio.4,v 1.3 2009/05/18 12:00:46 wiz Exp $
+.\" $NetBSD: nsclpcsio.4,v 1.4 2016/06/01 01:41:27 pgoyette Exp $
 .\"
 .Dd November 9, 2007
 .Dt NSCLPCSIO 4
@@ -12,7 +12,7 @@
 .Sh DESCRIPTION
 The
 .Nm
-driver provides support for the 
+driver provides support for the
 .Tn National Semiconductor
 PC87366 LPC Super I/O.
 The Super I/O incorporates several logical



CVS commit: src/share/man/man4

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 01:39:52 UTC 2016

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

Log Message:
Use .An markup for author names.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 src/share/man/man4/mc.4:1.3
--- src/share/man/man4/mc.4:1.2	Sat Sep 13 00:50:57 2008
+++ src/share/man/man4/mc.4	Wed Jun  1 01:39:52 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: mc.4,v 1.2 2008/09/13 00:50:57 reed Exp $
+.\"	$NetBSD: mc.4,v 1.3 2016/06/01 01:39:52 pgoyette Exp $
 .\"
 .\" Copyright (c) 1997 David Huang 
 .\" All rights reserved.
@@ -22,7 +22,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 13, 1997
+.Dd June 1, 2016
 .Dt MC 4
 .Os
 .Sh NAME
@@ -81,9 +81,12 @@ interface first appeared in
 .Sh AUTHORS
 The
 .Nm
-Ethernet driver was written by Dave Huang
+Ethernet driver was written by
+.An Dave Huang
 .Aq k...@bga.com .
-The man page was written by Thomas Klausner
+The man page was written by
+.An Thomas Klausner
 .Aq w...@netbsd.org
-and Michael Wolfson
+and
+.An Michael Wolfson
 .Aq m...@netbsd.org .



CVS commit: src/share/man/man4

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 01:34:43 UTC 2016

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

Log Message:
Remove trailing space.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/cgd.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/cgd.4
diff -u src/share/man/man4/cgd.4:1.18 src/share/man/man4/cgd.4:1.19
--- src/share/man/man4/cgd.4:1.18	Sun Dec  1 00:17:14 2013
+++ src/share/man/man4/cgd.4	Wed Jun  1 01:34:43 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: cgd.4,v 1.18 2013/12/01 00:17:14 christos Exp $
+.\" $NetBSD: cgd.4,v 1.19 2016/06/01 01:34:43 pgoyette Exp $
 .\"
 .\" Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -50,7 +50,7 @@ To do this, add a line similar to:
 pseudo-device   cgd # cryptographic disk driver
 .Ed
 .Pp
-The 
+The
 .Nm
 devices are allocated as needed.
 .Ss Encryption Algorithms



CVS commit: src/share/man/man4

2016-05-31 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Wed Jun  1 01:33:10 UTC 2016

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

Log Message:
Fix formatting.  From PR misc/49516


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man4/aac.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/aac.4
diff -u src/share/man/man4/aac.4:1.14 src/share/man/man4/aac.4:1.15
--- src/share/man/man4/aac.4:1.14	Sat Feb 19 10:54:31 2011
+++ src/share/man/man4/aac.4	Wed Jun  1 01:33:10 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: aac.4,v 1.14 2011/02/19 10:54:31 jmcneill Exp $
+.\"	$NetBSD: aac.4,v 1.15 2016/06/01 01:33:10 pgoyette Exp $
 .\"
 .\" Copyright (c) 2000 Scott Long
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\" from FreeBSD: aac.4,v 1.18 2001/09/27 21:52:42 scottl Exp
-.Dd February 19, 2011
+.Dd June 1, 2016
 .Dt AAC 4
 .Os
 .Sh NAME
@@ -76,8 +76,8 @@ HP NetRAID 4M
 HP ML110 G2 (Adaptec SATA RAID 2610SA)
 .It
 IBM ServeRAID 8k
-.Pp
 .El
+.Pp
 Access to RAID containers is available via the
 .Nm ld
 device driver.



CVS commit: src/share/man/man3

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

Modified Files:
src/share/man/man3: assert.3

Log Message:
Fix AT&T version reference.  From PR misc/49519


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man3/assert.3

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/man3/assert.3
diff -u src/share/man/man3/assert.3:1.13 src/share/man/man3/assert.3:1.14
--- src/share/man/man3/assert.3:1.13	Tue Jan 23 20:32:05 2007
+++ src/share/man/man3/assert.3	Wed Jun  1 01:31:11 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: assert.3,v 1.13 2007/01/23 20:32:05 wiz Exp $
+.\"	$NetBSD: assert.3,v 1.14 2016/06/01 01:31:11 pgoyette Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" @(#)assert.3	8.1 (Berkeley) 6/9/93
 .\"
-.Dd January 22, 2007
+.Dd June 1, 2016
 .Dt ASSERT 3
 .Os
 .Sh NAME
@@ -92,7 +92,7 @@ macro conforms to
 A
 .Nm
 macro appeared in
-.At v6 .
+.At v7 .
 .Pp
 Information on the name of the enclosing function appeared in
 .St -isoC-99 .



CVS commit: src/share/man/man3

2016-05-31 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue May 31 08:24:43 UTC 2016

Modified Files:
src/share/man/man3: queue.3

Log Message:
Remove trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/share/man/man3/queue.3

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/man3/queue.3
diff -u src/share/man/man3/queue.3:1.52 src/share/man/man3/queue.3:1.53
--- src/share/man/man3/queue.3:1.52	Tue May 31 06:00:38 2016
+++ src/share/man/man3/queue.3	Tue May 31 08:24:43 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: queue.3,v 1.52 2016/05/31 06:00:38 pgoyette Exp $
+.\"	$NetBSD: queue.3,v 1.53 2016/05/31 08:24:43 wiz Exp $
 .\"
 .\" Copyright (c) 2000, 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -1041,7 +1041,7 @@ TAILQ_FOREACH(np, \*[Am]head, entries)	/
 	/* Reverse traversal. */
 TAILQ_FOREACH_REVERSE(np, \*[Am]head, tailhead, entries)
 	np-\*[Gt] ...
-	
+
 while (TAILQ_FIRST(\*[Am]head) != NULL)	/* Delete. */
 	TAILQ_REMOVE(\*[Am]head, TAILQ_FIRST(\*[Am]head), entries);
 if (TAILQ_EMPTY(\*[Am]head))			/* Test for emptiness. */



CVS commit: src/share/man/man3

2016-05-30 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue May 31 06:00:39 UTC 2016

Modified Files:
src/share/man/man3: queue.3

Log Message:
Correct list of operations to note that SLISTs and SIMPLEQs cannot insert
entries before existing entries.  This can only be done for LISTs and
TAILQs.

Fixes PR kern/50845


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/share/man/man3/queue.3

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/man3/queue.3
diff -u src/share/man/man3/queue.3:1.51 src/share/man/man3/queue.3:1.52
--- src/share/man/man3/queue.3:1.51	Tue Feb  2 12:25:24 2016
+++ src/share/man/man3/queue.3	Tue May 31 06:00:38 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: queue.3,v 1.51 2016/02/02 12:25:24 ryoon Exp $
+.\"	$NetBSD: queue.3,v 1.52 2016/05/31 06:00:38 pgoyette Exp $
 .\"
 .\" Copyright (c) 2000, 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -53,7 +53,7 @@
 .\"
 .\"	@(#)queue.3	8.1 (Berkeley) 12/13/93
 .\"
-.Dd February 2, 2016
+.Dd May 31, 2016
 .Dt QUEUE 3
 .Os
 .Sh NAME
@@ -256,7 +256,7 @@ All five structures support the followin
 .It
 Insertion of a new entry at the head of the list.
 .It
-Insertion of a new entry before or after any element in the list.
+Insertion of a new entry after any element in the list.
 .It
 Removal of any entry in the list.
 .It



CVS commit: src/share/man/man7

2016-05-25 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed May 25 20:47:57 UTC 2016

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Punctuation nit.


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/share/man/man7/sysctl.7

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/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.100 src/share/man/man7/sysctl.7:1.101
--- src/share/man/man7/sysctl.7:1.100	Wed May 25 19:52:32 2016
+++ src/share/man/man7/sysctl.7	Wed May 25 20:47:57 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.100 2016/05/25 19:52:32 christos Exp $
+.\"	$NetBSD: sysctl.7,v 1.101 2016/05/25 20:47:57 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -456,7 +456,7 @@ Mapping of CPU number to CPU id.
 .It Li kern.cp_time ( Dv KERN_CP_TIME )
 Returns an array of
 .Dv CPUSTATES
-.Vt uint64_t Ns s.
+.Vt uint64_t Ns s .
 This array contains the
 number of clock ticks spent in different CPU states.
 On multi-processor systems, the sum across all CPUs is returned unless



CVS commit: src/share/man/man7

2016-05-25 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed May 25 19:52:32 UTC 2016

Modified Files:
src/share/man/man7: sysctl.7

Log Message:
Document security.pax.mprotect.ptrace


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 src/share/man/man7/sysctl.7

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/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.99 src/share/man/man7/sysctl.7:1.100
--- src/share/man/man7/sysctl.7:1.99	Wed Mar 30 01:55:04 2016
+++ src/share/man/man7/sysctl.7	Wed May 25 15:52:32 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.99 2016/03/30 05:55:04 ozaki-r Exp $
+.\"	$NetBSD: sysctl.7,v 1.100 2016/05/25 19:52:32 christos Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)sysctl.3	8.4 (Berkeley) 5/9/95
 .\"
-.Dd March 30, 2016
+.Dd May 25, 2016
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -2414,6 +2414,7 @@ The available third and fourth level nam
 .\".It Li security.pax.aslr.stack_len	integer	yes
 .It Li security.pax.mprotect.enabled	integer	yes
 .It Li security.pax.mprotect.global	integer	yes
+.It Li security.pax.mprotect.ptrace	integer	yes
 .It Li security.pax.segvguard.enabled	integer	yes
 .It Li security.pax.segvguard.expiry_timeout	integer	yes
 .It Li security.pax.segvguard.global	integer	yes
@@ -2461,6 +2462,19 @@ except those exempted with
 Otherwise, all programs will not get the PaX MPROTECT restrictions,
 except those specifically marked as such with
 .Xr paxctl 8 .
+.It Li security.pax.mprotect.ptrace
+This variable allows
+.Xr ptrace 2
+to override PaX MPROTECT permissions.
+It can have the following values:
+.Bl -tag -width XX -compact
+.It 0
+Does not let override any permissions.
+.It 1
+Disables PaX MPROTECT from processes that start executing while traced (default).
+.It 2
+Bypasses PaX MPROTECT for all processes being traced.
+.El
 .It Li security.pax.segvguard.enabled
 Enable PaX Segvguard.
 .Pp



CVS commit: src/share/man/man7

2016-05-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat May 21 21:07:43 UTC 2016

Modified Files:
src/share/man/man7: security.7

Log Message:
Mention MPROTECT issues


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man7/security.7

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/man7/security.7
diff -u src/share/man/man7/security.7:1.13 src/share/man/man7/security.7:1.14
--- src/share/man/man7/security.7:1.13	Sun Jun 14 12:56:36 2015
+++ src/share/man/man7/security.7	Sat May 21 17:07:43 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: security.7,v 1.13 2015/06/14 16:56:36 christos Exp $
+.\" $NetBSD: security.7,v 1.14 2016/05/21 21:07:43 christos Exp $
 .\"
 .\" Copyright (c) 2006, 2011 Elad Efrat 
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 14, 2015
+.Dd May 21, 2016
 .Dt SECURITY 7
 .Os
 .Sh NAME
@@ -197,6 +197,23 @@ globally:
 .Bd -literal -offset indent
 # sysctl -w security.pax.mprotect.global=1
 .Ed
+.Pp
+PaX MPROTECT affects the following three uses:
+.Bl -bullet -offset indent
+.It
+Processes that utilize code generation (such as the JVM) might need to have
+MPROTECT disabled.
+.It
+Miscompiled programs that have text relocations, will now core dump instead
+of having their relocations corrected.
+You will need to fix those programs (recompile them properly).
+.It
+Debugger breakpoints:
+.Xr gdb 1
+needs to be able to write to the text segment in order to insert and
+delete breakpoints.
+This will not work unless MPROTECT is disabled on the executable.
+.El
 .Ss PaX Segvguard
 .Em PaX Segvguard
 monitors the number of segmentation faults in a program on a per-user basis,



CVS commit: src/share/man/man9

2016-05-08 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun May  8 10:13:01 UTC 2016

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

Log Message:
Remove unnecessary Ns macro.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man9/wapbl.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/wapbl.9
diff -u src/share/man/man9/wapbl.9:1.13 src/share/man/man9/wapbl.9:1.14
--- src/share/man/man9/wapbl.9:1.13	Sat May  7 16:01:00 2016
+++ src/share/man/man9/wapbl.9	Sun May  8 10:13:01 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: wapbl.9,v 1.13 2016/05/07 16:01:00 riastradh Exp $
+.\"	$NetBSD: wapbl.9,v 1.14 2016/05/08 10:13:01 wiz Exp $
 .\"
 .\" Copyright (c) 2015 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -279,7 +279,7 @@ must be
 is a callback that
 .Nm
 will invoke as
-.Fa flushfn Ns ( Fa mp , Fa deallocblks , Fa dealloclens , Fa dealloccnt )
+.Fa flushfn ( Fa mp , Fa deallocblks , Fa dealloclens , Fa dealloccnt )
 just before it flushes a transaction to disk, with the an exclusive
 lock held on the transaction, where
 .Fa mp



CVS commit: src/share/man/man9

2016-05-07 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat May  7 16:01:00 UTC 2016

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

Log Message:
Clarify wording about shared and exclusive locks.

Maybe this isn't important for users of wapbl, but it likely is
helpful for working in wapbl internals.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/share/man/man9/wapbl.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/wapbl.9
diff -u src/share/man/man9/wapbl.9:1.12 src/share/man/man9/wapbl.9:1.13
--- src/share/man/man9/wapbl.9:1.12	Sat May  7 06:47:44 2016
+++ src/share/man/man9/wapbl.9	Sat May  7 16:01:00 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: wapbl.9,v 1.12 2016/05/07 06:47:44 riastradh Exp $
+.\"	$NetBSD: wapbl.9,v 1.13 2016/05/07 16:01:00 riastradh Exp $
 .\"
 .\" Copyright (c) 2015 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -156,22 +156,31 @@ method should call
 .Pp
 Before issuing any
 .Xr buffercache 9
-writes, the file system must lock the current
+writes, the file system must acquire a shared lock on the current
 .Nm
 transaction with
 .Fn wapbl_begin ,
 which may sleep until there is room in the transaction for new writes.
-After issuing the writes, the file system must unlock the transaction
-with
+After issuing the writes, the file system must release its shared lock
+on the transaction with
 .Fn wapbl_end .
 Either all writes issued between
 .Fn wapbl_begin
 and
 .Fn wapbl_end
 will complete, or none of them will.
+.Pp
+File systems may also witness an
+.Em exclusive
+lock on the current transaction when
+.Nm
+is flushing the transaction to disk, or aborting a flush, and invokes a
+file system's callback.
 File systems can assert that the transaction is locked with
 .Fn wapbl_jlock_assert ,
-or not exclusively locked, with
+or not
+.Em exclusively
+locked, with
 .Fn wapbl_junlock_assert .
 .Pp
 If a file system requires multiple transactions to initialize an
@@ -271,8 +280,8 @@ is a callback that
 .Nm
 will invoke as
 .Fa flushfn Ns ( Fa mp , Fa deallocblks , Fa dealloclens , Fa dealloccnt )
-just before it flushes a transaction to disk, with the transaction
-locked exclusively, where
+just before it flushes a transaction to disk, with the an exclusive
+lock held on the transaction, where
 .Fa mp
 is the mount point passed to
 .Fn wapbl_start ,
@@ -312,9 +321,10 @@ free memory associated with
 and return zero.
 .It Fn wapbl_begin wl file line
 Wait for space in the current transaction for new writes, flushing it
-if necessary, and lock it.
+if necessary, and acquire a shared lock on it.
 .Pp
-The lock is not exclusive: other threads may lock the transaction too.
+The lock is not exclusive: other threads may acquire shared locks on
+the transaction too.
 The lock is not recursive: a thread may not acquire it again without
 calling
 .Fa wapbl_end
@@ -328,15 +338,20 @@ and
 are the file name and line number of the caller for debugging
 purposes.
 .It Fn wapbl_end wl
-Unlock the transaction.
+Release a shared lock on the transaction acquired with
+.Fn wapbl_begin .
 .It Fn wapbl_flush wl wait
 Flush the current transaction to disk.
 If
 .Fa wait
 is nonzero, wait for all writes in the current transaction to
 complete.
+.Pp
+The current transaction must not be locked.
 .It Fn wapbl_discard wl
 Discard the current transaction, permanently losing any writes in it.
+.Pp
+The current transaction must not be locked.
 .It Fn wapbl_add_buf wl bp
 Add the buffer
 .Fa bp
@@ -421,7 +436,8 @@ and
 .Fn wapbl_end .
 .Pp
 There is no way to assert that the current transaction is not locked at
-all -- i.e., that the caller may lock the transaction with
+all -- i.e., that the caller may acquire a shared lock on the
+transaction with
 .Fn wapbl_begin
 without danger of deadlock.
 .El



CVS commit: src/share/man/man9

2016-05-07 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sat May  7 08:52:10 UTC 2016

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

Log Message:
Use Er for errors and Dq for double quoted strings. Whitespace nits.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/share/man/man9/namei.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/namei.9
diff -u src/share/man/man9/namei.9:1.36 src/share/man/man9/namei.9:1.37
--- src/share/man/man9/namei.9:1.36	Fri May  6 04:55:10 2016
+++ src/share/man/man9/namei.9	Sat May  7 08:52:10 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: namei.9,v 1.36 2016/05/06 04:55:10 dholland Exp $
+.\" $NetBSD: namei.9,v 1.37 2016/05/07 08:52:10 wiz Exp $
 .\"
 .\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -206,7 +206,7 @@ The
 mode is the baseline behavior, for all ordinary lookups that simply
 return a vnode.
 In this mode, if the requested object does not exist,
-.Dv ENOENT
+.Er ENOENT
 is returned.
 .Pp
 The
@@ -215,7 +215,7 @@ mode is used when doing the lookup for o
 the file system namespace, such as
 .Xr mkdir 2 .
 In this mode, if the requested name already exists,
-.Dv EEXIST
+.Er EEXIST
 is returned.
 Otherwise if the requested name does not exist, the lookup succeeds
 and the returned vnode
@@ -448,7 +448,7 @@ In the rare case that another set of cre
 namei operation,
 .Em ndp-\*[Gt]ni_cnd.cn_cred
 must be set manually after
-.Fn NDINIT.
+.Fn NDINIT .
 .It Fn NDAT "ndp" "dvp"
 This macro is used after
 .Fn NDINIT
@@ -684,7 +684,7 @@ The number of symbolic links encountered
 If this exceeds a limit,
 .Nm
 fails with
-.Dv ELOOP .
+.Er ELOOP .
 This is not initialized by
 .Fn NDINIT
 and is used only internally.
@@ -742,7 +742,7 @@ does a complete path lookup by calling
 .Fn namei_init ,
 .Fn namei_tryemulroot ,
 and
-.Fn namei_cleanup.
+.Fn namei_cleanup .
 .It Fn namei_init
 sets up the basic internal state and makes some (precondition-type)
 assertions.
@@ -775,8 +775,9 @@ initializes the root directory state (bo
 and
 .Fa ni_erootdir )
 and picks the starting directory, consuming the leading slashes of an
-absolute path and handling the magic ``/../'' string for bypassing the
-emulation root.
+absolute path and handling the magic
+.Dq /../
+string for bypassing the emulation root.
 A different version
 .Fn namei_getstartdir_for_nfsd
 is used for lookups coming from
@@ -806,7 +807,7 @@ than it is for
 The latter
 .Dq fails
 with
-.Dv EJUSTRETURN .
+.Er EJUSTRETURN .
 .Nm
 translates this into succeeding and returning a null vnode.
 .Sh CODE REFERENCES



CVS commit: src/share/man/man9

2016-05-06 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat May  7 06:47:44 UTC 2016

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

Log Message:
Omit confusing sentence.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man9/wapbl.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/wapbl.9
diff -u src/share/man/man9/wapbl.9:1.11 src/share/man/man9/wapbl.9:1.12
--- src/share/man/man9/wapbl.9:1.11	Sat May  7 05:46:35 2016
+++ src/share/man/man9/wapbl.9	Sat May  7 06:47:44 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: wapbl.9,v 1.11 2016/05/07 05:46:35 riastradh Exp $
+.\"	$NetBSD: wapbl.9,v 1.12 2016/05/07 06:47:44 riastradh Exp $
 .\"
 .\" Copyright (c) 2015 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -315,9 +315,6 @@ Wait for space in the current transactio
 if necessary, and lock it.
 .Pp
 The lock is not exclusive: other threads may lock the transaction too.
-However, if there is not enough space, another thread will obtain an
-exclusive lock in order to flush the transaction.
-.Pp
 The lock is not recursive: a thread may not acquire it again without
 calling
 .Fa wapbl_end



CVS commit: src/share/man/man9

2016-05-06 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat May  7 05:46:35 UTC 2016

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

Log Message:
Fix statement of what write-ahead means.  Contrast with roll-back.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man9/wapbl.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/wapbl.9
diff -u src/share/man/man9/wapbl.9:1.10 src/share/man/man9/wapbl.9:1.11
--- src/share/man/man9/wapbl.9:1.10	Wed Apr  1 22:51:33 2015
+++ src/share/man/man9/wapbl.9	Sat May  7 05:46:35 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: wapbl.9,v 1.10 2015/04/01 22:51:33 riastradh Exp $
+.\"	$NetBSD: wapbl.9,v 1.11 2016/05/07 05:46:35 riastradh Exp $
 .\"
 .\" Copyright (c) 2015 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -97,7 +97,8 @@ batches of writes are issued atomically 
 only physical blocks, not logical file system operations, are stored in
 the log
 .It write-ahead
-blocks are written to the log before being written to the disk
+before writing a block to disk, its new content, rather than its old
+content for roll-back, is recorded in the log
 .El
 .Pp
 When a file system using



CVS commit: src/share/man/man9

2016-05-05 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri May  6 04:55:10 UTC 2016

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

Log Message:
Revise/update. List the functions in a sensible order. Document all
the modes and flags. Document the structure fields properly.
Distinguish internals from public interfaces. Mention historic dead
flags like SAVESTART because they still exist in other projects.
Explain the current layout of vfs_lookup.c, or at least the primary
points of it.

Etc.

This ended up being a much larger rewrite than I intended.

Bump date again.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/share/man/man9/namei.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/namei.9
diff -u src/share/man/man9/namei.9:1.35 src/share/man/man9/namei.9:1.36
--- src/share/man/man9/namei.9:1.35	Thu May  5 17:06:41 2016
+++ src/share/man/man9/namei.9	Fri May  6 04:55:10 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: namei.9,v 1.35 2016/05/05 17:06:41 salazar Exp $
+.\" $NetBSD: namei.9,v 1.36 2016/05/06 04:55:10 dholland Exp $
 .\"
 .\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,43 +27,42 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 05, 2016
+.Dd May 6, 2016
 .Dt NAMEI 9
 .Os
 .Sh NAME
 .Nm namei ,
-.Nm lookup_for_nfsd ,
-.Nm lookup_for_nfsd_index ,
-.Nm relookup ,
 .Nm NDINIT ,
 .Nm NDAT ,
 .Nm namei_simple_kernel ,
 .Nm namei_simple_user
+.Nm relookup ,
+.Nm lookup_for_nfsd ,
+.Nm lookup_for_nfsd_index ,
 .Nd pathname lookup
 .Sh SYNOPSIS
 .In sys/namei.h
 .In sys/uio.h
 .In sys/vnode.h
-.Ft int
-.Fn namei "struct nameidata *ndp"
-.Ft int
-.Fn lookup_for_nfsd "struct nameidata *ndp" "struct vnode *startdir" \
-"int neverfollow"
-.Ft int
-.Fn lookup_for_nfsd_index "struct nameidata *ndp"
-.Ft int
-.Fn relookup "struct vnode *dvp" "struct vnode **vpp" \
-"struct componentname *cnp"
-.Ft void
 .Fn NDINIT "struct nameidata *ndp" "u_long op" "u_long flags" \
 "struct pathbuf *pathbuf"
 .Fn NDAT "struct nameidata *ndp" "struct vnode *dvp"
 .Ft int
+.Fn namei "struct nameidata *ndp"
+.Ft int
 .Fn namei_simple_kernel "const char *path" "namei_simple_flags_t sflags" \
 "struct vnode **ret"
 .Ft int
 .Fn namei_simple_user "const char *path" "namei_simple_flags_t sflags" \
 "struct vnode **ret"
+.Ft int
+.Fn relookup "struct vnode *dvp" "struct vnode **vpp" \
+"struct componentname *cnp"
+.Ft int
+.Fn lookup_for_nfsd "struct nameidata *ndp" "struct vnode *startdir" \
+"int neverfollow"
+.Ft int
+.Fn lookup_for_nfsd_index "struct nameidata *ndp"
 .Sh DESCRIPTION
 The
 .Nm
@@ -81,39 +80,61 @@ Except for the simple forms, the argumen
 encapsulated in the
 .Em nameidata
 structure.
-It has the following layout:
-.Bd -literal
-struct nameidata {
-	/*
-	 * Arguments to namei/lookup.
-	 */
-	struct vnode *ni_atdir;		/* startup dir, cwd if null */
-	struct pathbuf *ni_pathbuf;	/* pathname container */
-	char *ni_pnbuf;			/* extra pathname buffer ref (XXX) */
-	/*
-	 * Arguments to lookup.
-	 */
-	struct	vnode *ni_rootdir;	/* logical root directory */
-	struct	vnode *ni_erootdir;	/* emulation root directory */
-	/*
-	 * Results: returned from/manipulated by lookup
-	 */
-	struct	vnode *ni_vp;		/* vnode of result */
-	struct	vnode *ni_dvp;		/* vnode of intermediate directory */
-	/*
-	 * Shared between namei and lookup/commit routines.
-	 */
-	size_t		ni_pathlen;	/* remaining chars in path */
-	const char	*ni_next;	/* next location in pathname */
-	unsigned int	ni_loopcnt;	/* count of symlinks encountered */
-	/*
-	 * Lookup parameters: this structure describes the subset of
-	 * information from the nameidata structure that is passed
-	 * through the VOP interface.
-	 */
-	struct componentname ni_cnd;
-};
-.Ed
+The public interface to this structure is as follows.
+.Bl -offset indent
+.It
+It contains a member
+.Em ni_erootdir
+that may be set to the emulation root directory before the call if
+the
+.Dv EMULROOTSET
+flag is also set and
+.Dv TRYEMULROOT
+is in effect.
+This is only necessary (or allowed) if the emulation root is not yet
+set in the current process.
+.It
+It contains a member
+.Em ni_vp
+that upon successful return contains the result vnode.
+.It
+It contains a member
+.Em ni_dvp
+that upon successful return contains the vnode of the directory
+containing the result vnode or
+.Dv NULL .
+If the
+.Dv LOCKPARENT
+flag is set, the containing vnode is returned; otherwise this field is
+left set to
+.Dv NULL .
+.It
+It contains a member
+.Em ni_cnd
+that is a
+.Em componentname
+structure (described in just a moment).
+This may be used by callers to pass to certain vnode operations that
+operate on pathnames.
+.El
+.Pp
+The other fields in the structure should not be examined or altered
+directly.
+Note that the
+.Xr nfs 4
+code misuses the
+.Em n

CVS commit: src/share/man/man4

2016-05-05 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri May  6 03:04:14 UTC 2016

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

Log Message:
Correct rc.conf variable for random seed.

Note that it is enabled by default.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/share/man/man4/rnd.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/rnd.4
diff -u src/share/man/man4/rnd.4:1.22 src/share/man/man4/rnd.4:1.23
--- src/share/man/man4/rnd.4:1.22	Mon Apr 13 22:23:54 2015
+++ src/share/man/man4/rnd.4	Fri May  6 03:04:14 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: rnd.4,v 1.22 2015/04/13 22:23:54 riastradh Exp $
+.\"	$NetBSD: rnd.4,v 1.23 2016/05/06 03:04:14 riastradh Exp $
 .\"
 .\" Copyright (c) 2014 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -199,10 +199,10 @@ kernel has started.
 For those that don't, the
 .Xr rndctl 8
 command can do it once userland has started, for example by setting
-.Dq Va rndctl=YES
+.Dq Va random_seed=YES
 in
-.Pa /etc/rc.conf ;
-see
+.Pa /etc/rc.conf ,
+which is enabled by default; see
 .Xr rc.conf 5 .
 .Sh LIMITATIONS
 Some people worry about recovery from state compromise -- that is,



CVS commit: src/share/man/man9

2016-05-05 Thread Guilherme Salazar
Module Name:src
Committed By:   salazar
Date:   Thu May  5 17:06:41 UTC 2016

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

Log Message:
update struct nameidata documentation


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/share/man/man9/namei.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/namei.9
diff -u src/share/man/man9/namei.9:1.34 src/share/man/man9/namei.9:1.35
--- src/share/man/man9/namei.9:1.34	Tue Apr 21 10:00:30 2015
+++ src/share/man/man9/namei.9	Thu May  5 17:06:41 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: namei.9,v 1.34 2015/04/21 10:00:30 wiz Exp $
+.\" $NetBSD: namei.9,v 1.35 2016/05/05 17:06:41 salazar Exp $
 .\"
 .\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 21, 2015
+.Dd May 05, 2016
 .Dt NAMEI 9
 .Os
 .Sh NAME
@@ -84,45 +84,54 @@ structure.
 It has the following layout:
 .Bd -literal
 struct nameidata {
-/*
- * Arguments to namei/lookup.
- */
-struct vnode *ni_startdir;  /* starting dir, cwd if null */
-struct pathbuf *ni_pathbuf; /* pathname container */
-char *ni_pnbuf; /* extra pathname buffer ref (XXX) */
-/*
- * Arguments to lookup.
- */
-struct  vnode *ni_startdir; /* starting directory */
-struct  vnode *ni_rootdir;  /* logical root directory */
-/*
- * Results: returned from/manipulated by lookup
- */
-struct  vnode *ni_vp;   /* vnode of result */
-struct  vnode *ni_dvp;  /* vnode of intermediate dir */
-/*
- * Shared between namei and lookup/commit routines.
- */
-size_t ni_pathlen;  /* remaining chars in path */
-const char *ni_next;/* next location in pathname */
-unsigned int ni_loopcnt;/* count of symlinks encountered */
-/*
- * Lookup parameters
- */
-struct componentname {
-/*
- * Arguments to lookup.
- */
-uint32_t cn_nameiop;/* namei operation */
-uint32_t cn_flags;  /* flags to namei */
-kauth_cred_t cn_cred;   /* credentials */
-/*
- * Shared between lookup and commit routines.
- */
-const char *cn_nameptr; /* pointer to looked up name */
-size_t cn_namelen;  /* length of looked up component */
-size_t cn_consume;  /* chars to be consumed this time */
-} ni_cnd;
+	/*
+	 * Arguments to namei/lookup.
+	 */
+	struct vnode *ni_atdir;		/* startup dir, cwd if null */
+	struct pathbuf *ni_pathbuf;	/* pathname container */
+	char *ni_pnbuf;			/* extra pathname buffer ref (XXX) */
+	/*
+	 * Arguments to lookup.
+	 */
+	struct	vnode *ni_rootdir;	/* logical root directory */
+	struct	vnode *ni_erootdir;	/* emulation root directory */
+	/*
+	 * Results: returned from/manipulated by lookup
+	 */
+	struct	vnode *ni_vp;		/* vnode of result */
+	struct	vnode *ni_dvp;		/* vnode of intermediate directory */
+	/*
+	 * Shared between namei and lookup/commit routines.
+	 */
+	size_t		ni_pathlen;	/* remaining chars in path */
+	const char	*ni_next;	/* next location in pathname */
+	unsigned int	ni_loopcnt;	/* count of symlinks encountered */
+	/*
+	 * Lookup parameters: this structure describes the subset of
+	 * information from the nameidata structure that is passed
+	 * through the VOP interface.
+	 */
+	struct componentname ni_cnd;
+};
+.Ed
+.Pp
+The
+.Em componentname
+structure has the following layout:
+.Bd -literal
+struct componentname {
+	/*
+	 * Arguments to lookup.
+	 */
+	uint32_t	cn_nameiop;	/* namei operation */
+	uint32_t	cn_flags;	/* flags to namei */
+	kauth_cred_t 	cn_cred;	/* credentials */
+	/*
+	 * Shared between lookup and commit routines.
+	 */
+	const char 	*cn_nameptr;	/* pointer to looked up name */
+	size_t		cn_namelen;	/* length of looked up comp */
+	size_t		cn_consume;	/* chars to consume in lookup */
 };
 .Ed
 .Pp



CVS commit: src/share/man/man4

2016-05-02 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  2 09:43:33 UTC 2016

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

Log Message:
Use Mt.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/nvme.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/nvme.4
diff -u src/share/man/man4/nvme.4:1.1 src/share/man/man4/nvme.4:1.2
--- src/share/man/man4/nvme.4:1.1	Sun May  1 10:21:01 2016
+++ src/share/man/man4/nvme.4	Mon May  2 09:43:33 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: nvme.4,v 1.1 2016/05/01 10:21:01 nonaka Exp $
+.\"	$NetBSD: nvme.4,v 1.2 2016/05/02 09:43:33 wiz Exp $
 .\"	$OpenBSD: nvme.4,v 1.2 2016/04/14 11:53:37 jmc Exp $
 .\"
 .\" Copyright (c) 2016 David Gwynne 
@@ -46,11 +46,11 @@ The
 .Nm
 driver was written by
 .An David Gwynne
-.Aq d...@openbsd.org
+.Aq Mt d...@openbsd.org
 for
 .Ox
 and ported to
 .Nx
 by
 .An NONAKA Kimihiro
-.Aq non...@netbsd.org .
+.Aq Mt non...@netbsd.org .



CVS commit: src/share/man/man8/man8.acorn26

2016-05-02 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon May  2 09:41:49 UTC 2016

Modified Files:
src/share/man/man8/man8.acorn26: boot26.8

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man8/man8.acorn26/boot26.8

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/man8/man8.acorn26/boot26.8
diff -u src/share/man/man8/man8.acorn26/boot26.8:1.6 src/share/man/man8/man8.acorn26/boot26.8:1.7
--- src/share/man/man8/man8.acorn26/boot26.8:1.6	Sat Apr 30 14:32:22 2016
+++ src/share/man/man8/man8.acorn26/boot26.8	Mon May  2 09:41:49 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: boot26.8,v 1.6 2016/04/30 14:32:22 jakllsch Exp $
+.\" $NetBSD: boot26.8,v 1.7 2016/05/02 09:41:49 wiz Exp $
 .\"
 .\" Copyright (c) 2000, 2001 Ben Harris
 .\" All rights reserved.
@@ -42,9 +42,10 @@ is a program that runs under
 .Tn RISC OS
 and launches the
 .Nx Ns /acorn26
-kernel.  It needs to be installed in a RISC OS
-filesystem and given file type FFA (Module).  The kernel it is to load
-also needs to be stored in a
+kernel.
+It needs to be installed in a RISC OS
+filesystem and given file type FFA (Module).
+The kernel it is to load also needs to be stored in a
 .Tn RISC OS
 filesystem.
 .Pp
@@ -56,7 +57,8 @@ variable in the booted kernel (see
 .It Fl a
 .Pq Dv RB_ASKNAME
 Cause the kernel to prompt the user for the name of the device containing the
-root filesystem.  This also causes
+root filesystem.
+This also causes
 .Nm
 to prompt for the name of the kernel to be loaded.
 .It Fl s
@@ -86,13 +88,13 @@ or from
 .Pa netbsd
 if
 .Ar file
-is not specified.  The file must be an ELF image, and may have been compressed
-using
+is not specified.
+The file must be an ELF image, and may have been compressed using
 .Xr gzip 1 .
 .Ss Use as a module
 .Nm
-is implemented as a RISC OS relocatable module.  It can be loaded into memory
-by running
+is implemented as a RISC OS relocatable module.
+It can be loaded into memory by running
 .Ql *RMLoad boot26 .
 After this,
 .Nx
@@ -113,10 +115,10 @@ the configured language using
 When it starts up,
 .Nm
 displays the current memory map.
-Each character in the map represents one page of (physical) RAM.  The
-ticks along the top are to stop you getting lost.  The characters in the
-map indicate what the memory's being used for (actually where it's
-logically mapped):
+Each character in the map represents one page of (physical) RAM.
+The ticks along the top are to stop you getting lost.
+The characters in the map indicate what the memory's being used for
+(actually where it's logically mapped):
 .Pp
 .Bd -literal -offset indent
 0 -\*[Gt] zero-page
@@ -138,7 +140,8 @@ half of the first line is potential scre
 The next page is usually zero page under RISC OS, and is used for
 zero page under
 .Nx
-as well.  The next is usually the system heap under RISC OS,
+as well.
+The next is usually the system heap under RISC OS,
 and is used for process 0's kernel stack under
 .Nx .
 The next is used for the message buffer under
@@ -146,10 +149,10 @@ The next is used for the message buffer 
 Pages from there on are used to load
 the kernel, and must be free if
 .Nm
-is to do so successfully.  Future
-bootloaders should load the kernel into whatever pages are free, then kick
-out RISC OS and shuffle them into the right shape.  This is left as an
-exercise for the enthusiastic reader.
+is to do so successfully.
+Future bootloaders should load the kernel into whatever pages are
+free, then kick out RISC OS and shuffle them into the right shape.
+This is left as an exercise for the enthusiastic reader.
 .Sh FILES
 .Bl -tag -width Pa
 .It Pa /usr/mdec/boot26,ffa



CVS commit: src/share/man/man4

2016-05-01 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon May  2 01:05:34 UTC 2016

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

Log Message:
Updated supported cards, from coypu in PR 51109


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/iwm.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/iwm.4
diff -u src/share/man/man4/iwm.4:1.3 src/share/man/man4/iwm.4:1.4
--- src/share/man/man4/iwm.4:1.3	Sun Nov 15 19:44:31 2015
+++ src/share/man/man4/iwm.4	Mon May  2 01:05:34 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: iwm.4,v 1.3 2015/11/15 19:44:31 plunky Exp $
+.\" $NetBSD: iwm.4,v 1.4 2016/05/02 01:05:34 dholland Exp $
 .\"
 .\" Copyright (c) 2015 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 8, 2015
+.Dd May 1, 2016
 .Dt IWM 4
 .Os
 .Sh NAME
@@ -38,18 +38,9 @@
 .Sh DESCRIPTION
 The
 .Nm
-driver provides support for the following cards:
-.Bl -tag
-.It Intel Wireless 7260
-.El
-The following cards could be supported with minor changes:
-.Bl -tag
-.It Intel Wireless 7265
-.It Intel Wireless 3160
-.El
-.Pp
-The Intel Wireless 7260 is a PCIe Half Mini Card network adapter
-that operates in the 2.4GHz and 5GHz spectra.
+driver provides support for
+.Tn Intel
+Wireless 7260, 7265, and 3160 PCIe Mini Card Dual Band network adapters.
 .Pp
 By default, the
 .Nm



CVS commit: src/share/man/man8

2016-04-30 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat Apr 30 14:32:23 UTC 2016

Modified Files:
src/share/man/man8/man8.acorn26: boot26.8
src/share/man/man8/man8.acorn32: boot32.8

Log Message:
Change RB_QUIET and RB_VERBOSE to AB_QUIET and AB_VERBOSE.

It appears RB_QUIET and RB_VERBOSE never existed as such.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man8/man8.acorn26/boot26.8
cvs rdiff -u -r1.3 -r1.4 src/share/man/man8/man8.acorn32/boot32.8

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/man8/man8.acorn26/boot26.8
diff -u src/share/man/man8/man8.acorn26/boot26.8:1.5 src/share/man/man8/man8.acorn26/boot26.8:1.6
--- src/share/man/man8/man8.acorn26/boot26.8:1.5	Fri Sep  4 23:29:03 2009
+++ src/share/man/man8/man8.acorn26/boot26.8	Sat Apr 30 14:32:22 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: boot26.8,v 1.5 2009/09/04 23:29:03 apb Exp $
+.\" $NetBSD: boot26.8,v 1.6 2016/04/30 14:32:22 jakllsch Exp $
 .\"
 .\" Copyright (c) 2000, 2001 Ben Harris
 .\" All rights reserved.
@@ -72,10 +72,10 @@ Cause the kernel to enter the kernel deb
 Enter the in-kernel device configuration manager before attaching any
 devices.
 .It Fl q
-.Pq Dv RB_QUIET
+.Pq Dv AB_QUIET
 Cause the kernel to emit fewer messages than normal while starting up.
 .It Fl v
-.Pq Dv RB_VERBOSE
+.Pq Dv AB_VERBOSE
 Cause the kernel to emit more messages than normal while starting up.
 .El
 .Pp

Index: src/share/man/man8/man8.acorn32/boot32.8
diff -u src/share/man/man8/man8.acorn32/boot32.8:1.3 src/share/man/man8/man8.acorn32/boot32.8:1.4
--- src/share/man/man8/man8.acorn32/boot32.8:1.3	Fri Sep  4 23:29:03 2009
+++ src/share/man/man8/man8.acorn32/boot32.8	Sat Apr 30 14:32:22 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: boot32.8,v 1.3 2009/09/04 23:29:03 apb Exp $
+.\" $NetBSD: boot32.8,v 1.4 2016/04/30 14:32:22 jakllsch Exp $
 .\"
 .\" Copyright (c) 2000, 2001 Ben Harris
 .\" Copyright (c) 2004 Reinoud Zandijk
@@ -79,10 +79,10 @@ Cause the kernel to enter the kernel deb
 Enter the in-kernel device configuration manager before attaching any
 devices.
 .It Fl q
-.Pq Dv RB_QUIET
+.Pq Dv AB_QUIET
 Cause the kernel to emit fewer messages than normal while starting up.
 .It Fl v
-.Pq Dv RB_VERBOSE
+.Pq Dv AB_VERBOSE
 Cause the kernel to emit more messages than normal while starting up.
 .El
 .Pp



CVS commit: src/share/man/man9

2016-04-27 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Apr 27 08:18:40 UTC 2016

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

Log Message:
Fix usages of PSLIST_ENTRY_* in the example code


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man9/psref.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/psref.9
diff -u src/share/man/man9/psref.9:1.4 src/share/man/man9/psref.9:1.5
--- src/share/man/man9/psref.9:1.4	Wed Apr 27 08:05:31 2016
+++ src/share/man/man9/psref.9	Wed Apr 27 08:18:40 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: psref.9,v 1.4 2016/04/27 08:05:31 ozaki-r Exp $
+.\"	$NetBSD: psref.9,v 1.5 2016/04/27 08:18:40 ozaki-r Exp $
 .\"
 .\" Copyright (c) 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -302,7 +302,7 @@ publish_as_frotz(uint64_t key, ...)
 	f = kmem_alloc(sizeof(*f), KM_SLEEP);
 	f->f_key = key;
 	f->f_... = ...;
-	PSLIST_ENTRY_INIT(&f->f_entry);
+	PSLIST_ENTRY_INIT(f, f_entry);
 	psref_target_init(&f->f_target, frobbotzim_prc);
 
 	mutex_enter(&frobbotzim.lock);
@@ -379,7 +379,7 @@ destroy_frotz(int key)
 	if (f != NULL) {
 		/* Wait for all readers to drain before freeing.  */
 		psref_target_destroy(&f->f_target, frobbotzim_prc);
-		PSLIST_ENTRY_DESTROY(&f->f_entry);
+		PSLIST_ENTRY_DESTROY(f, f_entry);
 		kmem_free(f, sizeof(*f));
 	}
 }



CVS commit: src/share/man/man9

2016-04-27 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Apr 27 08:05:31 UTC 2016

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

Log Message:
Fix usage of frobbotzim_prc in the example code


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man9/psref.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/psref.9
diff -u src/share/man/man9/psref.9:1.3 src/share/man/man9/psref.9:1.4
--- src/share/man/man9/psref.9:1.3	Fri Apr 15 17:55:58 2016
+++ src/share/man/man9/psref.9	Wed Apr 27 08:05:31 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: psref.9,v 1.3 2016/04/15 17:55:58 riastradh Exp $
+.\"	$NetBSD: psref.9,v 1.4 2016/04/27 08:05:31 ozaki-r Exp $
 .\"
 .\" Copyright (c) 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 8, 2016
+.Dd April 27, 2016
 .Dt PSREF 9
 .Os
 .\"
@@ -324,7 +324,7 @@ use_frotz(int key, int op)
 	do_stuff_with_frotz(f, op);
 
 	/* Release passive reference, possibly waking destroy_frotz.  */
-	psref_release(&ref, &f->f_psref, &frobbotzim_prc);
+	psref_release(&ref, &f->f_psref, frobbotzim_prc);
 
 	return 0;
 }
@@ -341,7 +341,7 @@ lookup_frotz(int key, struct psref *ref)
 		/* f is stable until pserialize_read_exit.  */
 		if (f->f_key == key) {
 			/* Acquire a passive reference.  */
-			psref_acquire(ref, &f->f_target, &frobbotzim_prc);
+			psref_acquire(ref, &f->f_target, frobbotzim_prc);
 			/* f is now stable until psref_release.  */
 			break;
 		}
@@ -378,7 +378,7 @@ destroy_frotz(int key)
 
 	if (f != NULL) {
 		/* Wait for all readers to drain before freeing.  */
-		psref_target_destroy(&f->f_target, &frobbotzim_prc);
+		psref_target_destroy(&f->f_target, frobbotzim_prc);
 		PSLIST_ENTRY_DESTROY(&f->f_entry);
 		kmem_free(f, sizeof(*f));
 	}



CVS commit: src/share/man/man9

2016-04-26 Thread Ryota Ozaki
Module Name:src
Committed By:   ozaki-r
Date:   Wed Apr 27 06:57:24 UTC 2016

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

Log Message:
Fix declaration of PSLIST_READER_FIRST


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man9/pslist.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/pslist.9
diff -u src/share/man/man9/pslist.9:1.15 src/share/man/man9/pslist.9:1.16
--- src/share/man/man9/pslist.9:1.15	Mon Apr 11 13:45:20 2016
+++ src/share/man/man9/pslist.9	Wed Apr 27 06:57:24 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pslist.9,v 1.15 2016/04/11 13:45:20 riastradh Exp $
+.\"	$NetBSD: pslist.9,v 1.16 2016/04/27 06:57:24 ozaki-r Exp $
 .\"
 .\" Copyright (c) 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 8, 2016
+.Dd April 27, 2016
 .Dt PSLIST 9
 .Os
 .\"
@@ -64,7 +64,7 @@
 .Fn PSLIST_WRITER_FOREACH "TYPE *element" "struct pslist_head *head" "TYPE" "PSLIST_ENTRY NAME"
 .\" Reader operations
 .Ft TYPE *
-.Fn PSLIST_READER_FIRST "TYPE *element" "TYPE" "PSLIST_ENTRY NAME"
+.Fn PSLIST_READER_FIRST "struct pslist *head" "TYPE" "PSLIST_ENTRY NAME"
 .Ft TYPE *
 .Fn PSLIST_READER_NEXT "TYPE *element" "TYPE" "PSLIST_ENTRY NAME"
 .Fn PSLIST_READER_FOREACH "TYPE *element" "struct pslist_head *head" "TYPE" "PSLIST_ENTRY NAME"



CVS commit: src/share/man/man9

2016-04-24 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Apr 24 15:11:26 UTC 2016

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

Log Message:
Remove trailing whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/share/man/man9/usbdi.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/usbdi.9
diff -u src/share/man/man9/usbdi.9:1.31 src/share/man/man9/usbdi.9:1.32
--- src/share/man/man9/usbdi.9:1.31	Sun Apr 24 15:03:18 2016
+++ src/share/man/man9/usbdi.9	Sun Apr 24 15:11:26 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: usbdi.9,v 1.31 2016/04/24 15:03:18 skrll Exp $
+.\"	$NetBSD: usbdi.9,v 1.32 2016/04/24 15:11:26 wiz Exp $
 .\"
 .\" Copyright (c) 2012 Matthew R. Green
 .\" All rights reserved.
@@ -272,10 +272,10 @@ through
 .Fn usbd_set_config_index "struct usbd_device *dev" "int index" "int msg"
 .Ft usbd_status
 .Fn usbd_bulk_transfer "struct usbd_xfer *xfer" "struct usbd_pipe *pipe" \
- "uint16_t flags" "uint32_t timeout" "void *buf" "uint32_t *size" 
+ "uint16_t flags" "uint32_t timeout" "void *buf" "uint32_t *size"
 .Ft usbd_status
 .Fn usbd_intr_transfer "struct usbd_xfer *xfer" "struct usbd_pipe *pipe" \
- "uint16_t flags" "uint32_t timeout" "void *buf" "uint32_t *size" 
+ "uint16_t flags" "uint32_t timeout" "void *buf" "uint32_t *size"
 .Ft void
 .Fn usb_detach_waitold "device_t dv"
 .Ft void



CVS commit: src/share/man/man9

2016-04-24 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sun Apr 24 15:03:18 UTC 2016

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

Log Message:
Update after nick-nhusb merge


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/share/man/man9/usbdi.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/usbdi.9
diff -u src/share/man/man9/usbdi.9:1.30 src/share/man/man9/usbdi.9:1.31
--- src/share/man/man9/usbdi.9:1.30	Mon Jun 29 16:20:14 2015
+++ src/share/man/man9/usbdi.9	Sun Apr 24 15:03:18 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: usbdi.9,v 1.30 2015/06/29 16:20:14 skrll Exp $
+.\"	$NetBSD: usbdi.9,v 1.31 2016/04/24 15:03:18 skrll Exp $
 .\"
 .\" Copyright (c) 2012 Matthew R. Green
 .\" All rights reserved.
@@ -27,11 +27,11 @@
 .\" SUCH DAMAGE.
 .\"
 .\"
-.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
+.\" Copyright (c) 1999, 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
 .\"
 .\" This code is derived from software contributed to The NetBSD Foundation
-.\" by Lennart Augustsson.
+.\" by Lennart Augustsson and Nick Hudson.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
@@ -54,7 +54,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 29, 2015
+.Dd April 24, 2016
 .Dt USBDI 9
 .Os
 .Sh NAME
@@ -66,144 +66,148 @@
 .In dev/usb/usbdi_util.h
 .Ss Functions offered by usbdi.h
 .Ft usbd_status
-.Fn usbd_open_pipe "usbd_interface_handle iface" "uint8_t address" \
- "uint8_t flags" "usbd_pipe_handle *pipe"
+.Fn usbd_open_pipe "struct usbd_interface *iface" "uint8_t address" \
+ "uint8_t flags" "struct usbd_pipe **pipe"
 .Ft usbd_status
-.Fn usbd_close_pipe "usbd_pipe_handle pipe"
+.Fn usbd_close_pipe "struct usbd_pipe *pipe"
 .Ft usbd_status
-.Fn usbd_transfer "usbd_xfer_handle xfer"
-.Ft usbd_xfer_handle
-.Fn usbd_alloc_xfer "usbd_device_handle dev"
-.Ft usbd_status
-.Fn usbd_free_xfer "usbd_xfer_handle xfer"
-.Ft void
-.Fn usbd_setup_xfer "usbd_xfer_handle xfer" "usbd_pipe_handle pipe" \
- "usbd_private_handle priv" "void *buffer" "uint32_t length" \
+.Fn usbd_transfer "struct usbd_xfer *xfer"
+.Ft struct usbd_xfer *
+.Fn usbd_setup_xfer "struct usbd_xfer *xfer" \
+ "void *priv" "void *buffer" "uint32_t length" \
  "uint16_t flags" "uint32_t timeout" "usbd_callback"
 .Ft void
-.Fn usbd_setup_default_xfer "usbd_xfer_handle xfer" \
- "usbd_device_handle dev" "usbd_private_handle priv" \
+.Fn usbd_setup_default_xfer "struct usbd_xfer *xfer" \
+ "struct usbd_device *dev" "void *priv" \
  "uint32_t timeout" "usb_device_request_t *req" " void *buffer" \
  "uint32_t length" "uint16_t flags" "usbd_callback"
 .Ft void
-.Fn usbd_setup_isoc_xfer "usbd_xfer_handle xfer" "usbd_pipe_handle pipe" \
- "usbd_private_handle priv" "uint16_t *frlengths" \
+.Fn usbd_setup_isoc_xfer "struct usbd_xfer *xfer" \
+ "void *priv" "uint16_t *frlengths" \
  "uint32_t nframes" "uint16_t flags" "usbd_callback"
 .Ft void
-.Fn usbd_get_xfer_status "usbd_xfer_handle xfer" "usbd_private_handle *priv" \
+.Fn usbd_get_xfer_status "struct usbd_xfer *xfer" "void **priv" \
  "void **buffer" "uint32_t *count" "usbd_status *status"
 .Ft usb_endpoint_descriptor_t *
-.Fn usbd_interface2endpoint_descriptor "usbd_interface_handle iface" \
+.Fn usbd_interface2endpoint_descriptor "struct usbd_interface *iface" \
  "uint8_t address"
 .Ft usbd_status
-.Fn usbd_abort_pipe "usbd_pipe_handle pipe"
+.Fn usbd_abort_pipe "struct usbd_pipe *pipe"
 .Ft usbd_status
-.Fn usbd_abort_default_pipe "usbd_device_handle dev"
+.Fn usbd_abort_default_pipe "struct usbd_device *dev"
 .Ft usbd_status
-.Fn usbd_clear_endpoint_stall "usbd_pipe_handle pipe"
+.Fn usbd_clear_endpoint_stall "struct usbd_pipe *pipe"
 .Ft usbd_status
-.Fn usbd_clear_endpoint_stall_async "usbd_pipe_handle pipe"
+.Fn usbd_clear_endpoint_stall_async "struct usbd_pipe *pipe"
 .Ft void
-.Fn usbd_clear_endpoint_toggle "usbd_pipe_handle pipe"
+.Fn usbd_clear_endpoint_toggle "struct usbd_pipe *pipe"
 .Ft usbd_status
-.Fn usbd_endpoint_count "usbd_interface_handle dev" "uint8_t *count"
+.Fn usbd_endpoint_count "struct usbd_interface *dev" "uint8_t *count"
 .Ft usbd_status
-.Fn usbd_interface_count "usbd_device_handle dev" "uint8_t *count"
+.Fn usbd_interface_count "struct usbd_device *dev" "uint8_t *count"
 .Ft usbd_status
-.Fn usbd_interface2device_handle "usbd_interface_handle iface" "usbd_device_handle *dev"
+.Fn usbd_interface2device_handle "struct usbd_interface *iface" "struct usbd_device **dev"
 .Ft usbd_status
-.Fn usbd_device2interface_handle "usbd_device_handle dev" "uint8_t ifaceno" "usbd_interface_handle *iface"
+.Fn usbd_device2interface_handle "struct usbd_device *dev" "uint8_t ifaceno" "struct usbd_interface **iface"
 .Pp
-.Ft usbd_device_handle
-.Fn usbd_pipe2device_handle "usbd_pipe_hand

CVS commit: src/share/man/man9

2016-04-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Apr 15 17:55:58 UTC 2016

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

Log Message:
Tweak wording.  Use \(em for emdash.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man9/psref.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/psref.9
diff -u src/share/man/man9/psref.9:1.2 src/share/man/man9/psref.9:1.3
--- src/share/man/man9/psref.9:1.2	Sun Apr 10 18:27:56 2016
+++ src/share/man/man9/psref.9	Fri Apr 15 17:55:58 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: psref.9,v 1.2 2016/04/10 18:27:56 wiz Exp $
+.\"	$NetBSD: psref.9,v 1.3 2016/04/15 17:55:58 riastradh Exp $
 .\"
 .\" Copyright (c) 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -64,12 +64,12 @@
 .Sh DESCRIPTION
 The
 .Nm
-abstraction allows CPUs to cheaply acquire references to a resource,
-called
-.Em passive references ,
-guaranteeing it will not be destroyed until all CPUs release their
-references to it, without using interprocessor synchronization on the
-reader side.
+abstraction allows CPUs to cheaply acquire and release
+.Em passive references
+to a resource, which guarantee the resource will not be destroyed
+until the reference is released.
+Acquiring and releasing passive references requires no interprocessor
+synchronization, except when the resource is pending destruction.
 .\"
 .Pp
 Passive references are an intermediate between
@@ -96,8 +96,8 @@ and may be held by a caller that sleeps.
 .\"
 .Pp
 Passive references share some properties of both: passive references
-require no interprocessor synchronization to acquire or release, and do
-not block soft interrupts, but can be held by a caller that sleeps.
+avoid interprocessor synchronization, and do not block soft interrupts,
+but can be held by a caller that sleeps.
 However, a caller holding a passive reference may not transfer it from
 one LWP to another, and the caller's LWP must be bound to a single CPU
 while it holds any passive references.
@@ -261,7 +261,7 @@ in the passive reference class
 .Fa class ,
 or false if not.
 .Pp
-This does not answer about other CPUs -- it does not tell you whether
+This does not answer about other CPUs \(em it does not tell you whether
 .Em any
 CPU holds a passive reference to
 .Fa target .



CVS commit: src/share/man/man4

2016-04-12 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Apr 12 23:07:25 UTC 2016

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

Log Message:
Slight markup fix.


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 src/share/man/man4/ddb.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/ddb.4
diff -u src/share/man/man4/ddb.4:1.159 src/share/man/man4/ddb.4:1.160
--- src/share/man/man4/ddb.4:1.159	Tue Apr 12 11:34:24 2016
+++ src/share/man/man4/ddb.4	Tue Apr 12 23:07:25 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ddb.4,v 1.159 2016/04/12 11:34:24 skrll Exp $
+.\"	$NetBSD: ddb.4,v 1.160 2016/04/12 23:07:25 wiz Exp $
 .\"
 .\" Copyright (c) 1997 - 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -747,8 +747,8 @@ at the address.
 This command is available only if a kernel is compiled with
 .Cd options KERNHIST
 or
-.Cd options USB_DEBUG (or related options)
-or
+.Cd options USB_DEBUG
+(or related options) or
 .Cd options UVMHIST .
 .It Ic show vnode Ns Oo Cm /f Oc Ar address
 Print the vnode at



CVS commit: src/share/man/man4

2016-04-12 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Apr 12 11:34:24 UTC 2016

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

Log Message:
Update for 'show kernhist' change. (go wiz!)


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/share/man/man4/ddb.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/ddb.4
diff -u src/share/man/man4/ddb.4:1.158 src/share/man/man4/ddb.4:1.159
--- src/share/man/man4/ddb.4:1.158	Fri Nov 13 09:51:16 2015
+++ src/share/man/man4/ddb.4	Tue Apr 12 11:34:24 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ddb.4,v 1.158 2015/11/13 09:51:16 wiz Exp $
+.\"	$NetBSD: ddb.4,v 1.159 2016/04/12 11:34:24 skrll Exp $
 .\"
 .\" Copyright (c) 1997 - 2009 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -56,7 +56,7 @@
 .\" any improvements or extensions that they make and grant Carnegie Mellon
 .\" the rights to redistribute these changes.
 .\"
-.Dd November 13, 2015
+.Dd April 12, 2016
 .Dt DDB 4
 .Os
 .Sh NAME
@@ -741,11 +741,14 @@ queue, the queue index will be prefixed 
 .Sq \&! .
 .It Ic show uvmexp
 Print a selection of UVM counters and statistics.
-.It Ic show kernhist
-Dumps the kernel histories.
+.It Ic show kernhist Oo Ar addr Oc
+Dumps all the kernel histories if no address is specified, or the history
+at the address.
 This command is available only if a kernel is compiled with
 .Cd options KERNHIST
 or
+.Cd options USB_DEBUG (or related options)
+or
 .Cd options UVMHIST .
 .It Ic show vnode Ns Oo Cm /f Oc Ar address
 Print the vnode at



CVS commit: src/share/man/man9

2016-04-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Apr 11 13:45:20 UTC 2016

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

Log Message:
Clarify wording about when to use PSLIST_ENTRY_DESTROY.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man9/pslist.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/pslist.9
diff -u src/share/man/man9/pslist.9:1.14 src/share/man/man9/pslist.9:1.15
--- src/share/man/man9/pslist.9:1.14	Mon Apr 11 03:27:14 2016
+++ src/share/man/man9/pslist.9	Mon Apr 11 13:45:20 2016
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pslist.9,v 1.14 2016/04/11 03:27:14 riastradh Exp $
+.\"	$NetBSD: pslist.9,v 1.15 2016/04/11 13:45:20 riastradh Exp $
 .\"
 .\" Copyright (c) 2016 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -121,11 +121,10 @@ finding it in the list, but allows extan
 reading the next entry.
 The caller must then wait, e.g. with
 .Xr pserialize_perform 9 ,
-for all extant parallel readers to finish, before freeing or reusing
-the list entry.
-A list entry should be destroyed with
+for all extant parallel readers to finish, before destroying the list
+entry with
 .Fn PSLIST_ENTRY_DESTROY
-before it may be reused.
+and then freeing or reusing its memory.
 .\"
 .Sh EXCLUSIVE OPERATIONS
 The following operations may be performed on list heads and entries



<    8   9   10   11   12   13   14   15   16   17   >