CVS commit: src/share/man/man4

2021-08-17 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Tue Aug 17 14:11:22 UTC 2021

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

Log Message:
tty.4: s/asynchronus/asynchronous/


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/share/man/man4/tty.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/tty.4
diff -u src/share/man/man4/tty.4:1.30 src/share/man/man4/tty.4:1.31
--- src/share/man/man4/tty.4:1.30	Sat Sep  7 19:32:52 2019
+++ src/share/man/man4/tty.4	Tue Aug 17 14:11:22 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: tty.4,v 1.30 2019/09/07 19:32:52 wiz Exp $
+.\"	$NetBSD: tty.4,v 1.31 2021/08/17 14:11:22 andvar Exp $
 .\"
 .\" Copyright (c) 1991, 1992, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -478,7 +478,7 @@ Return the current line discipline in th
 .Sh HISTORY
 A console typewriter device
 .Pa /dev/tty
-and asynchronus communication interfaces
+and asynchronous communication interfaces
 .Pa /dev/tty[0-5]
 first appeared in
 .At v1 .



CVS commit: src/share/man/man9

2021-08-08 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Sun Aug  8 16:12:10 UTC 2021

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

Log Message:
change othersize to otherwise. I believe this is what was meant in the context.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/share/man/man9/autoconf.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/autoconf.9
diff -u src/share/man/man9/autoconf.9:1.34 src/share/man/man9/autoconf.9:1.35
--- src/share/man/man9/autoconf.9:1.34	Sat Aug  7 20:41:17 2021
+++ src/share/man/man9/autoconf.9	Sun Aug  8 16:12:10 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: autoconf.9,v 1.34 2021/08/07 20:41:17 uwe Exp $
+.\" $NetBSD: autoconf.9,v 1.35 2021/08/08 16:12:10 andvar Exp $
 .\"
 .\" Copyright (c) 2001, 2002, 2021 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -334,7 +334,7 @@ Invokes the driver's match function acco
 The
 .Fn config_probe
 function returns a nonzero integer to indicate a successful probe
-and a value of 0 othersize.
+and a value of 0 otherwise.
 Unlike
 .Fn config_match ,
 the return value of



CVS commit: src/share/man/man9

2021-08-07 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Aug  7 20:41:17 UTC 2021

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

Log Message:
autoconf(9) - Improve formatting.

Don't hide consumed cfargs in the second sentence of a function's
description, they ends up hidden towards the right margin and that
sentence is guaranteed to get a line break further reducing its
readability.  Instead make that the first sentence and start the
description with a new paragraph.  That makes it looks like part of
the signature and is much more prominent.

Various markup improvements while here.

Bump date for thorpej-cfargs2 changes.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/share/man/man9/autoconf.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/autoconf.9
diff -u src/share/man/man9/autoconf.9:1.33 src/share/man/man9/autoconf.9:1.34
--- src/share/man/man9/autoconf.9:1.33	Sat Aug  7 19:41:13 2021
+++ src/share/man/man9/autoconf.9	Sat Aug  7 20:41:17 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: autoconf.9,v 1.33 2021/08/07 19:41:13 andvar Exp $
+.\" $NetBSD: autoconf.9,v 1.34 2021/08/07 20:41:17 uwe Exp $
 .\"
 .\" Copyright (c) 2001, 2002, 2021 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 28, 2021
+.Dd August 7, 2021
 .Dt AUTOCONF 9
 .Os
 .Sh NAME
@@ -126,42 +126,51 @@ This list is constructed using the
 .Fn CFARGS
 macro, like this example:
 .Bd -literal -offset indent
-config_search(self, NULL,
-CFARGS(.search = mainbus_search,
-   .iattr = "mainbus"));
+config_search(self, NULL,
+CFARGS(.search = mainbus_search,
+   .iattr = "mainbus"));
 .Ed
 .Pp
 Each tag is followed by a tag-specific value.
-.Bl -tag -width ".devhandle"
-.It Dv .submatch
+.Bl -tag -offset indent -width ".Fa devhandle"
+.It Fa submatch
 A pointer to a
 .Sq submatch
-function used in direct configuration.
-.It Dv .search
+function used in
+.Em direct
+configuration.
+.\"
+.It Fa search
 A pointer to a
 .Sq search
-function used in indirect configuration.
-.It Dv .iattr
-A pointer to a constant C string
-.Pq const char *
+function used in
+.Em indirect
+configuration.
+.\"
+.It Fa iattr
+A pointer to a constant
+.Tn C
+string
+.Pq Vt "const char *"
 specifying an interface attribute.
 If a parent device carries only a single interface attribute, then this
 argument may be omitted.
 If an interface attribute is specified that the parent device does not
-carry, or no interface attribute is specifies and the parent device carries
+carry, or no interface attribute is specified and the parent device carries
 more than one, behavior is undefined.
 On kernels built with the
 .Dv DIAGNOSTIC
 option, this may result in an assertion panic.
-.It Dv .locators
-A pointer an a constant array of type
-.Sq int
-.Pq const int *
+.\"
+.It Fa locators
+A pointer to a constant array of integers
+.Pq Vt "const int *"
 containing interface attribute-specific locators.
-.It Dv .devhandle
-A devhandle_t
-.Pq passed by value
-corresponding to the device being attached.
+.\"
+.It Fa devhandle
+A
+.Vt devhandle_t
+(passed by value) corresponding to the device being attached.
 .El
 .Pp
 If no arguments are to be passed, the special value
@@ -170,13 +179,17 @@ may be used in place of the
 .Fn CFARGS
 macro.
 .Sh FUNCTIONS
-.Bl -tag -width compact
+.Bl -tag -width ".Fn config"
+.\"
+.\"
 .It Fn config_search "parent" "aux" "cfargs"
-Performs indirect configuration of physical devices.
 Cfargs consumed:
-.Em .search ,
-.Em .iattr ,
-.Em .locators .
+.Fa search ,
+.Fa iattr ,
+.Fa locators .
+.\"
+.Pp
+Performs indirect configuration of physical devices.
 .Fn config_search
 iterates over all potential children, calling the given
 search function
@@ -216,13 +229,17 @@ itself.
 Note that this function is designed so that it can be used to apply an
 arbitrary function to all potential children.
 In this case callers may choose to ignore the return value.
+.\"
+.\"
 .It Fn config_found "parent" "aux" "print" "cfargs"
-Performs direct configuration on a physical device.
 Cfargs consumed:
-.Em .submatch ,
-.Em .iattr ,
-.Em .locators ,
-.Em .devhandle .
+.Fa submatch ,
+.Fa iattr ,
+.Fa locators ,
+.Fa devhandle .
+.\"
+.Pp
+Performs direct configuration on a physical device.
 .Fn config_found
 is called by the parent and in turn calls the specified submatch function
 as determined by the configuration table.
@@ -249,7 +266,7 @@ argument describes the device that has b
 internally uses
 .Fn config_search .
 The
-.Em softc
+.Vt softc
 structure for the matched device will be allocated, and the
 appropriate driver attach function will be called.
 If the device is matched, the system prints the name of the child and
@@ -277,20 +294,28 @@ and
 unsupported
 

CVS commit: src/share/man/man9

2021-08-07 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Aug  7 16:20:02 UTC 2021

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

Log Message:
Update for thorpej-cfargs2.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/share/man/man9/autoconf.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/autoconf.9
diff -u src/share/man/man9/autoconf.9:1.31 src/share/man/man9/autoconf.9:1.32
--- src/share/man/man9/autoconf.9:1.31	Wed Apr 28 00:49:22 2021
+++ src/share/man/man9/autoconf.9	Sat Aug  7 16:20:02 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: autoconf.9,v 1.31 2021/04/28 00:49:22 thorpej Exp $
+.\" $NetBSD: autoconf.9,v 1.32 2021/08/07 16:20:02 thorpej Exp $
 .\"
 .\" Copyright (c) 2001, 2002, 2021 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -52,17 +52,17 @@
 .In sys/device.h
 .In sys/errno.h
 .Ft cfdata_t
-.Fn config_search "device_t parent" "void *aux" "cfarg_t tag" "..."
+.Fn config_search "device_t parent" "void *aux" "const struct cfargs *"
 .Ft device_t
 .Fn config_found "device_t parent" "void *aux" "cfprint_t print" \
-"cfarg_t tag" "..."
+"const struct cfargs *"
 .Ft int
 .Fn config_match "device_t parent" "cfdata_t cf" "void *aux"
 .Ft int
 .Fn config_probe "device_t parent" "cfdata_t cf" "void *aux"
 .Ft device_t
 .Fn config_attach "device_t parent" "cfdata_t cf" "void *aux" \
-"cfprint_t print" "cfarg_t tag" "..."
+"cfprint_t print" "const struct cfargs *"
 .Ft device_t
 .Fn config_attach_pseudo "cfdata_t cf"
 .Ft int
@@ -119,53 +119,64 @@ The unit number identifies an instance o
 Device data structures are allocated dynamically during
 autoconfiguration, giving a unique address for each instance.
 .Pp
-Several of the autoconfiguration functions take a variadic list of
-tag-value arguments to pass information from driver autoconfiguration
+Several of the autoconfiguration functions take a strongly-typed variadic
+list of arguments to pass information from driver autoconfiguration
 functions to the kernel's autoconfiguration system.
+This list is constructed using the
+.Fn CFARGS
+macro, like this example:
+.Bd -literal -offset indent
+config_search(self, NULL,
+CFARGS(.search = mainbus_search,
+   .iattr = "mainbus"));
+.Ed
+.Pp
 Each tag is followed by a tag-specific value.
-The end of the argument list must be terminated with the tag
-.Dv CFARG_EOL .
-Passing an invalid tag or an inappropriate value for a tag results
-in undefined behavior and may cause a kernel panic.
-.Bl -tag -width "CFARG_DEVHANDLE"
-.It Dv CFARG_SUBMATCH
+.Bl -tag -width ".devhandle"
+.It Dv .submatch
 A pointer to a
 .Sq submatch
 function used in direct configuration.
-.It Dv CFARG_SEARCH
+.It Dv .search
 A pointer to a
 .Sq search
 function used in indirect configuration.
-.It Dv CFARG_IATTR
+.It Dv .iattr
 A pointer to a constant C string
 .Pq const char *
 specifying an interface attribute.
 If a parent device carries only a single interface attribute, then this
-tag-value pair may be omitted.
+argument may be omitted.
 If an interface attribute is specified that the parent device does not
 carry, or no interface attribute is specifies and the parent device carries
 more than one, behavior is undefined.
 On kernels built with the
 .Dv DIAGNOSTIC
 option, this may result in an assertion panic.
-.It Dv CFARG_LOCATORS
+.It Dv .locators
 A pointer an a constant array of type
 .Sq int
 .Pq const int *
 containing interface attribute-specific locators.
-.It Dv CFARG_DEVHANDLE
+.It Dv .devhandle
 A devhandle_t
 .Pq passed by value
 corresponding to the device being attached.
 .El
+.Pp
+If no arguments are to be passed, the special value
+.Dv CFARGS_NONE
+may be used in place of the
+.Fn CFARGS
+macro.
 .Sh FUNCTIONS
 .Bl -tag -width compact
-.It Fn config_search "parent" "aux" "tag" "..."
+.It Fn config_search "parent" "aux" "cfargs"
 Performs indirect configuration of physical devices.
-Tag-value arguments consumed:
-.Dv CFARG_SEARCH ,
-.Dv CFARG_IATTR ,
-.Dv CFARG_LOCATORS .
+Cfargs consumed:
+.Em .search ,
+.Em .iattr ,
+.Em .locators .
 .Fn config_search
 iterates over all potential children, calling the given
 search function
@@ -205,13 +216,13 @@ itself.
 Note that this function is designed so that it can be used to apply an
 arbitrary function to all potential children.
 In this case callers may choose to ignore the return value.
-.It Fn config_found "parent" "aux" "print" "tag" "..."
+.It Fn config_found "parent" "aux" "print" "cfargs"
 Performs direct configuration on a physical device.
-Tag-value arguments consumed:
-.Dv CFARG_SUBMATCH ,
-.Dv CFARG_IATTR ,
-.Dv CFARG_LOCATORS ,
-.Dv CFARG_DEVHANDLE .
+Cfargs consumed:
+.Em .submatch ,
+.Em .iattr ,
+.Em .locators ,
+.Em .devhandle .
 .Fn config_found
 is called by the parent and in turn calls the specified submatch function
 as determined by the configuration table.
@@ -301,11 +312,11 @@ 

CVS commit: src/share/man/man9

2021-08-06 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Aug  7 03:28:42 UTC 2021

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

Log Message:
x68k now uses KAUTH_MACHDEP_UNMANAGEDMEM.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/share/man/man9/kauth.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/kauth.9
diff -u src/share/man/man9/kauth.9:1.112 src/share/man/man9/kauth.9:1.113
--- src/share/man/man9/kauth.9:1.112	Sun Jul 15 05:16:41 2018
+++ src/share/man/man9/kauth.9	Sat Aug  7 03:28:42 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: kauth.9,v 1.112 2018/07/15 05:16:41 maxv Exp $
+.\" $NetBSD: kauth.9,v 1.113 2021/08/07 03:28:42 isaki Exp $
 .\"
 .\" Copyright (c) 2005, 2006 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 July 14, 2018
+.Dd August 7, 2021
 .Dt KAUTH 9
 .Os
 .Sh NAME
@@ -1061,6 +1061,7 @@ Affects
 .Em powerpc ,
 .Em sh3 ,
 .Em vax ,
+.Em x68k ,
 .Em xen .
 .El
 .Ss Device Scope



CVS commit: src/share/man/man4

2021-08-05 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Thu Aug  5 19:23:45 UTC 2021

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

Log Message:
ssdfb(4): note SSD1353 support


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/ssdfb.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/ssdfb.4
diff -u src/share/man/man4/ssdfb.4:1.6 src/share/man/man4/ssdfb.4:1.7
--- src/share/man/man4/ssdfb.4:1.6	Sun Aug  1 16:17:05 2021
+++ src/share/man/man4/ssdfb.4	Thu Aug  5 19:23:44 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ssdfb.4,v 1.6 2021/08/01 16:17:05 tnn Exp $
+.\"	$NetBSD: ssdfb.4,v 1.7 2021/08/05 19:23:44 tnn Exp $
 .\"
 .\" Copyright (c) 2019 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 August 1, 2021
+.Dd August 5, 2021
 .Dt SSDFB 4
 .Os
 .Sh NAME
@@ -54,6 +54,8 @@ Solomon Systech Ltd SSD1306
 Sino Wealth Electronic Ltd SH1106
 .It
 Solomon Systech Ltd SSD1322
+.It
+Solomon Systech Ltd SSD1353
 .El
 .Pp
 The following products (controller + panel assemblies) are supported:
@@ -73,6 +75,12 @@ Adafruit Industries, LLC product 931 (12
 .It
 .Em 0x05 :
 Generic SSD1322 modules using default settings
+.It
+.Em 0x06 :
+Generic SSD1353 modules using default settings
+.It
+.Em 0x07 :
+Display Elektronik GmbH DEP 160128A(1)-RGB
 .El
 .Pp
 The flags value can contain one or more of the following, bitwise OR'ed:



CVS commit: src/share/man/man4

2021-08-01 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Sun Aug  1 16:17:05 UTC 2021

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

Log Message:
ssdfb(4): add an iic fdt attachment example also


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/ssdfb.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/ssdfb.4
diff -u src/share/man/man4/ssdfb.4:1.5 src/share/man/man4/ssdfb.4:1.6
--- src/share/man/man4/ssdfb.4:1.5	Sun Aug  1 15:35:47 2021
+++ src/share/man/man4/ssdfb.4	Sun Aug  1 16:17:05 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ssdfb.4,v 1.5 2021/08/01 15:35:47 tnn Exp $
+.\"	$NetBSD: ssdfb.4,v 1.6 2021/08/01 16:17:05 tnn Exp $
 .\"
 .\" Copyright (c) 2019 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -95,17 +95,32 @@ On most displays, the contrast setting c
 .Xr wsconsctl 8
 program.
 .Sh EXAMPLES
-To attach an SSD1322 display using the 4-wire SPI interface on an
+To attach an SSD1322 display using the 4-wire
+.Xr spi 4
+interface on an
 Allwinner A20 ARM single board computer, the following Device Tree overlay
 can be used:
 .Bd -literal -offset indent
  {
-ssdfb@0 {
-compatible = "solomon,ssd1322";
-reg = <0x00>;
-dc-gpio = <0x10 0x07 0x02 0x00>;
-status = "okay";
-};
+	ssdfb@0 {
+		compatible = "solomon,ssd1322";
+		reg = <0x00>;
+		dc-gpio = <0x10 0x07 0x02 0x00>;
+		status = "okay";
+	};
+};
+.Ed
+.Pp
+To attach an SSD1306 display using the
+.Xr iic 4
+interface on the same board, use:
+.Bd -literal -offset indent
+ {
+	ssdfb@3c {
+		compatible = "solomon,ssd1306fb-i2c";
+		reg = <0x3c>;
+		status = "okay";
+	};
 };
 .Ed
 .Sh SEE ALSO



CVS commit: src/share/man/man4

2021-08-01 Thread Tobias Nygren
Module Name:src
Committed By:   tnn
Date:   Sun Aug  1 15:35:47 UTC 2021

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

Log Message:
ssdfb(4): nix BUGS section, add EXAMPLES section


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/ssdfb.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/ssdfb.4
diff -u src/share/man/man4/ssdfb.4:1.4 src/share/man/man4/ssdfb.4:1.5
--- src/share/man/man4/ssdfb.4:1.4	Sat Nov  2 14:47:35 2019
+++ src/share/man/man4/ssdfb.4	Sun Aug  1 15:35:47 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ssdfb.4,v 1.4 2019/11/02 14:47:35 tnn Exp $
+.\"	$NetBSD: ssdfb.4,v 1.5 2021/08/01 15:35:47 tnn Exp $
 .\"
 .\" Copyright (c) 2019 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 November 2, 2019
+.Dd August 1, 2021
 .Dt SSDFB 4
 .Os
 .Sh NAME
@@ -90,6 +90,24 @@ enable inverse video
 .Em 0x400 :
 forcibly attach as console
 .El
+.Pp
+On most displays, the contrast setting can be adjusted with the
+.Xr wsconsctl 8
+program.
+.Sh EXAMPLES
+To attach an SSD1322 display using the 4-wire SPI interface on an
+Allwinner A20 ARM single board computer, the following Device Tree overlay
+can be used:
+.Bd -literal -offset indent
+ {
+ssdfb@0 {
+compatible = "solomon,ssd1322";
+reg = <0x00>;
+dc-gpio = <0x10 0x07 0x02 0x00>;
+status = "okay";
+};
+};
+.Ed
 .Sh SEE ALSO
 .Xr iic 4 ,
 .Xr wsdisplay 4
@@ -113,7 +131,3 @@ It was inspired by (and shares its name 
 driver written by
 .An Patrick Wildt Aq Mt patr...@blueri.se
 but does not share any code.
-.Sh BUGS
-The "4-wire SPI" MCU interface which requires an auxiliary
-.Xr gpio 4
-pin for the D/C# signal is currently not supported.



CVS commit: src/share/man/man7

2021-07-28 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jul 28 11:32:21 UTC 2021

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

Log Message:
Fix typos.


To generate a diff of this commit:
cvs rdiff -u -r1.153 -r1.154 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.153 src/share/man/man7/sysctl.7:1.154
--- src/share/man/man7/sysctl.7:1.153	Tue Jul 27 09:32:55 2021
+++ src/share/man/man7/sysctl.7	Wed Jul 28 11:32:21 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.153 2021/07/27 09:32:55 manu Exp $
+.\"	$NetBSD: sysctl.7,v 1.154 2021/07/28 11:32:21 wiz Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -756,10 +756,10 @@ Memory Mapped Files Option is available 
 otherwise\ 0.
 .It Li kern.maxfiles ( Dv KERN_MAXFILES )
 The maximum number of open files that may be open in the system.
-This also controls the maximum file locks per unprivilegied user 
+This also controls the maximum file locks per unprivileged user
 enforced by
-.Xr fnctl 2
-and 
+.Xr fcntl 2
+and
 .Xr flock 2 .
 .It Li kern.maxpartitions ( Dv KERN_MAXPARTITIONS )
 The maximum number of partitions allowed per disk.



CVS commit: src/share/man/man9

2021-07-21 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Thu Jul 22 01:38:45 UTC 2021

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

Log Message:
module_hold() returns void, not int

XXX module_hold() and module_rele() should probably not be exposed, since
XXX they really aren't MP-safe.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/share/man/man9/module.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/module.9
diff -u src/share/man/man9/module.9:1.52 src/share/man/man9/module.9:1.53
--- src/share/man/man9/module.9:1.52	Sun Apr  7 22:32:10 2019
+++ src/share/man/man9/module.9	Thu Jul 22 01:38:45 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: module.9,v 1.52 2019/04/07 22:32:10 pgoyette Exp $
+.\"	$NetBSD: module.9,v 1.53 2021/07/22 01:38:45 pgoyette 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 April 8, 2019
+.Dd July 21, 2021
 .Dt MODULE 9
 .Os
 .Sh NAME
@@ -61,7 +61,7 @@
 .Fn module_unload "const char *name"
 .Ft void
 .Fn module_init_class "modclass_t class"
-.Ft int
+.Ft void
 .Fn module_hold "module_t *module"
 .Ft void
 .Fn module_rele "module_t *module"



CVS commit: src/share/man/man7

2021-07-13 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Tue Jul 13 16:56:43 UTC 2021

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

Log Message:
Swap encryption no longer experimental or default-off.


To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 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.151 src/share/man/man7/sysctl.7:1.152
--- src/share/man/man7/sysctl.7:1.151	Sat Oct 17 09:20:33 2020
+++ src/share/man/man7/sysctl.7	Tue Jul 13 16:56:43 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.151 2020/10/17 09:20:33 wiz Exp $
+.\"	$NetBSD: sysctl.7,v 1.152 2021/07/13 16:56:43 nia 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 October 17, 2020
+.Dd July 13, 2021
 .Dt SYSCTL 7
 .Os
 .Sh NAME
@@ -2602,7 +2602,7 @@ Return system wide guard size for the ma
 .It Li vm.thread_guard_size
 Return system wide default size for the guard area of all other threads
 of a program.
-.It Li vm.swap_encrypt Bq Sy "EXPERIMENTAL" Ns No , default off
+.It Li vm.swap_encrypt
 If true, encrypt data while swapped out to disk.
 .Pp
 Each swap device maintains an independent AES-256 key, generated when



CVS commit: src/share/man/man4

2021-06-29 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jun 29 10:26:00 UTC 2021

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

Log Message:
Remove unnecessary Pp, fix formatting, remove empty line.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/lagg.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/lagg.4
diff -u src/share/man/man4/lagg.4:1.2 src/share/man/man4/lagg.4:1.3
--- src/share/man/man4/lagg.4:1.2	Mon Jun 21 06:36:28 2021
+++ src/share/man/man4/lagg.4	Tue Jun 29 10:26:00 2021
@@ -1,5 +1,4 @@
-
-.\"	$NetBSD: lagg.4,v 1.2 2021/06/21 06:36:28 yamaguchi Exp $
+.\"	$NetBSD: lagg.4,v 1.3 2021/06/29 10:26:00 wiz Exp $
 .\"
 .\" Copyright (c) 2005, 2006 Reyk Floeter 
 .\"
@@ -81,7 +80,7 @@ The interface preferentially uses the ch
 the smallest numeric in the priority.
 .Pp
 The driver currently supports the aggregation protocols
-.Ic failover,
+.Ic failover ,
 .Ic loadbalance ,
 .Ic lacp ,
 and
@@ -153,7 +152,6 @@ command.
 .Pp
 The MTU of the first interface to be added is used as the lagg MTU.
 All additional interfaces are required to have exactly the same value.
-.Pp
 .Sh EXAMPLES
 Create a link aggregation using LACP with two
 .Xr wm 4
@@ -177,7 +175,6 @@ Gigabit Ethernet interfaces and set each
 	laggport wm0 pri 1000 laggport wm1 pri 2000 \e
 	192.168.1.1 netmask 255.255.255.0
 .Ed
-.Pp
 .Sh SEE ALSO
 .Xr ifconfig 8
 .Sh HISTORY



CVS commit: src/share/man/man4

2021-06-29 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jun 29 10:25:33 UTC 2021

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

Log Message:
Fix date.


To generate a diff of this commit:
cvs rdiff -u -r1.200 -r1.201 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.200 src/share/man/man4/ddb.4:1.201
--- src/share/man/man4/ddb.4:1.200	Mon Jun 21 02:12:00 2021
+++ src/share/man/man4/ddb.4	Tue Jun 29 10:25:33 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ddb.4,v 1.200 2021/06/21 02:12:00 thorpej Exp $
+.\"	$NetBSD: ddb.4,v 1.201 2021/06/29 10:25:33 wiz Exp $
 .\"
 .\" Copyright (c) 1997 - 2019 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 Jiune 20, 2021
+.Dd June 20, 2021
 .Dt DDB 4
 .Os
 .Sh NAME



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

2021-06-21 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Tue Jun 22 03:39:21 UTC 2021

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

Log Message:
boot.8: minor grammar tweaks


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 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.25 src/share/man/man8/man8.x86/boot.8:1.26
--- src/share/man/man8/man8.x86/boot.8:1.25	Sun May 30 06:05:24 2021
+++ src/share/man/man8/man8.x86/boot.8	Tue Jun 22 03:39:21 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.25 2021/05/30 06:05:24 mlelstv Exp $
+.\"	$NetBSD: boot.8,v 1.26 2021/06/22 03:39:21 gutteridge Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -877,13 +877,13 @@ field of the
 disklabel (if it is a hard disk).
 .Pp
 .Tn UEFI
-implementation are supposed to support either
+implementations are supposed to support either
 .Xr x86/mbr 8
 or
 .Xr gpt 8
 partitioning, but some do not handle the latter.
 .Tn UEFI
-Booting
+booting
 from a
 .Xr gpt 8
 partitioned disk is still possible in this case, by adding



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

2021-06-21 Thread David H. Gutteridge
Module Name:src
Committed By:   gutteridge
Date:   Tue Jun 22 03:30:06 UTC 2021

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

Log Message:
mbr.8: fix a typo


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man8/man8.x86/mbr.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/mbr.8
diff -u src/share/man/man8/man8.x86/mbr.8:1.4 src/share/man/man8/man8.x86/mbr.8:1.5
--- src/share/man/man8/man8.x86/mbr.8:1.4	Mon Jul  3 21:31:01 2017
+++ src/share/man/man8/man8.x86/mbr.8	Tue Jun 22 03:30:06 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: mbr.8,v 1.4 2017/07/03 21:31:01 wiz Exp $
+.\"	$NetBSD: mbr.8,v 1.5 2021/06/22 03:30:06 gutteridge Exp $
 .Dd February 17, 2017
 .Dt MBR 8 x86
 .Os
@@ -96,7 +96,7 @@ The
 key will cause the bootcode to find the active partition, and boot from it.
 If no key is pressed, the (configurable) default selection is picked.
 .Sh DIAGNOSTICS
-The following error are detected:
+The following errors are detected:
 .Bl -column Code "No active partition"
 .It Em Code Ta Em "Text message" Ta Em Explanation
 .It 1 Ta "No active partition" Ta



CVS commit: src/share/man/man4

2021-06-21 Thread Shoichi YAMAGUCHI
Module Name:src
Committed By:   yamaguchi
Date:   Mon Jun 21 06:36:28 UTC 2021

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

Log Message:
lagg: fix typo


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/lagg.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/lagg.4
diff -u src/share/man/man4/lagg.4:1.1 src/share/man/man4/lagg.4:1.2
--- src/share/man/man4/lagg.4:1.1	Mon May 17 04:07:42 2021
+++ src/share/man/man4/lagg.4	Mon Jun 21 06:36:28 2021
@@ -1,5 +1,5 @@
 
-.\"	$NetBSD: lagg.4,v 1.1 2021/05/17 04:07:42 yamaguchi Exp $
+.\"	$NetBSD: lagg.4,v 1.2 2021/06/21 06:36:28 yamaguchi Exp $
 .\"
 .\" Copyright (c) 2005, 2006 Reyk Floeter 
 .\"
@@ -136,7 +136,7 @@ The maximum number of active ports in a 
 .Ic lagglacp Nm maxports Ar N
 option.
 .It Ic none
-THis protocol is intended to do nothing: it disables any traffic without
+This protocol is intended to do nothing: it disables any traffic without
 disabling the
 .Nm
 interface itself.



CVS commit: src/share/man/man4

2021-06-20 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Mon Jun 21 02:12:00 UTC 2021

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

Log Message:
x/I no longer has special meaning on alpha, and behaves just like x/i.


To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.200 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.199 src/share/man/man4/ddb.4:1.200
--- src/share/man/man4/ddb.4:1.199	Thu Mar 11 10:34:34 2021
+++ src/share/man/man4/ddb.4	Mon Jun 21 02:12:00 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ddb.4,v 1.199 2021/03/11 10:34:34 ryo Exp $
+.\"	$NetBSD: ddb.4,v 1.200 2021/06/21 02:12:00 thorpej Exp $
 .\"
 .\" Copyright (c) 1997 - 2019 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 March 11, 2021
+.Dd Jiune 20, 2021
 .Dt DDB 4
 .Os
 .Sh NAME
@@ -451,8 +451,6 @@ display as a machine instruction.
 display as a machine instruction, with possible alternative formats
 depending upon the machine:
 .Bl -tag -offset indent -width "sparc" -compact
-.It alpha
-print register operands
 .It m68k
 use Motorola syntax
 .It vax



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

2021-06-10 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Fri Jun 11 05:10:45 UTC 2021

Modified Files:
src/share/man/man4/man4.sparc: tslot.4

Log Message:
Add a bugs section about inserting two cards with different requirements.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/man4.sparc/tslot.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/tslot.4
diff -u src/share/man/man4/man4.sparc/tslot.4:1.4 src/share/man/man4/man4.sparc/tslot.4:1.5
--- src/share/man/man4/man4.sparc/tslot.4:1.4	Fri Feb 17 22:24:47 2017
+++ src/share/man/man4/man4.sparc/tslot.4	Fri Jun 11 05:10:45 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: tslot.4,v 1.4 2017/02/17 22:24:47 christos Exp $
+.\"	$NetBSD: tslot.4,v 1.5 2021/06/11 05:10:45 jdc Exp $
 .\"
 .\" Copyright (c) 2005 Michael Lorenz
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\" ported from OpenBSD
-.Dd February 17, 2017
+.Dd June 11, 2021
 .Dt TSLOT 4 sparc
 .Os
 .Sh NAME
@@ -50,3 +50,6 @@ handling the attachment and initializati
 .Xr pcmcia 4 ,
 .Xr sbus 4 ,
 .Xr sparc/tctrl 4
+.Sh BUGS
+Inserting two cards with different requirements, like voltage,
+may cause one of them not to function correctly.



CVS commit: src/share/man/man4

2021-06-06 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Mon Jun  7 03:04:50 UTC 2021

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

Log Message:
Mention in ums(4) that a lot of usb mice detach/reattcah when not in use.

Prompted by PR 56209 but not related to the actual problem there.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man4/ums.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/ums.4
diff -u src/share/man/man4/ums.4:1.11 src/share/man/man4/ums.4:1.12
--- src/share/man/man4/ums.4:1.11	Wed Sep  6 14:47:35 2017
+++ src/share/man/man4/ums.4	Mon Jun  7 03:04:50 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: ums.4,v 1.11 2017/09/06 14:47:35 ryoon Exp $
+.\" $NetBSD: ums.4,v 1.12 2021/06/07 03:04:50 dholland Exp $
 .\"
 .\" Copyright (c) 1999, 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 September 6, 2017
+.Dd June 6, 2021
 .Dt UMS 4
 .Os
 .Sh NAME
@@ -43,6 +43,16 @@ driver provides support for USB mice and
 Access to the movement data is through the
 .Xr wsmouse 4
 driver.
+.Pp
+Be aware that many USB mice will, if the mouse device is not open,
+detach and reattach themselves repeatedly at regular intervals
+(usually around one minute) causing spam on the console and the system
+log.
+This is apparently intentional behavior on the part of the hardware
+manufacturers.
+The best workaround is to keep the mouse device open, either via 
+X11, or, if not using the window system, by running
+.Xr wsmoused 8 .
 .Sh SEE ALSO
 .Xr uhidev 4 ,
 .Xr usb 4 ,



CVS commit: src/share/man/man8

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 12:43:14 UTC 2021

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

Log Message:
actually, an anchor is needed so the period is appended


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/share/man/man8/afterboot.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/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.81 src/share/man/man8/afterboot.8:1.82
--- src/share/man/man8/afterboot.8:1.81	Fri Jun  4 12:29:33 2021
+++ src/share/man/man8/afterboot.8	Fri Jun  4 12:43:14 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.81 2021/06/04 12:29:33 nia Exp $
+.\"	$NetBSD: afterboot.8,v 1.82 2021/06/04 12:43:14 nia Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -179,7 +179,7 @@ variable found in
 contains more information about this file.
 .Ss Security alerts
 All significant and easily fixed problems will be reported at
-.Lk http://www.NetBSD.org/support/security/
+.Lk https://www.NetBSD.org/support/security/ the security advisories web page .
 It is recommended that you check this page regularly.
 .Pp
 Additionally, you should set



CVS commit: src/share/man/man8

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 12:29:33 UTC 2021

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

Log Message:
remove empty anchor text


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/share/man/man8/afterboot.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/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.80 src/share/man/man8/afterboot.8:1.81
--- src/share/man/man8/afterboot.8:1.80	Fri Jun  4 12:12:02 2021
+++ src/share/man/man8/afterboot.8	Fri Jun  4 12:29:33 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.80 2021/06/04 12:12:02 nia Exp $
+.\"	$NetBSD: afterboot.8,v 1.81 2021/06/04 12:29:33 nia Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -179,7 +179,7 @@ variable found in
 contains more information about this file.
 .Ss Security alerts
 All significant and easily fixed problems will be reported at
-.Lk http://www.NetBSD.org/support/security/ .
+.Lk http://www.NetBSD.org/support/security/
 It is recommended that you check this page regularly.
 .Pp
 Additionally, you should set



CVS commit: src/share/man/man8

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 12:12:02 UTC 2021

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

Log Message:
re-order initial sections in the order a user is likely to be able
to address them. add a section on NPF. attempt to make various things
easier to find.


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/share/man/man8/afterboot.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/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.79 src/share/man/man8/afterboot.8:1.80
--- src/share/man/man8/afterboot.8:1.79	Fri Jun  4 11:56:47 2021
+++ src/share/man/man8/afterboot.8	Fri Jun  4 12:12:02 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.79 2021/06/04 11:56:47 wiz Exp $
+.\"	$NetBSD: afterboot.8,v 1.80 2021/06/04 12:12:02 nia Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -88,46 +88,6 @@ command, type:
 Administrators will rapidly become more familiar with
 .Nx
 if they get used to using the manual pages.
-.Ss Security alerts
-By the time that you have installed your system, it is quite likely that
-bugs in the release have been found.
-All significant and easily fixed problems will be reported at
-.Lk http://www.NetBSD.org/support/security/ .
-It is recommended that you check this page regularly.
-.Pp
-Additionally, you should set
-.Dq fetch_pkg_vulnerabilities=YES
-in
-.Pa /etc/daily.conf
-to allow your system to automatically update the local database of known
-vulnerable packages to the latest version available on-line.
-The system will later check, on a daily basis, if any of your installed
-packages are vulnerable based on the contents of this database.
-See
-.Xr daily.conf 5
-and
-.Xr security.conf 5
-for more details.
-.Ss Entropy
-If your machine does not have a hardware random number generator, it
-may not be safe to use on the internet until it has enough entropy to
-generate unpredictable secrets for programs like web browsers and
-.Xr ssh 1 .
-You can use
-.Xr rndctl 8
-to list the entropy sources with
-.Ic rndctl -l ,
-or save entropy from another machine running
-.Nx
-with
-.Ic rndctl -S
-and load it on this one with
-.Ic rndctl -L
-(as long as there are no eavesdroppers on the medium between the two
-machines).
-See
-.Xr entropy 7
-for more details.
 .Ss Login
 On a fresh install with no other user accounts, login as
 .Dq Ic root .
@@ -217,6 +177,44 @@ variable found in
 .Pp
 .Xr wscons.conf 5
 contains more information about this file.
+.Ss Security alerts
+All significant and easily fixed problems will be reported at
+.Lk http://www.NetBSD.org/support/security/ .
+It is recommended that you check this page regularly.
+.Pp
+Additionally, you should set
+.Dq fetch_pkg_vulnerabilities=YES
+in
+.Pa /etc/daily.conf
+to allow your system to automatically update the local database of known
+vulnerable packages to the latest version available on-line.
+The system will later check, on a daily basis, if any of your installed
+packages are vulnerable based on the contents of this database.
+See
+.Xr daily.conf 5
+and
+.Xr security.conf 5
+for more details.
+.Ss Entropy
+If your machine does not have a hardware random number generator, it
+may not be safe to use on the internet until it has enough entropy to
+generate unpredictable secrets for programs like web browsers and
+.Xr ssh 1 .
+You can use
+.Xr rndctl 8
+to list the entropy sources with
+.Ic rndctl -l ,
+or save entropy from another machine running
+.Nx
+with
+.Ic rndctl -S
+and load it on this one with
+.Ic rndctl -L
+(as long as there are no eavesdroppers on the medium between the two
+machines).
+See
+.Xr entropy 7
+for more details.
 .Ss Check hostname
 Use the
 .Ic hostname
@@ -260,9 +258,8 @@ and then using
 to manually configure it
 if you do not wish to reboot.
 .Pp
-Alternatively, you can configure interfaces automatically via DHCP with
-.Xr dhcpcd 8
-if you have a DHCP server running somewhere on your network.
+Alternatively, many networks allow interfaces to be configured
+automatically via DHCP.
 To get
 .Xr dhcpcd 8
 to start automatically on boot,
@@ -276,6 +273,8 @@ See
 and
 .Xr dhcpcd.conf 5
 for more information on setting up a DHCP client.
+For information on setting up Wi-Fi, see
+.Sx Wireless networking .
 .Pp
 You can add new
 .Dq virtual interfaces
@@ -436,6 +435,12 @@ and either rebooting or running the foll
 .Ic service mdnsd start
 .Ed
 .Pp
+You may also wish to enable mdnsd as a source for host lookups
+in
+.Pa /etc/nsswitch.conf ,
+see
+.Xr nsswitch.conf 5 .
+.Pp
 If your network does not have a usable DNS resolver, e.g. one provided
 by DHCP, you can run a local caching recursive resolver by setting
 .Dq named=YES
@@ -513,7 +518,7 @@ you will need to have this line in
 .Pa /etc/rc.conf :
 .Pp
 .Dl rpcbind=YES
-.Ss YP (NIS) Setup
+.Ss 

CVS commit: src/share/man/man8

2021-06-04 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Jun  4 11:56:47 UTC 2021

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

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/share/man/man8/afterboot.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/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.78 src/share/man/man8/afterboot.8:1.79
--- src/share/man/man8/afterboot.8:1.78	Fri Jun  4 11:48:18 2021
+++ src/share/man/man8/afterboot.8	Fri Jun  4 11:56:47 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.78 2021/06/04 11:48:18 nia Exp $
+.\"	$NetBSD: afterboot.8,v 1.79 2021/06/04 11:56:47 wiz Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -633,7 +633,7 @@ See
 and
 .Xr timed 8
 for more information on setting the system's date.
-.Ss Insalling packages
+.Ss Installing packages
 The
 .Nx
 packages collection, pkgsrc, includes a large set of third-party software.



CVS commit: src/share/man/man8

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 11:48:18 UTC 2021

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

Log Message:
adjust layout of afterboot(8) to make things easier to find


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/share/man/man8/afterboot.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/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.77 src/share/man/man8/afterboot.8:1.78
--- src/share/man/man8/afterboot.8:1.77	Fri Jun  4 11:33:18 2021
+++ src/share/man/man8/afterboot.8	Fri Jun  4 11:48:18 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.77 2021/06/04 11:33:18 nia Exp $
+.\"	$NetBSD: afterboot.8,v 1.78 2021/06/04 11:48:18 nia Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -160,8 +160,11 @@ user, add said user to the
 .Dq wheel
 group, then use the
 .Xr su 1
-command when root privileges are required.
-This process is described in more detail later.
+command when root privileges are required:
+.Bd -literal -offset indent
+.Ic useradd -G wheel -m myuser
+.Ic passwd myuser
+.Ed
 .Ss Root password
 Change the password for the root user.
 (Note that throughout the documentation, the term
@@ -207,7 +210,7 @@ Set the time zone to Eastern Europe Summ
 .Ss Console settings
 One of the first things you will likely need to do is to set up your
 keyboard map (and maybe some other aspects about the system console).
-To change your keyboard encoding, edit the
+To change your keyboard layout, edit the
 .Dq Va encoding
 variable found in
 .Pa /etc/wscons.conf .
@@ -422,7 +425,9 @@ first, and then the DNS resolver specifi
 .Pa /etc/resolv.conf .
 .Pp
 Multicast DNS and DNS Service Discovery are usually not enabled by
-default on a fresh NetBSD system, and can be enabled by setting
+default on a fresh
+.Nx
+system, and can be enabled by setting
 .Dq mdnsd=YES
 in
 .Pa /etc/rc.conf ,
@@ -610,36 +615,6 @@ Refer to the above example and
 for information on the format of this file.
 .Pp
 You may wish to do NFS mounts now too, or you can do them later.
-.Ss Concatenated disks (ccd)
-If you are using
-.Xr ccd 4
-concatenated disks, edit
-.Pa /etc/ccd.conf .
-You may wish to take a look to
-.Xr ccdconfig 8
-for more information about this file.
-Use the
-.Ic ccdconfig -U
-command to unload and the
-.Ic ccdconfig -C
-command to create tables internal to the kernel for the concatenated disks.
-You then
-.Xr mount 8 ,
-.Xr umount 8 ,
-and edit
-.Pa /etc/fstab
-as needed.
-.Ss Automounter daemon (AMD)
-To use the
-.Xr amd 8
-automounter, create the
-.Pa /etc/amd
-directory, copy example config files from
-.Pa /usr/share/examples/amd
-to
-.Pa /etc/amd
-and customize them as needed.
-Alternatively, you can get your maps with YP.
 .Ss Clock synchronization
 In order to make sure the system clock is synchronized
 to that of a publicly accessible NTP server,
@@ -658,6 +633,30 @@ See
 and
 .Xr timed 8
 for more information on setting the system's date.
+.Ss Insalling packages
+The
+.Nx
+packages collection, pkgsrc, includes a large set of third-party software.
+A lot of it is available as binary packages that you can download from
+.Lk https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/
+or a mirror.
+.Pp
+For most users, using pkgin to manage binary packages is recommended.
+.Pp
+To install pkgin, if it was not done by the installer:
+.Bd -literal -offset indent
+.Ic PKG_PATH=https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/[...]
+.Ic export PKG_PATH
+.Ic pkg_add pkgin
+.Ic pkgin update
+.Ic pkgin install bash mpg123 fluxbox ...
+.Ed
+.Pp
+See
+.Lk https://www.pkgsrc.org/
+and
+.Pa pkgsrc/doc/pkgsrc.txt
+for more details.
 .Sh CHANGING /etc FILES
 The system should be usable now, but you may wish to do more customizing,
 such as adding users, etc.
@@ -747,6 +746,36 @@ directly, edit only
 See
 .Xr rc.conf 5
 for further information.
+.Ss Automounter daemon (AMD)
+To use the
+.Xr amd 8
+automounter, create the
+.Pa /etc/amd
+directory, copy example config files from
+.Pa /usr/share/examples/amd
+to
+.Pa /etc/amd
+and customize them as needed.
+Alternatively, you can get your maps with YP.
+.Ss Concatenated disks (ccd)
+If you are using
+.Xr ccd 4
+concatenated disks, edit
+.Pa /etc/ccd.conf .
+You may wish to take a look to
+.Xr ccdconfig 8
+for more information about this file.
+Use the
+.Ic ccdconfig -U
+command to unload and the
+.Ic ccdconfig -C
+command to create tables internal to the kernel for the concatenated disks.
+You then
+.Xr mount 8 ,
+.Xr umount 8 ,
+and edit
+.Pa /etc/fstab
+as needed.
 .Ss X Display Manager
 If you've installed X, you may want to turn on
 .Xr xdm 1 ,
@@ -933,46 +962,14 @@ Use
 and
 .Xr chown 8
 as needed.
-.Ss Packages
-Install your own packages.
-The
-.Nx
-packages collection, pkgsrc, includes a large set of 

CVS commit: src/share/man/man8

2021-06-04 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Jun  4 11:33:19 UTC 2021

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

Log Message:
capitalization police, etc


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/share/man/man8/afterboot.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/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.76 src/share/man/man8/afterboot.8:1.77
--- src/share/man/man8/afterboot.8:1.76	Sun Jan 10 23:24:26 2021
+++ src/share/man/man8/afterboot.8	Fri Jun  4 11:33:18 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.76 2021/01/10 23:24:26 riastradh Exp $
+.\"	$NetBSD: afterboot.8,v 1.77 2021/06/04 11:33:18 nia Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -59,7 +59,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 October 5, 2020
+.Dd June 4, 2021
 .Dt AFTERBOOT 8
 .Os
 .Sh NAME
@@ -451,7 +451,7 @@ Then, to make the system use it, put the
 nameserver 127.0.0.1
 .Ed
 .Ss Wireless networking
-To configure the system to connect to a wireless network with a password
+To configure the system to connect to a Wi-Fi network with a password
 using WPA:
 .Bd -literal -offset indent
 .Ic wpa_passphrase networkname password >> /etc/wpa_supplicant.conf
@@ -939,21 +939,22 @@ The
 .Nx
 packages collection, pkgsrc, includes a large set of third-party software.
 A lot of it is available as binary packages that you can download from
-.Lk https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/
+.Lk https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/
 or a mirror.
 .Pp
 For most users, using pkgin to manage binary packages is recommended.
 .Pp
 To install pkgin, if it was not done by the installer:
 .Bd -literal -offset indent
-.Ic export PKG_PATH=https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r | cut -d_ -f1)/All
+.Ic PKG_PATH=https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/[...]
+.Ic export PKG_PATH
 .Ic pkg_add pkgin
 .Ic pkgin update
 .Ic pkgin install bash mpg123 fluxbox ...
 .Ed
 .Pp
 See
-.Lk https://www.NetBSD.org/docs/pkgsrc/
+.Lk https://www.pkgsrc.org/
 and
 .Pa pkgsrc/doc/pkgsrc.txt
 for more details.



CVS commit: src/share/man/man4

2021-06-02 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jun  2 22:32:29 UTC 2021

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

Log Message:
Add commented out ASUSTek USB-N13 B1

The urtwn driver attaches, but I didn't have a chance to try if it
actually works.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man4/urtwn.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/urtwn.4
diff -u src/share/man/man4/urtwn.4:1.17 src/share/man/man4/urtwn.4:1.18
--- src/share/man/man4/urtwn.4:1.17	Thu Dec 20 15:19:31 2018
+++ src/share/man/man4/urtwn.4	Wed Jun  2 22:32:29 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: urtwn.4,v 1.17 2018/12/20 15:19:31 tih Exp $
+.\" $NetBSD: urtwn.4,v 1.18 2021/06/02 22:32:29 wiz Exp $
 .\" $OpenBSD: urtwn.4,v 1.15 2011/11/26 06:39:33 ckuethe Exp $
 .\"
 .\" Copyright (c) 2010 Damien Bergamini 
@@ -106,6 +106,7 @@ The following adapters should work:
 .It Airlink101 AWLL5088
 .It Aus. Linx AL-9604R1S
 .It ASUSTeK USB-N10 NANO
+.\".It ASUSTek USB-N13 B1
 .It B-Link BL-LW05-5R
 .It Belkin F7D1102 Surf Wireless Micro
 .It D-Link DWA-121



CVS commit: src/share/man/man9

2021-05-31 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Mon May 31 12:24:15 UTC 2021

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

Log Message:
Use  in the synopsis rather than ; an MI
interface should be pulled in via .


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man9/delay.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/delay.9
diff -u src/share/man/man9/delay.9:1.7 src/share/man/man9/delay.9:1.8
--- src/share/man/man9/delay.9:1.7	Wed Jul 20 05:20:54 2011
+++ src/share/man/man9/delay.9	Mon May 31 12:24:15 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: delay.9,v 1.7 2011/07/20 05:20:54 jruoho Exp $
+.\" $NetBSD: delay.9,v 1.8 2021/05/31 12:24:15 simonb Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -35,7 +35,7 @@
 .Nm DELAY
 .Nd microsecond delay
 .Sh SYNOPSIS
-.In machine/param.h
+.In sys/param.h
 .Ft void
 .Fn delay "unsigned int us"
 .Ft void



CVS commit: src/share/man/man7

2021-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun May 30 07:17:01 UTC 2021

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

Log Message:
signal.7: minor clarification. Bump date (to when I wrote the change)


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 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.25 src/share/man/man7/signal.7:1.26
--- src/share/man/man7/signal.7:1.25	Wed May 30 23:41:44 2018
+++ src/share/man/man7/signal.7	Sun May 30 07:17:01 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: signal.7,v 1.25 2018/05/30 23:41:44 uwe Exp $
+.\"	$NetBSD: signal.7,v 1.26 2021/05/30 07:17:01 dholland Exp $
 .\"
 .\" Copyright (c) 1999, 2016 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 May 28, 2018
+.Dd August 24, 2018
 .Dt SIGNAL 7
 .Os
 .Sh NAME
@@ -81,7 +81,8 @@ This is always done in a way that allows
 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.
+For most signals the default action is to terminate the process and
+generate a core dump.
 See the table below.
 Note that the term
 .Em delivery



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

2021-05-30 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun May 30 06:05:24 UTC 2021

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

Log Message:
Add "root" command to pass a root specification.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 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.24 src/share/man/man8/man8.x86/boot.8:1.25
--- src/share/man/man8/man8.x86/boot.8:1.24	Thu Apr 22 01:36:25 2021
+++ src/share/man/man8/man8.x86/boot.8	Sun May 30 06:05:24 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.24 2021/04/22 01:36:25 rin Exp $
+.\"	$NetBSD: boot.8,v 1.25 2021/05/30 06:05:24 mlelstv Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -617,6 +617,9 @@ See the foreign operating system's docum
 .El
 .It Ic quit
 Reboot the system.
+.It Ic root Ar spec
+Pass an explicit root specification to the kernel.
+See BTINFO_ROOTDEVICE for details.
 .It Ic rndseed Ar file
 Load the specified
 .Ar file
@@ -713,8 +716,10 @@ This will be automatically substituted b
 .Xr dk 4
 wedge if one is discovered.
 .Pp
-The bootloader passes a wedge name as
+If the bootloader passes a wedge name as
 .Dq Li wedge:
+or
+.Dq Li NAME=
 followed by the name.
 The kernel will search for a
 .Xr dk 4



CVS commit: src/share/man/man4

2021-05-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu May 27 07:23:04 UTC 2021

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

Log Message:
sparc raid boot was 2006 (i had it right originally.)  noted by jdc.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/share/man/man4/raid.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/raid.4
diff -u src/share/man/man4/raid.4:1.39 src/share/man/man4/raid.4:1.40
--- src/share/man/man4/raid.4:1.39	Thu May 27 07:05:26 2021
+++ src/share/man/man4/raid.4	Thu May 27 07:23:04 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: raid.4,v 1.39 2021/05/27 07:05:26 wiz Exp $
+.\" $NetBSD: raid.4,v 1.40 2021/05/27 07:23:04 mrg Exp $
 .\"
 .\" Copyright (c) 1998 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -465,8 +465,8 @@ In 2021, support for autoconfiguration f
 .Pp
 Support for loading kernels from RAID 1 partitions was added for the
 pmax, alpha, i386, and vax ports in 2000, the the sgimips port in 2001,
-the sparc, sparc64 and amd64 ports in 2002, the arc port in 2005, the
-landisk port in 2006, the cobalt port in 2007, the ofppc port in 2008,
+the sparc64 and amd64 ports in 2002, the arc port in 2005, the sparc,
+and landisk ports in 2006, the cobalt port in 2007, the ofppc port in 2008,
 the bebox port in 2010, the emips port in 2011, and the sandpoint port
 in 2012.
 .Sh COPYRIGHT



CVS commit: src/share/man/man4

2021-05-27 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Thu May 27 07:05:26 UTC 2021

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

Log Message:
Use \(em. Remove superfluous Pp.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/share/man/man4/raid.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/raid.4
diff -u src/share/man/man4/raid.4:1.38 src/share/man/man4/raid.4:1.39
--- src/share/man/man4/raid.4:1.38	Thu May 27 06:53:37 2021
+++ src/share/man/man4/raid.4	Thu May 27 07:05:26 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: raid.4,v 1.38 2021/05/27 06:53:37 mrg Exp $
+.\" $NetBSD: raid.4,v 1.39 2021/05/27 07:05:26 wiz Exp $
 .\"
 .\" Copyright (c) 1998 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -405,7 +405,7 @@ compromised.
 This includes after system crashes, or before a RAID
 device has been used for the first time.
 Failure to keep parity
-correct will be catastrophic should a component ever fail -- it is
+correct will be catastrophic should a component ever fail \(em it is
 better to use RAID 0 and get the additional space and speed, than it
 is to use parity, but not keep the parity correct.
 At least with RAID
@@ -469,7 +469,6 @@ the sparc, sparc64 and amd64 ports in 20
 landisk port in 2006, the cobalt port in 2007, the ofppc port in 2008,
 the bebox port in 2010, the emips port in 2011, and the sandpoint port
 in 2012.
-.Pp
 .Sh COPYRIGHT
 .Bd -unfilled
 The RAIDframe Copyright is as follows:



CVS commit: src/share/man/man4

2021-05-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Tue May 11 14:51:34 UTC 2021

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

Log Message:
wskbd.4: document neo layout


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/share/man/man4/wskbd.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/wskbd.4
diff -u src/share/man/man4/wskbd.4:1.24 src/share/man/man4/wskbd.4:1.25
--- src/share/man/man4/wskbd.4:1.24	Sun Sep 13 07:36:55 2020
+++ src/share/man/man4/wskbd.4	Tue May 11 14:51:34 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: wskbd.4,v 1.24 2020/09/13 07:36:55 wiz Exp $
+.\" $NetBSD: wskbd.4,v 1.25 2021/05/11 14:51:34 nia Exp $
 .\"
 .\" Copyright (c) 1999
 .\" 	Matthias Drochner.  All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd September 13, 2020
+.Dd May 11, 2021
 .Dt WSKBD 4
 .Os
 .Sh NAME
@@ -142,8 +142,9 @@ and
 .Dq dead accents
 .It Li fi Ta Dv KB_FI Ta Finnish
 .It Li fr Ta Dv KB_FR Ta French
-.It Li de Ta Dv KB_DE Ta German with
+.It Li de Ta Dv KB_DE Ta German QWERTZ with
 .Dq dead accents
+.It Li neo Ta Dv KB_NEO Ta German Neo 2 layout
 .It Li gr Ta Dv KB_GR Ta Greek
 .It Li hu Ta Dv KB_HU Ta Hungarian
 .It Li is Ta Dv KB_IS Ta Icelandic with



CVS commit: src/share/man/man4

2021-05-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May  4 17:51:55 UTC 2021

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

Log Message:
Fix code example (from RVP)


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/share/man/man4/envsys.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/envsys.4
diff -u src/share/man/man4/envsys.4:1.54 src/share/man/man4/envsys.4:1.55
--- src/share/man/man4/envsys.4:1.54	Fri May 10 01:59:47 2019
+++ src/share/man/man4/envsys.4	Tue May  4 13:51:55 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: envsys.4,v 1.54 2019/05/10 05:59:47 cnst Exp $
+.\"	$NetBSD: envsys.4,v 1.55 2021/05/04 17:51:55 christos Exp $
 .\"
 .\" Copyright (c) 2007 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 10, 2013
+.Dd May 4, 2021
 .Dt ENVSYS 4
 .Os
 .Sh NAME
@@ -411,7 +411,7 @@ main(void)
 	if (!prop_dictionary_set(global_dict, "aibs0", array))
 		err(EINVAL, "prop_dictionary_set global");
 
-	obj = prop_string_create_cstring_nocopy("sensor0");
+	obj = prop_string_create_nocopy("sensor0");
 	if (obj == NULL ||
 	!prop_dictionary_set(sensor_dict, "index", obj))
 		err(EINVAL, "sensor index");
@@ -429,7 +429,7 @@ main(void)
 	if (!prop_array_add(array, sensor_dict))
 		err(EINVAL, "prop_array_add");
 
-	if ((fd = open(_DEV_SYSMON, O_RDWR)) == \-1)
+	if ((fd = open(_PATH_SYSMON, O_RDWR)) == \-1)
 		err(EXIT_FAILURE, "open");
 
 	/* we are done, send the dictionary */
@@ -437,6 +437,7 @@ main(void)
 	   fd,
 	   ENVSYS_SETDICTIONARY);
 	prop_object_release(array);
+	prop_object_release(sensor_dict);
 	prop_object_release(global_dict);
 	(void)close(fd);
 	return error;



CVS commit: src/share/man/man4

2021-05-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May  4 17:47:51 UTC 2021

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

Log Message:
Fix incorrect structure name (Rocky Hotas)


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/share/man/man4/gpio.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/gpio.4
diff -u src/share/man/man4/gpio.4:1.35 src/share/man/man4/gpio.4:1.36
--- src/share/man/man4/gpio.4:1.35	Thu Feb 13 17:48:11 2020
+++ src/share/man/man4/gpio.4	Tue May  4 13:47:51 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: gpio.4,v 1.35 2020/02/13 22:48:11 sevan Exp $
+.\" $NetBSD: gpio.4,v 1.36 2021/05/04 17:47:51 christos Exp $
 .\"	$OpenBSD: gpio.4,v 1.5 2004/11/23 09:39:29 reyk Exp $
 .\"
 .\" Copyright (c) 2004 Alexander Yurchenko 
@@ -15,7 +15,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd February 13, 2020
+.Dd May 4, 2021
 .Dt GPIO 4
 .Os
 .Sh NAME
@@ -85,7 +85,7 @@ struct gpio_info {
 .Pp
 .It Dv GPIOREAD ( struct gpio_req )
 Returns the input pin value in the
-.Fa gpio_pin_op
+.Fa gpio_req
 structure:
 .Bd -literal
 #define GPIOMAXNAME		64



CVS commit: src/share/man/man7

2021-05-01 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat May  1 07:41:14 UTC 2021

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

Log Message:
intro.7: add missing entries


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/share/man/man7/intro.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/intro.7
diff -u src/share/man/man7/intro.7:1.28 src/share/man/man7/intro.7:1.29
--- src/share/man/man7/intro.7:1.28	Wed Feb 26 10:06:08 2020
+++ src/share/man/man7/intro.7	Sat May  1 07:41:14 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: intro.7,v 1.28 2020/02/26 10:06:08 wiz Exp $
+.\"	$NetBSD: intro.7,v 1.29 2021/05/01 07:41:14 nia Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" @(#)intro.7	8.1 (Berkeley) 6/5/93
 .\"
-.Dd May 15, 2018
+.Dd May 1, 2021
 .Dt INTRO 7
 .Os
 .Sh NAME
@@ -37,11 +37,13 @@
 .Nd miscellaneous information pages
 .Sh DESCRIPTION
 This section contains miscellaneous documentation, including:
-.Bl -tag -width "mdoc.samples(7)" -offset indent
+.Bl -tag -width "kernel_sanitizers(7)" -offset indent
 .It Xr ascii 7
 map of ASCII character set
 .It Xr c 7
 the C programming language
+.It Xr entropy 7
+random unpredictable secrets needed for security
 .It Xr environ 7
 user environment
 .It Xr glob 7
@@ -57,6 +59,10 @@ file system hierarchy in
 .Nx
 .It Xr hostname 7
 host name resolution description
+.It Xr kernel_sanitizers 7
+bug detection features in the
+.Nx
+kernel
 .It Xr mailaddr 7
 mail addressing description
 .\" .It Sy man
@@ -76,6 +82,9 @@ tutorial for writing BSD manuals with
 kernel modules
 .It Xr nls 7
 overview of national language support
+.It Xr npf 7
+.Nx
+Packet Filter
 .It Xr operator 7
 C operator precedence and order of evaluation
 .It Xr orders 7
@@ -100,6 +109,10 @@ checklist for security and setuid progra
 .It Xr signal 7
 available signals under
 .Nx
+.It Xr src 7
+layout of the
+.Nx
+source tree
 .It Xr sticky 7
 sticky bit
 .Pq Dv S_ISVTX



CVS commit: src/share/man/man5

2021-04-30 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 30 16:12:19 UTC 2021

Modified Files:
src/share/man/man5: resolv.conf.5

Log Message:
Mention that check-names is now the default.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/share/man/man5/resolv.conf.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/resolv.conf.5
diff -u src/share/man/man5/resolv.conf.5:1.30 src/share/man/man5/resolv.conf.5:1.31
--- src/share/man/man5/resolv.conf.5:1.30	Sun Sep  9 14:09:24 2012
+++ src/share/man/man5/resolv.conf.5	Fri Apr 30 12:12:18 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: resolv.conf.5,v 1.30 2012/09/09 18:09:24 christos Exp $
+.\"	$NetBSD: resolv.conf.5,v 1.31 2021/04/30 16:12:18 christos Exp $
 .\"
 .\" Copyright (c) 1986, 1991 The Regents of the University of California.
 .\" All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" @(#)resolver.5	5.12 (Berkeley) 5/10/91
 .\"
-.Dd September 9, 2012
+.Dd Arril 30, 2021
 .Dt RESOLV.CONF 5
 .Os
 .Sh NAME
@@ -179,7 +179,6 @@ which disables the modern BIND checking 
 for invalid characters such as underscore
 .Pq Sq _ ,
 non-ASCII, or control characters.
-This is the default.
 .It Sy check-names
 clears
 .Dv RES_NOCHECKNAME
@@ -187,6 +186,7 @@ in
 .Ft _res.options ,
 which enables the modern BIND checking of incoming host names and mail names
 as described above.
+This is the default.
 .It Sy edns0
 attach OPT pseudo-RR for ENDS0 extension specified in RFC 2671,
 to inform DNS server of our receive buffer size.



CVS commit: src/share/man/man8

2021-04-24 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Apr 25 05:52:22 UTC 2021

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

Log Message:
these sysctl variables were removed


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/share/man/man8/compat_linux.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_linux.8
diff -u src/share/man/man8/compat_linux.8:1.41 src/share/man/man8/compat_linux.8:1.42
--- src/share/man/man8/compat_linux.8:1.41	Sat Apr 24 07:12:17 2021
+++ src/share/man/man8/compat_linux.8	Sun Apr 25 05:52:22 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: compat_linux.8,v 1.41 2021/04/24 07:12:17 nia Exp $
+.\"	$NetBSD: compat_linux.8,v 1.42 2021/04/25 05:52:22 nia Exp $
 .\"
 .\" Copyright (c) 1995 Frank van der Linden
 .\" All rights reserved.
@@ -29,7 +29,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 April 4, 2021
+.Dd April 25, 2021
 .Dt COMPAT_LINUX 8
 .Os
 .Sh NAME
@@ -193,19 +193,7 @@ but is available as a module.
 It must be added to
 .Xr modules.conf 5
 to be used.
-.Pp
-When using a
-.Dv MODULAR
-kernel (see
-.Xr module 7 ) ,
-binary compatibility is not activated automatically.
-To activate it, set the appropriate
-.Xr sysctl 8
-variables:
-.Bd -literal
-sysctl -w emul.linux.enabled=1
-sysctl -w emul.linux32.enabled=1
-.Ed
+It will not be loaded automatically.
 .Sh BUGS
 The information about Linux distributions will become outdated.
 .Pp



CVS commit: src/share/man/man8

2021-04-24 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Apr 24 07:12:17 UTC 2021

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

Log Message:
update information


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/man/man8/compat_linux.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_linux.8
diff -u src/share/man/man8/compat_linux.8:1.40 src/share/man/man8/compat_linux.8:1.41
--- src/share/man/man8/compat_linux.8:1.40	Mon Oct  2 12:55:10 2017
+++ src/share/man/man8/compat_linux.8	Sat Apr 24 07:12:17 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: compat_linux.8,v 1.40 2017/10/02 12:55:10 wiz Exp $
+.\"	$NetBSD: compat_linux.8,v 1.41 2021/04/24 07:12:17 nia Exp $
 .\"
 .\" Copyright (c) 1995 Frank van der Linden
 .\" All rights reserved.
@@ -29,7 +29,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 September 29, 2017
+.Dd April 4, 2021
 .Dt COMPAT_LINUX 8
 .Os
 .Sh NAME
@@ -40,14 +40,12 @@
 supports running Linux binaries.
 This applies to amd64, arm, alpha, i386, m68k, and powerpc systems for now.
 Both the a.out and ELF binary formats are supported.
-Most programs should work, including the ones that use the Linux SVGAlib (only
-on i386).
+Most programs should work.
 .Nx
-amd64 can execute both 32bit and 64bit linux programs.
+amd64 can execute both 32-bit and 64-bit Linux programs.
 Programs that will not work include some that use
 i386-specific calls, such as enabling virtual 8086 mode.
-Currently, sound is only partially supported for Linux binaries (they will
-probably run, depending on what Linux sound support features are used).
+Currently, sound is supported through OSSv3 compat.
 .Pp
 The Linux compatibility feature is active
 for kernels compiled with the
@@ -64,6 +62,9 @@ and/or
 .Dv EXEC_ELF64
 options (respectively) should be enabled in addition to
 .Dv COMPAT_LINUX .
+If sound support is desired,
+.Dv COMPAT_OSSAUDIO
+should be enabled.
 .Pp
 A lot of programs are dynamically linked.
 This means that you will also need the Linux shared libraries that the
@@ -77,7 +78,7 @@ This directory is named
 .Pa /emul/linux
 or
 .Pa /emul/linux32
-for 32bit emulation on 64bit systems.
+for 32-bit emulation on 64-bit systems.
 Any file operations done by Linux programs run under
 .Nx
 will look in this directory first.
@@ -109,275 +110,62 @@ After a while, you will have a sufficien
 set of Linux shared libraries on your system to be able to run newly
 imported Linux binaries without any extra work.
 .Ss Setting up shared libraries
-How to get to know which shared libraries Linux binaries need, and where
-to get them? Basically, there are 2 possibilities (when following
-these instructions: you will need to be root on your
-.Nx
-system to
-do the necessary installation steps).
-.Bl -enum
-.It
-For i386, you can simply install the SuSE shared libs using the
-.Pa pkgsrc/emulators/suse100_linux
-package(s).
-On PowerPC ports, the
-.Pa pkgsrc/emulators/linuxppc_lib
-will install the needed libraries.
-If you are on other platforms, or this doesn't supply you with all
-the needed libraries, read on.
-.It
-You have access to a Linux system.
-In this case you can temporarily install the binary there, see what
-shared libraries it needs, and copy them to your
-.Nx
-system.
-Example: you have just ftp-ed the Linux binary of Doom.
-Put it on the Linux system you have access to, and check which shared libraries it
-needs by running
-.Sq ldd linuxxdoom :
-.Bd -literal -offset indent
-(me@linux) ldd linuxxdoom
- libXt.so.3 (DLL Jump 3.1) => /usr/X11/lib/libXt.so.3.1.0
- libX11.so.3 (DLL Jump 3.1) => /usr/X11/lib/libX11.so.3.1.0
- libc.so.4 (DLL Jump 4.5pl26) => /lib/libc.so.4.6.29
-.Ed
-.Pp
-You would need go get all the files from the last column, and
-put them under
-.Pa /emul/linux ,
-with the names in the first column
-as symbolic links pointing to them.
-This means you eventually have these files on your
-.Nx
-system:
-.Bl -item -compact
-.It
-.Pa /emul/linux/usr/X11/lib/libXt.so.3.1.0
-.It
-.Pa /emul/linux/usr/X11/lib/libXt.so.3
-(symbolic link to the above)
-.It
-.Pa /emul/linux/usr/X11/lib/libX11.so.3.1.0
-.It
-.Pa /emul/linux/usr/X11/lib/libX11.so.3
-(symbolic link to the above)
-.It
-.Pa /emul/linux/lib/libc.so.4.6.29
-.It
-.Pa /emul/linux/lib/libc.so.4
-(symbolic link to the above)
-.El
-.Pp
-Note that if you already have a Linux shared library with a
-matching major revision number to the first column of the
-.Xr ldd 1
-output, you won't need to copy the file named in the last column
-to your system, the one you already have should work.
-It is advisable to copy the shared library anyway if it is a newer version,
-though.
-You can remove the old one, as long as you make the symbolic
-link point to the new one.
-So, if you have these libraries 

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

2021-04-21 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Apr 22 01:36:25 UTC 2021

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

Log Message:
Capitalize /EFI and /EFI/NetBSD as usual. Both are case-insensitive although.
Maybe not worth bumping dates...


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 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.23 src/share/man/man8/man8.x86/boot.8:1.24
--- src/share/man/man8/man8.x86/boot.8:1.23	Mon Aug 10 01:10:26 2020
+++ src/share/man/man8/man8.x86/boot.8	Thu Apr 22 01:36:25 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.23 2020/08/10 01:10:26 uwe Exp $
+.\"	$NetBSD: boot.8,v 1.24 2021/04/22 01:36:25 rin Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -797,7 +797,7 @@ bootstraps for
 and
 .Nx Ns /amd64 ,
 which should be copied to the
-.Pa /efi/boot
+.Pa /EFI/boot
 directory in a
 .Tn FAT
 formatted partition of type
@@ -812,7 +812,7 @@ section).
 .Nx
 .Tn UEFI
 bootstrap reads its configuration from the
-.Pa /efi/netBSD/boot.cfg
+.Pa /EFI/NetBSD/boot.cfg
 file in the
 .Tn EFI
 partition.



CVS commit: src/share/man/man3

2021-04-14 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Apr 14 07:56:23 UTC 2021

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

Log Message:
OpenSSL man pages have moved


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/share/man/man3/intro.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/intro.3
diff -u src/share/man/man3/intro.3:1.35 src/share/man/man3/intro.3:1.36
--- src/share/man/man3/intro.3:1.35	Wed Apr 14 07:52:53 2021
+++ src/share/man/man3/intro.3	Wed Apr 14 07:56:23 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: intro.3,v 1.35 2021/04/14 07:52:53 nia Exp $
+.\"	$NetBSD: intro.3,v 1.36 2021/04/14 07:56:23 nia Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -123,7 +123,7 @@ See
 .It Em libcrypto Pq Fl l Ns Ar crypto
 The OpenSSL cryptographic library.
 See
-.Xr crypto 3 .
+.Xr crypto 7 .
 .It Em libcurses Pq Fl l Ns Ar curses Fl l Ns Ar terminfo
 Terminal independent screen management routines
 for two dimensional non-bitmap display terminals.
@@ -281,7 +281,7 @@ See
 .It Em libssl Pq Fl l Ns Ar ssl
 The secure sockets layer (SSL) library.
 See
-.Xr ssl 3 .
+.Xr ssl 7 .
 .It Em libtelnet Pq Fl l Ns Ar telnet
 The telnet library.
 .It Em libterminfo Pq Fl l Ns Ar terminfo



CVS commit: src/share/man/man3

2021-04-14 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Apr 14 07:52:53 UTC 2021

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

Log Message:
intro.3: add a few


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/share/man/man3/intro.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/intro.3
diff -u src/share/man/man3/intro.3:1.34 src/share/man/man3/intro.3:1.35
--- src/share/man/man3/intro.3:1.34	Fri May 11 12:54:56 2018
+++ src/share/man/man3/intro.3	Wed Apr 14 07:52:53 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: intro.3,v 1.34 2018/05/11 12:54:56 sevan Exp $
+.\"	$NetBSD: intro.3,v 1.35 2021/04/14 07:52:53 nia Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" @(#)intro.3	8.1 (Berkeley) 6/5/93
 .\"
-.Dd May 11, 2018
+.Dd April 14, 2021
 .Dt INTRO 3
 .Os
 .Sh NAME
@@ -228,6 +228,15 @@ See
 The curses menu library.
 See
 .Xr menus 3 .
+.It Em libnvmm Pq Fl l Ns Ar nvmm
+.Nx
+Virtualization API.
+See
+.Xr libnvmm 3 .
+.It Em libossaudio Pq Fl l Ns Ar ossaudio
+Open Sound System compatibility library.
+See
+.Xr ossaudio 3 .
 .It Em libpanel Pq Fl l Ns Ar panel
 The curses panel library.
 See



CVS commit: src/share/man/man4

2021-04-10 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Apr 10 08:01:21 UTC 2021

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

Log Message:
'no merit' is a strong statement


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/share/man/man4/hdaudio.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/hdaudio.4
diff -u src/share/man/man4/hdaudio.4:1.20 src/share/man/man4/hdaudio.4:1.21
--- src/share/man/man4/hdaudio.4:1.20	Sat Apr 10 04:10:21 2021
+++ src/share/man/man4/hdaudio.4	Sat Apr 10 08:01:21 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hdaudio.4,v 1.20 2021/04/10 04:10:21 isaki Exp $
+.\"	$NetBSD: hdaudio.4,v 1.21 2021/04/10 08:01:21 nia Exp $
 .\"
 .\" Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -133,8 +133,8 @@ Handle unsolicited RIRB messages
 .It
 Modem function groups
 .It
-Hardware formats higher than 16 bits precision.
+24-bit and 20-bit hardware formats cannot yet be used.
 Since the machine-independent audio layer converts all input from
-the userland and the hardware layer to 16 bits precision for processing,
-so there is no (or few) merit to support them.
+userland and the hardware layer to 16-bit precision for processing,
+there would currently be no advantage in using them.
 .El



CVS commit: src/share/man/man4

2021-04-09 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Apr 10 04:10:21 UTC 2021

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

Log Message:
Fix a wrong description in previous.
MD drivers can support 20 or 24 bits formats even under current MI layer's
constraints.
http://mail-index.netbsd.org/source-changes-d/2021/03/12/msg013255.html


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/share/man/man4/hdaudio.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/hdaudio.4
diff -u src/share/man/man4/hdaudio.4:1.19 src/share/man/man4/hdaudio.4:1.20
--- src/share/man/man4/hdaudio.4:1.19	Fri Mar 12 08:03:24 2021
+++ src/share/man/man4/hdaudio.4	Sat Apr 10 04:10:21 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hdaudio.4,v 1.19 2021/03/12 08:03:24 nia Exp $
+.\"	$NetBSD: hdaudio.4,v 1.20 2021/04/10 04:10:21 isaki Exp $
 .\"
 .\" Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -133,8 +133,8 @@ Handle unsolicited RIRB messages
 .It
 Modem function groups
 .It
-20-bit and 24-bit I/O formats.
-The machine-independent audio layer supports samples with 32-bit precision,
-but these will be converted down to 16-bit before output, because converting
-to a hardware precision that isn't a power of two is not yet handled.
+Hardware formats higher than 16 bits precision.
+Since the machine-independent audio layer converts all input from
+the userland and the hardware layer to 16 bits precision for processing,
+so there is no (or few) merit to support them.
 .El



CVS commit: src/share/man/man4

2021-04-06 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Tue Apr  6 22:12:16 UTC 2021

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

Log Message:
Remove sentence that has not been true since netbsd-6.

ioctl(RNDADDDATA) is not the only way to raise the entropy estimate;
privileged writes to /dev/random have the same effect.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 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.38 src/share/man/man4/rnd.4:1.39
--- src/share/man/man4/rnd.4:1.38	Fri Feb 12 01:52:09 2021
+++ src/share/man/man4/rnd.4	Tue Apr  6 22:12:16 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: rnd.4,v 1.38 2021/02/12 01:52:09 riastradh Exp $
+.\"	$NetBSD: rnd.4,v 1.39 2021/04/06 22:12:16 riastradh Exp $
 .\"
 .\" Copyright (c) 2014-2020 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -389,9 +389,6 @@ This ioctl can be used only once per boo
 It is intended for a system that saves entropy to disk on shutdown and
 restores it on boot, so that the system can immediately be
 unpredictable without having to wait to gather entropy.
-.Pp
-This ioctl is the only way for userland to directly change the system's
-entropy estimate.
 .It Dv RNDGETPOOLSTAT Pq Vt rndpoolstat_t
 .Bd -literal
 typedef struct {



CVS commit: src/share/man/man4

2021-03-30 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Tue Mar 30 15:29:43 UTC 2021

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

Log Message:
Make this format a little bit nicely.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/siisata.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/siisata.4
diff -u src/share/man/man4/siisata.4:1.7 src/share/man/man4/siisata.4:1.8
--- src/share/man/man4/siisata.4:1.7	Sat Oct  7 17:35:48 2017
+++ src/share/man/man4/siisata.4	Tue Mar 30 15:29:43 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: siisata.4,v 1.7 2017/10/07 17:35:48 jdolecek Exp $
+.\" $NetBSD: siisata.4,v 1.8 2021/03/30 15:29:43 rin Exp $
 .\"
 .\" Copyright (c) 2007, 2008 Jonathan A. Kollasch. All rights reserved.
 .\"
@@ -64,7 +64,7 @@ driver first appeared in
 .Nx 5.0 .
 NCQ support was added in
 .Nx
-on October 7, 2017 .
+on October 7, 2017.
 .Sh AUTHORS
 The
 .Nm
@@ -73,11 +73,10 @@ driver was written by
 NCQ support was added by him, and
 .An Jaromir Dolecek Aq Mt jdole...@netbsd.org .
 .Sh BUGS
-.Bl -tag -width Ds -compact
-.It Device hot swapping is not yet supported .
-.It Silicon Image's Software RAID is not yet supported by the
+Device hot swapping is not yet supported.
+.Pp
+Silicon Image's Software RAID is not yet supported by the
 .Xr ataraid 4
 driver.
 .Xr raid 4
 can be used instead.
-.El



CVS commit: src/share/man/man9

2021-03-28 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Mar 28 07:42:06 UTC 2021

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

Log Message:
Update documents.
- query_format has been mandatory (since at least Feb 2020).
- set_params has been replaced to set_format (since May 2019).


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/share/man/man9/audio.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/audio.9
diff -u src/share/man/man9/audio.9:1.60 src/share/man/man9/audio.9:1.61
--- src/share/man/man9/audio.9:1.60	Sat Feb  6 13:55:40 2021
+++ src/share/man/man9/audio.9	Sun Mar 28 07:42:06 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: audio.9,v 1.60 2021/02/06 13:55:40 nia Exp $
+.\"	$NetBSD: audio.9,v 1.61 2021/03/28 07:42:06 isaki Exp $
 .\"
 .\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -241,17 +241,13 @@ The
 and
 .Va rec
 structures contain the encoding parameters that should be set to the hardware.
-If the driver has query_format, all parameters on
-.Va play
-and/or
-.Va rec
-are chosen from formats returned by query_format.
+All of these parameters are chosen from formats returned by
+.Va query_format .
 Therefore
 .Va play
 and/or
 .Va rec
 are always settable.
-If the driver does not have query_format, the driver has to validate the format.
 If the hardware does not support
 .Dv AUDIO_ENCODING_SLINEAR_{NE,OE}:16 ,
 conversion information should be filled the
@@ -355,7 +351,7 @@ The return value also must be non-zero a
 It is called in the Attach or Closed phases.
 .It Dv int commit_settings(void *hdl)
 optional, is called after all calls to
-.Va set_params ,
+.Va set_format ,
 and
 .Va set_port ,
 are done.



CVS commit: src/share/man/man4

2021-03-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Mar 27 08:01:21 UTC 2021

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

Log Message:
Add uxrcom(4)


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/share/man/man4/usb.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/usb.4
diff -u src/share/man/man4/usb.4:1.116 src/share/man/man4/usb.4:1.117
--- src/share/man/man4/usb.4:1.116	Fri Feb 26 09:59:19 2021
+++ src/share/man/man4/usb.4	Sat Mar 27 08:01:21 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: usb.4,v 1.116 2021/02/26 09:59:19 nia Exp $
+.\" $NetBSD: usb.4,v 1.117 2021/03/27 08:01:21 nia Exp $
 .\"
 .\" Copyright (c) 1999-2014 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 26, 2021
+.Dd March 27, 2021
 .Dt USB 4
 .Os
 .Sh NAME
@@ -169,6 +169,8 @@ Silicon Laboratories CP2101/CP2102 based
 USB Handspring Visor
 .It Xr uvscom 4
 SUNTAC Slipper U VS-10U USB serial adapter
+.It Xr uxrcom 4
+Exar XR21V141x USB serial adapter
 .El
 .Ss Audio devices
 .Bl -tag -width 12n -offset ind -compact



CVS commit: src/share/man/man5

2021-03-21 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Mar 22 00:09:06 UTC 2021

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

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man5/ttyaction.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/ttyaction.5
diff -u src/share/man/man5/ttyaction.5:1.10 src/share/man/man5/ttyaction.5:1.11
--- src/share/man/man5/ttyaction.5:1.10	Sun Mar 21 23:29:36 2021
+++ src/share/man/man5/ttyaction.5	Mon Mar 22 00:09:06 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: ttyaction.5,v 1.10 2021/03/21 23:29:36 mrg Exp $
+.\" $NetBSD: ttyaction.5,v 1.11 2021/03/22 00:09:06 wiz Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -37,7 +37,8 @@
 The
 .Nm ttyaction
 file specifies site-specific commands to run
-when a login session begins and ends. The
+when a login session begins and ends.
+The
 .Nm ttyaction
 file contains a list of newline separated records, where
 each record has the following three fields:
@@ -79,7 +80,8 @@ PATH=_PATH_STDPATH
 .Pp
 These variables may be used directly in the shell command
 part of the record for simple tasks such as changing the
-ownership of related devices.  For example:
+ownership of related devices.
+For example:
 .Bd -literal -offset indent
 console  *	chown ${USER}:tty /dev/mouse
 .Ed
@@ -100,7 +102,7 @@ tty0	getty	/somewhere/tty_clean ${TTY}
 .Sh HISTORY
 Support for the
 .Pa /etc/ttyaction
-file first appeared in 
+file first appeared in
 .Nx 1.3 .
 The ideas for the
 .Pa /etc/ttyaction



CVS commit: src/share/man/man4

2021-03-17 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Mar 17 14:10:29 UTC 2021

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

Log Message:
pci(4): many more drivers


To generate a diff of this commit:
cvs rdiff -u -r1.118 -r1.119 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.118 src/share/man/man4/pci.4:1.119
--- src/share/man/man4/pci.4:1.118	Wed Mar 17 13:42:03 2021
+++ src/share/man/man4/pci.4	Wed Mar 17 14:10:29 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.118 2021/03/17 13:42:03 nia Exp $
+.\"	$NetBSD: pci.4,v 1.119 2021/03/17 14:10:29 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -138,6 +138,10 @@ QLogic ISP-1020, ISP-1040, and ISP-2100 
 LSI Logic & Dell MegaRAID SAS RAID controllers.
 .It Xr mly 4
 Mylex AcceleRAID and eXtremeRAID controllers with v6 firmware.
+.It Xr mpii 4
+LSI Logic Fusion-MPT Message Passing Interface II SAS controllers.
+.It Xr mpt 4
+LSI Logic Fusion-MPT SCSI/Fibre Channel/SAS controllers.
 .It Xr nca 4
 Domex 536 SCSI interfaces.
 .It Xr pcscp 4
@@ -155,20 +159,34 @@ The Adaptec AAC family of RAID controlle
 AHCI 1.0 and 1.1 compliant SATA controllers.
 .It Xr amr 4
 The AMI and LSI Logic MegaRAID family of RAID controllers.
+.It Xr arcmsr 4
+Areca Technology Corporation SATA/SAS RAID controllers.
 .It Xr cac 4
 Compaq array controllers.
+.It Xr ciss 4
+HP/Compaq Smart ARRAY 5/6 RAID controllers.
 .It Xr icp 4
 ICP Vortex GDT and Intel Storage RAID controllers.
+.It Xr ixpide 4
+ATI Technologies IXP IDE controllers
 .It Xr mlx 4
 Mylex DAC960 and DEC SWXCR RAID controllers.
+.It Xr nside 4
+National Semiconductor PC87415 PCI-IDE controllers.
 .It Xr nvme 4
 Non-Volatile Memory (NVM Express) host controllers.
 .It Xr pciide 4
 IDE disk controllers.
 .It Xr rtsx 4
 Realtek SD card readers.
+.It Xr svwsata 4
+Serverworks Serial ATA disk controllers.
+.It Xr twa 4
+3ware Apache RAID controllers.
 .It Xr twe 4
 3Ware Escalade RAID controllers.
+.It Xr viaide 4
+AMD, NVIDIA and VIA IDE disk controllers.
 .El
 .Ss Wired network interfaces
 .Bl -tag -width pcdisplay(4) -offset indent
@@ -190,6 +208,8 @@ Elastic Network Adapter interfaces.
 3Com 3c590, 3c595, 3c900, and 3c905 Ethernet interfaces.
 .It Xr epic 4
 SMC83C170 (EPIC/100) Ethernet interfaces.
+.It Xr et 4
+Agere/LSI ET1310/ET1301 10/100/1000 Ethernet interfaces.
 .It Xr ex 4
 3Com 3c900, 3c905, and 3c980 Ethernet interfaces.
 .It Xr fxp 4
@@ -202,11 +222,15 @@ Sun Microelectronics STP2002-STQ Etherne
 Intel 82598EB, 82599, X540 and X550 10 Gigabit Ethernet interfaces.
 .It Xr ixl 4
 Intel 700 series Ethernet interfaces.
+.It Xr jme 4
+JMicron Technologies JMC250/JMC260 Ethernet interfaces.
 .It Xr le 4
 PCNet-PCI Ethernet interfaces.
 Note, the
 .Xr pcn 4
 driver supersedes this driver.
+.It Xr lii 4
+Attansic/Atheros L2 Fast-Ethernet interfaces.
 .It Xr mcx 4
 Mellanox 5th generation Ethernet devices.
 .It Xr msk 4
@@ -344,6 +368,8 @@ Generic PCI bridges, including expansion
 Brooktree 848 compatible TV cards.
 .It Xr ehci 4
 USB EHCI host controllers.
+.It Xr ibmcd 4
+IBM 4810 BSP cash drawer ports.
 .It Xr iop 4
 I2O I/O processors.
 .It Xr oboe 4



CVS commit: src/share/man/man4

2021-03-17 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Mar 17 13:42:03 UTC 2021

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

Log Message:
add ale(4) and bge(4) to pci.4


To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.117 src/share/man/man4/pci.4:1.118
--- src/share/man/man4/pci.4:1.117	Wed Mar 17 13:12:33 2021
+++ src/share/man/man4/pci.4	Wed Mar 17 13:42:03 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.117 2021/03/17 13:12:33 nia Exp $
+.\"	$NetBSD: pci.4,v 1.118 2021/03/17 13:42:03 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -175,8 +175,13 @@ Realtek SD card readers.
 .It Xr alc 4
 Atheros AR813x/AR815x/AR816x/AR817x and Killer E2200/2400/2500
 10/100/1000 Ethernet interfaces.
+.It Xr ale 4
+Atheros AR8121/AR8113/AR8114 (Attansic L1E) 10/100/1000 Ethernet
+interfaces.
 .It Xr aq 4
 Aquantia AQC multigigabit Ethernet interfaces.
+.It Xr bge 4
+Broadcom BCM57xx/BCM590x 10/100/1000 Ethernet interfaces.
 .It Xr bnx 4
 Broadcom NetXtreme II 10/100/1000 Ethernet interfaces.
 .It Xr ena 4



CVS commit: src/share/man/man4

2021-03-17 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Mar 17 13:12:33 UTC 2021

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

Log Message:
add alc(4)


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.116 src/share/man/man4/pci.4:1.117
--- src/share/man/man4/pci.4:1.116	Fri Mar 12 08:28:20 2021
+++ src/share/man/man4/pci.4	Wed Mar 17 13:12:33 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.116 2021/03/12 08:28:20 nia Exp $
+.\"	$NetBSD: pci.4,v 1.117 2021/03/17 13:12:33 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -29,7 +29,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 March 12, 2021
+.Dd March 17, 2021
 .Dt PCI 4
 .Os
 .Sh NAME
@@ -172,6 +172,9 @@ Realtek SD card readers.
 .El
 .Ss Wired network interfaces
 .Bl -tag -width pcdisplay(4) -offset indent
+.It Xr alc 4
+Atheros AR813x/AR815x/AR816x/AR817x and Killer E2200/2400/2500
+10/100/1000 Ethernet interfaces.
 .It Xr aq 4
 Aquantia AQC multigigabit Ethernet interfaces.
 .It Xr bnx 4



CVS commit: src/share/man/man4

2021-03-15 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon Mar 15 18:21:51 UTC 2021

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

Log Message:
Use inline cross-references.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/share/man/man4/isapnp.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/isapnp.4
diff -u src/share/man/man4/isapnp.4:1.25 src/share/man/man4/isapnp.4:1.26
--- src/share/man/man4/isapnp.4:1.25	Fri Feb 26 11:12:45 2021
+++ src/share/man/man4/isapnp.4	Mon Mar 15 18:21:51 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: isapnp.4,v 1.25 2021/02/26 11:12:45 nia Exp $
+.\"	$NetBSD: isapnp.4,v 1.26 2021/03/15 18:21:51 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jonathan Stone
 .\" All rights reserved.
@@ -52,41 +52,41 @@ includes machine-independent ISAPNP driv
 and driver name:
 .Ss SCSI interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It aha
+.It Xr aha 4
 Adaptec AHA-154[02]
 .Tn SCSI
 interfaces.
-.It aic
+.It Xr aic 4
 Adaptec AHA-1520B
 .Tn SCSI
 interfaces.
 .El
 .Ss Disk controllers
 .Bl -tag -width pcdisplay -offset indent
-.It wdc
+.It Xr wdc 4
 Standard IDE and ATAPI drive controller.
 .El
 .Ss Serial and parallel interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It com
+.It Xr com 4
 8250/16450/16550-compatible ISA PnP serial cards and internal modems.
 .El
 .Ss Network interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It an
+.It Xr an 4
 .Tn Aironet
 4500/4800 and
 .Tn Cisco
 340 series 802.11 interfaces.
-.It ep
+.It Xr ep 4
 3Com 3c509B EtherLink III
 .Tn Ethernet
 interface.
-.It le
+.It Xr le 4
 PCnet-PnP
 .Tn Ethernet
 interfaces based on the successor to the AMD LANCE chip.
-.It ne
+.It Xr ne 4
 NE2000-compatible
 .Tn Ethernet
 interfaces.
@@ -94,21 +94,21 @@ interfaces.
 .\"
 .Ss Sound cards
 .Bl -tag -width pcdisplay -offset indent
-.It ess
+.It Xr ess 4
 ESS Technology derived PnP sound cards and devices.
-.It guspnp
+.It Xr guspnp 4
 Gravis Ultrasound PnP sound cards.
-.It sb
+.It Xr sb 4
 SoundBlaster, SoundBlaster 16, and SoundBlaster Pro sound cards.
-.It wss
+.It Xr wss 4
 Windows Sound System compatible cards, e.g., most of the cards
 with Crystal Semiconductor chips.
-.It ym
+.It Xr ym 4
 Yamaha OPL3-SAx sound cards.
 .El
 .Ss Miscellaneous devices
 .Bl -tag -width pcdisplay -offset indent
-.It pcic
+.It Xr pcic 4
 .Tn PCI
 .Tn PCMCIA
 controllers, including the Cirrus Logic GD6729.
@@ -132,23 +132,9 @@ The manual pages for each individual
 driver also list
 the supported front-ends for other buses.
 .Sh SEE ALSO
-.Xr aha 4 ,
-.Xr aic 4 ,
-.Xr an 4 ,
-.Xr com 4 ,
-.Xr ep 4 ,
-.Xr ess 4 ,
-.Xr guspnp 4 ,
 .Xr intro 4 ,
 .Xr isa 4 ,
-.Xr le 4 ,
-.Xr ne 4 ,
-.Xr pcic 4 ,
-.Xr sb 4 ,
-.Xr tr 4 ,
-.Xr wdc 4 ,
-.Xr wss 4 ,
-.Xr ym 4
+.Xr isapnp 9
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2021-03-13 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sun Mar 14 02:56:07 UTC 2021

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

Log Message:
Document NFS_BOOT_UDP instead of NFS_BOOT_TCP; We've switched to
NFS over TCP by default.

Bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.517 -r1.518 src/share/man/man4/options.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/options.4
diff -u src/share/man/man4/options.4:1.517 src/share/man/man4/options.4:1.518
--- src/share/man/man4/options.4:1.517	Fri Oct  9 01:49:53 2020
+++ src/share/man/man4/options.4	Sun Mar 14 02:56:07 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: options.4,v 1.517 2020/10/09 01:49:53 gutteridge Exp $
+.\"	$NetBSD: options.4,v 1.518 2021/03/14 02:56:07 rin Exp $
 .\"
 .\" Copyright (c) 1996
 .\" 	Perry E. Metzger.  All rights reserved.
@@ -30,7 +30,7 @@
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\"
-.Dd October 9, 2020
+.Dd March 14, 2021
 .Dt OPTIONS 4
 .Os
 .Sh NAME
@@ -1194,8 +1194,8 @@ for details.
 Reduce the size of the NFS client code by omitting code that's only required
 for NFSv3 and NQNFS support, leaving only that code required to use NFSv2
 servers.
-.It Cd options NFS_BOOT_TCP
-Use NFS over TCP instead of the default UDP, for mounting root.
+.It Cd options NFS_BOOT_UDP
+Use NFS over UDP instead of the default TCP, for mounting root.
 .El
 .Ss Buffer queue strategy options
 The following options enable alternative buffer queue strategies.



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

2021-03-12 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Mar 12 10:48:29 UTC 2021

Modified Files:
src/share/man/man4/man4.i386: pnpbios.4

Log Message:
Use inline cross-references.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man4/man4.i386/pnpbios.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.i386/pnpbios.4
diff -u src/share/man/man4/man4.i386/pnpbios.4:1.15 src/share/man/man4/man4.i386/pnpbios.4:1.16
--- src/share/man/man4/man4.i386/pnpbios.4:1.15	Fri Feb 17 22:24:46 2017
+++ src/share/man/man4/man4.i386/pnpbios.4	Fri Mar 12 10:48:29 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: pnpbios.4,v 1.15 2017/02/17 22:24:46 christos Exp $
+.\" $NetBSD: pnpbios.4,v 1.16 2021/03/12 10:48:29 nia Exp $
 .\"
 .\" Copyright (c) 1999-2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -49,42 +49,32 @@ includes the following
 .Nm
 drivers, sorted by driver name:
 .Pp
-.Bl -tag -width speaker -offset indent -compact
-.It com
+.Bl -tag -width x86/fdc(4) -offset indent -compact
+.It Xr com 4
 serial communications interface
-.It ess
+.It Xr ess 4
 ESS Technology AudioDrive family audio device driver
-.It fdc
+.It Xr x86/fdc 4
 floppy controller
-.It joy
+.It Xr joy 4
 game controller
-.It lpt
+.It Xr x86/lpt 4
 parallel port driver
-.It pciide
+.It Xr pciide 4
 PCI IDE controllers driver
-.It pckbc
+.It Xr pckbc 4
 PC keyboard/mouse controller
-.It sb
+.It Xr sb 4
 SoundBlaster family audio device driver
-.It wss
+.It Xr wss 4
 Windows Sound System hardware driver
-.It ym
+.It Xr ym 4
 Yamaha OPL3-SA3 sound driver
 .El
 .Sh SEE ALSO
-.Xr com 4 ,
-.Xr ess 4 ,
-.Xr fdc 4 ,
 .Xr i386/intro 4 ,
 .Xr isa 4 ,
-.Xr joy 4 ,
-.Xr lpt 4 ,
-.Xr pci 4 ,
-.Xr pciide 4 ,
-.Xr pckbc 4 ,
-.Xr sb 4 ,
-.Xr wss 4 ,
-.Xr ym 4
+.Xr pci 4
 .Sh HISTORY
 The
 .Nm



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

2021-03-12 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Mar 12 10:45:43 UTC 2021

Modified Files:
src/share/man/man4/man4.i386: intro.4

Log Message:
Use inline cross-references


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/share/man/man4/man4.i386/intro.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.i386/intro.4
diff -u src/share/man/man4/man4.i386/intro.4:1.33 src/share/man/man4/man4.i386/intro.4:1.34
--- src/share/man/man4/man4.i386/intro.4:1.33	Sun Feb 28 07:51:29 2021
+++ src/share/man/man4/man4.i386/intro.4	Fri Mar 12 10:45:43 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: intro.4,v 1.33 2021/02/28 07:51:29 nia Exp $
+.\" $NetBSD: intro.4,v 1.34 2021/03/12 10:45:43 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jonathan Stone
 .\" Copyright (c) 1994 Christopher G. Demetriou
@@ -104,32 +104,32 @@ Not all supported devices are listed.
 .\"
 .Pp
 Standard builtin devices:
-.Bl -tag -width speaker -offset indent -compact
+.Bl -tag -width speaker(4) -offset indent -compact
 .\"
 .\"
 .\"
-.It com
+.It Xr com 4
 NS8250-, NS16450-, and NS16550-based asynchronous serial
 communications device interface
-.It lpt
+.It Xr x86/lpt 4
 Parallel port device interface
-.It fdc
+.It Xr x86/fdc 4
 Standard NEC 765 floppy disk controller.
-.It mca
+.It Xr mca 4
 MCA I/O bus.
-.It mem
+.It Xr x86/mem 4
 Main memory interface
-.It pci
+.It Xr pci 4
 PCI I/O bus.
-.It eisa
+.It Xr eisa 4
 EISA I/O bus, either as main bus or via PCI-EISA bridge.
-.It isa
+.It Xr isa 4
 ISA bus and ISA devices, either as main bus or via PCI-ISA bridge.
-.It isa
+.It Xr isa 4
 isa I/O bus.
-.It isapnp
+.It Xr isapnp 4
 ``bus'' for ISA devices with PnP support.
-.It speaker
+.It Xr speaker 4
 console speaker device interface
 .El
 .\"
@@ -166,18 +166,8 @@ console driver.
 .\"
 .Sh SEE ALSO
 .Xr config 1 ,
-.Xr com 4 ,
-.Xr eisa 4 ,
 .Xr i386/autoconf 4 ,
-.Xr isa 4 ,
-.Xr isapnp 4 ,
-.Xr mca 4 ,
-.Xr netintro 4 ,
-.Xr pci 4 ,
-.Xr speaker 4 ,
-.Xr x86/fdc 4 ,
-.Xr x86/lpt 4 ,
-.Xr x86/mem 4
+.Xr netintro 4
 .Sh HISTORY
 The
 .Tn i386



CVS commit: src/share/man/man5

2021-03-12 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Fri Mar 12 10:00:32 UTC 2021

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

Log Message:
Retire the paragraph from 1983 that says this file can be "created
from the official host data base maintained at the Network Information
Control Center (NIC)".  Suggested by Henry Bent.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man5/hosts.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/hosts.5
diff -u src/share/man/man5/hosts.5:1.13 src/share/man/man5/hosts.5:1.14
--- src/share/man/man5/hosts.5:1.13	Thu Aug  7 10:31:17 2003
+++ src/share/man/man5/hosts.5	Fri Mar 12 10:00:32 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hosts.5,v 1.13 2003/08/07 10:31:17 agc Exp $
+.\"	$NetBSD: hosts.5,v 1.14 2021/03/12 10:00:32 uwe Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -81,19 +81,6 @@ These include address for the local inte
 .Xr ifconfig 8
 needs at boot time and a few machines on the local network.
 .Pp
-This file may be created from the official host
-data base maintained at the Network Information Control
-Center
-.Pq Tn NIC ,
-though local changes may be required
-to bring it up to date regarding unofficial aliases
-and/or unknown hosts.  As the data base maintained at
-.Tn NIC
-is incomplete, use of the name server is recommended for
-sites on the
-.Tn DARPA
-Internet.
-.Pp
 As network addresses, both IPv4 and IPv6 addresses are allowed.
 IPv4 addresses are specified in the conventional dot
 .Pq Dq \&.



CVS commit: src/share/man/man4

2021-03-12 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Mar 12 08:28:20 UTC 2021

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

Log Message:
s/Disk and tape/Storage/g, more relevant cross-references


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.115 src/share/man/man4/pci.4:1.116
--- src/share/man/man4/pci.4:1.115	Fri Mar 12 08:19:29 2021
+++ src/share/man/man4/pci.4	Fri Mar 12 08:28:20 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.115 2021/03/12 08:19:29 nia Exp $
+.\"	$NetBSD: pci.4,v 1.116 2021/03/12 08:28:20 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -147,7 +147,7 @@ Symbios Logic/NCR 53c8xx-family SCSI int
 .It Xr trm 4
 Tekram TRM-S1040 ASIC based SCSI interfaces.
 .El
-.Ss Disk and tape controllers
+.Ss Storage controllers
 .Bl -tag -width pcdisplay(4) -offset indent
 .It Xr aac 4
 The Adaptec AAC family of RAID controllers.
@@ -362,8 +362,10 @@ VGA graphics boards.
 USB XHCI host controllers.
 .El
 .Sh SEE ALSO
+.Xr pci 3 ,
 .Xr agp 4 ,
 .Xr intro 4 ,
+.Xr pcictl 8 ,
 .Xr pci 9
 .Sh HISTORY
 The machine-independent PCI subsystem appeared in



CVS commit: src/share/man/man4

2021-03-12 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Mar 12 08:19:29 UTC 2021

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

Log Message:
add rtsx(4)


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.114 src/share/man/man4/pci.4:1.115
--- src/share/man/man4/pci.4:1.114	Thu Mar 11 15:44:50 2021
+++ src/share/man/man4/pci.4	Fri Mar 12 08:19:29 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.114 2021/03/11 15:44:50 nia Exp $
+.\"	$NetBSD: pci.4,v 1.115 2021/03/12 08:19:29 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -29,7 +29,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 March 11, 2021
+.Dd March 12, 2021
 .Dt PCI 4
 .Os
 .Sh NAME
@@ -165,6 +165,8 @@ Mylex DAC960 and DEC SWXCR RAID controll
 Non-Volatile Memory (NVM Express) host controllers.
 .It Xr pciide 4
 IDE disk controllers.
+.It Xr rtsx 4
+Realtek SD card readers.
 .It Xr twe 4
 3Ware Escalade RAID controllers.
 .El



CVS commit: src/share/man/man4

2021-03-12 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Mar 12 08:03:24 UTC 2021

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

Log Message:
Clarify problem.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/hdaudio.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/hdaudio.4
diff -u src/share/man/man4/hdaudio.4:1.18 src/share/man/man4/hdaudio.4:1.19
--- src/share/man/man4/hdaudio.4:1.18	Thu Mar 11 17:42:14 2021
+++ src/share/man/man4/hdaudio.4	Fri Mar 12 08:03:24 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hdaudio.4,v 1.18 2021/03/11 17:42:14 nia Exp $
+.\"	$NetBSD: hdaudio.4,v 1.19 2021/03/12 08:03:24 nia Exp $
 .\"
 .\" Copyright (c) 2009, 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 11, 2021
+.Dd March 12, 2021
 .Dt HDAUDIO 4
 .Os
 .Sh NAME
@@ -133,5 +133,8 @@ Handle unsolicited RIRB messages
 .It
 Modem function groups
 .It
-I/O with precision greater than 16 bits with the MI audio layer
+20-bit and 24-bit I/O formats.
+The machine-independent audio layer supports samples with 32-bit precision,
+but these will be converted down to 16-bit before output, because converting
+to a hardware precision that isn't a power of two is not yet handled.
 .El



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 18:16:50 UTC 2021

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

Log Message:
Fix missing Xr


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/share/man/man4/isa.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/isa.4
diff -u src/share/man/man4/isa.4:1.48 src/share/man/man4/isa.4:1.49
--- src/share/man/man4/isa.4:1.48	Thu Mar 11 16:50:08 2021
+++ src/share/man/man4/isa.4	Thu Mar 11 18:16:50 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: isa.4,v 1.48 2021/03/11 16:50:08 nia Exp $
+.\"	$NetBSD: isa.4,v 1.49 2021/03/11 18:16:50 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -134,7 +134,7 @@ Boca BB100[48] and BB2016 multiplexing s
 NS8250-, NS16450-, and NS16550-based serial ports.
 .It Xr cy 4
 Cyclades Cyclom-4Y, -8Y, and -16Y asynchronous serial communications cards.
-.It ioat
+.It Xr ioat 4
 .Tn BOCA Research
 IOAT66
 serial interfaces.



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 17:42:14 UTC 2021

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

Log Message:
Mention that formats with >16-bit precision cannot yet be used


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man4/hdaudio.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/hdaudio.4
diff -u src/share/man/man4/hdaudio.4:1.17 src/share/man/man4/hdaudio.4:1.18
--- src/share/man/man4/hdaudio.4:1.17	Thu May  7 12:56:19 2020
+++ src/share/man/man4/hdaudio.4	Thu Mar 11 17:42:14 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: hdaudio.4,v 1.17 2020/05/07 12:56:19 wiz Exp $
+.\"	$NetBSD: hdaudio.4,v 1.18 2021/03/11 17:42:14 nia Exp $
 .\"
 .\" Copyright (c) 2009, 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 February 16, 2020
+.Dd March 11, 2021
 .Dt HDAUDIO 4
 .Os
 .Sh NAME
@@ -132,4 +132,6 @@ Add support for non-PCM output formats
 Handle unsolicited RIRB messages
 .It
 Modem function groups
+.It
+I/O with precision greater than 16 bits with the MI audio layer
 .El



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 17:12:42 UTC 2021

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

Log Message:
Remove dead references


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 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.25 src/share/man/man4/iic.4:1.26
--- src/share/man/man4/iic.4:1.25	Sat Feb 27 08:59:24 2021
+++ src/share/man/man4/iic.4	Thu Mar 11 17:12:42 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: iic.4,v 1.25 2021/02/27 08:59:24 nia Exp $
+.\"	$NetBSD: iic.4,v 1.26 2021/03/11 17:12:42 nia Exp $
 .\"	$OpenBSD: iic.4,v 1.74 2008/09/10 16:13:43 reyk Exp $
 .\"
 .\" Copyright (c) 2004, 2006 Alexander Yurchenko 
@@ -147,54 +147,23 @@ ACPI SMBus Control Method Interface
 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
+Digital video driver for Conexant CX23885 based cards
 .It Xr cuda 4
-support for CUDA microcontrollers found in many Power Macintosh and
+Support for CUDA microcontrollers found in many Power Macintosh and
 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
+Digital video driver for Conexant CX2388x based cards
 .It Xr gpioiic 4
 GPIO I2C controller
-.It Xr gttwsi 4
-.It Xr i2cbus 4
-.It Xr gxiic 4
 .It Xr ichsmb 4
 Intel Chipset internal SMBus controller
-.It Xr imxi2c 4
-.It Xr iociic 4
-.It Xr iomdiic 4
-.It Xr iopiic 4
 .It Xr ismt 4
 Intel Chipset internal SMBus 2.0 controller with DMA
-.It Xr jziic 4
-.It Xr ki2c 4
-.It Xr nbpiic 4
 .It Xr nfsmb 4
 NVIDIA nForce 2/3/4 SMBus controller and SMBus driver
-.It Xr ociic 4
-.It Xr omapiic 4
-.It Xr pcfiic 4
 .It Xr piixpm 4
 Intel PIIX and compatible Power Management controller
-.It Xr ri2c 4
-.It Xr rkiic 4
-.It Xr rtciic 4
-.It Xr slugiic 4
-.It Xr tegrai2c 4
-.It Xr tiiic 4
-.It Xr tsciic 4
-.It Xr viapcib 4
 .El
 .Sh SUPPORTED SLAVES
 A wide list of slaves are supported, among them:
@@ -208,13 +177,8 @@ A wide list of slaves are supported, amo
 .Bl -tag -width 13n -compact -offset indent
 .It Xr dbcool 4
 dbCool(tm) family of environmental monitors and fan controllers
-.It Xr dsrtc 4
-.It Xr ioexp 4
-.It Xr m41trtc 4
-.It Xr nbppcon 4
 .It Xr pcf8563rtc 4
 NXP PCF8563 real-time clock
-.It Xr r2025rtc 4
 .It Xr rs5c372rtc 4
 RICOH RS5C372A and RS5C372B real-time clock
 .It Xr s390rtc 4
@@ -224,7 +188,7 @@ JEDEC JC-42.4 compatible memory module t
 .It Xr seeprom 4
 24-series I2C EEPROM driver
 .It Xr sgsmix 4
-driver for SGS 7433 Basic Audio Processor found in some Apple machines
+SGS 7433 Basic Audio Processor found in some Apple machines
 .It Xr spdmem 4
 Generic Memory Module Serial Presence Detect
 .It Xr ssdfb 4



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 17:01:55 UTC 2021

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

Log Message:
Use inline cross-references.

Remove dead reference.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/tc.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/tc.4
diff -u src/share/man/man4/tc.4:1.8 src/share/man/man4/tc.4:1.9
--- src/share/man/man4/tc.4:1.8	Fri Feb 26 11:12:45 2021
+++ src/share/man/man4/tc.4	Thu Mar 11 17:01:55 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: tc.4,v 1.8 2021/02/26 11:12:45 nia Exp $
+.\" $NetBSD: tc.4,v 1.9 2021/03/11 17:01:55 nia Exp $
 .\"
 .\" Copyright (c) 1996, 1997 Jonathan Stone.
 .\" All rights reserved.
@@ -65,53 +65,40 @@ includes machine-independent
 drivers, sorted by device type and driver name:
 .Ss SCSI interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It asc
-PMAZ-A single-channel SCSI adapter
-.It tcds
+.It Xr tcds 4
 PMAZ-DS, PMAZ-FS, PMAZB-AA and PMAZC-AA dual-channel SCSI adapters
 .El
 .Ss Network interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It le
+.It Xr le 4
 LANCE Ethernet interface
 .El
 .Ss Frame buffers
 .Bl -tag -width pcdisplay -offset indent
-.It cfb
+.It Xr cfb 4
 PMAG-B CX colour unaccelerated 2-D framebuffer
-.It mfb
+.It Xr mfb 4
 PMAG-A MX monochrome framebuffer
-.It px
+.It Xr px 4
 PMAG-C PX accelerated graphics boards
-.It pxg
+.It Xr pxg 4
 PMAG-D, PMAG-E and PMAG-F PXG accelerated graphics
 boards
-.It sfb
+.It Xr sfb 4
 PMAGB-BA HX colour unaccelerated 2-D framebuffer
-.It tfb
+.It Xr tfb 4
 PMAG-J TX 24-bit colour unaccelerated 2-D framebuffer
 .El
 .Ss Miscellaneous
 .Bl -tag -width pcdisplay -offset indent
-.It ioasic
+.It Xr ioasic 4
 baseboard IO control ASIC for DEC TURBOchannel systems
-.It tcu
+.It Xr tcu 4
 TC-USB USB host and GPIO option
 .El
 .Sh SEE ALSO
-.Xr asc 4 ,
-.Xr cfb 4 ,
-.Xr fta 4 ,
 .Xr intro 4 ,
-.Xr ioasic 4 ,
-.Xr le 4 ,
-.Xr mfb 4 ,
-.Xr px 4 ,
-.Xr pxg 4 ,
-.Xr sfb 4 ,
-.Xr tcds 4 ,
-.Xr tcu 4 ,
-.Xr tfb 4
+.Xr tc 9
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 16:59:04 UTC 2021

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

Log Message:
Use inline cross-references


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/share/man/man4/mca.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/mca.4
diff -u src/share/man/man4/mca.4:1.21 src/share/man/man4/mca.4:1.22
--- src/share/man/man4/mca.4:1.21	Fri Feb 26 11:12:45 2021
+++ src/share/man/man4/mca.4	Thu Mar 11 16:59:04 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: mca.4,v 1.21 2021/02/26 11:12:45 nia Exp $
+.\" $NetBSD: mca.4,v 1.22 2021/03/11 16:59:04 nia Exp $
 .\"
 .\" Copyright (c) 2000, 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -55,11 +55,11 @@ drivers, sorted by device type and drive
 .\"
 .Ss SCSI controllers
 .Bl -tag -width speaker -offset indent
-.It aha
+.It Xr aha 4
 Adaptec AHA-1640
 .Tn SCSI
 interface
-.It esp
+.It Xr esp 4
 NCR 53C90
 .Tn SCSI
 Adapter
@@ -67,45 +67,35 @@ Adapter
 .\"
 .Ss Disk and tape controllers
 .Bl -tag -width speaker -offset indent
-.It edc
+.It Xr edc 4
 IBM ESDI Fixed Disk Controller
 .El
 .\"
 .Ss Serial interfaces
 .Bl -tag -width speaker -offset indent
-.It com
+.It Xr com 4
 NS8250-, NS16450-, and NS16550-based serial cards.
 .El
 .\"
 .Ss Network interfaces
 .Bl -tag -width speaker -offset indent
-.It ate
+.It Xr ate 4
 Allied-Telesis 1720 Ethernet interface cards
-.It we
+.It Xr we 4
 WD/SMC WD80x3x Ethernet interface cards and clones
-.It le
+.It Xr le 4
 SKNET Personal and MC+ Ethernet interface cards
-.It elmc
+.It Xr elmc 4
 3Com EtherLink/MC (3c523) Ethernet interface
-.It ep
+.It Xr ep 4
 3Com EtherLink III 3c529 Ethernet interface
-.It tra
+.It Xr tra 4
 Tiara LANCard/E and Standard MicroSystems 3016/MC Ethernet interface
 .El
 .\"
 .Sh SEE ALSO
-.Xr aha 4 ,
-.Xr ate 4 ,
-.Xr com 4 ,
-.Xr edc 4 ,
-.Xr elmc 4 ,
-.Xr ep 4 ,
-.Xr esp 4 ,
-.Xr le 4 ,
-.Xr ne 4 ,
-.Xr tr 4 ,
-.Xr tra 4 ,
-.Xr we 4
+.Xr intro 4 ,
+.Xr mca 9
 .\"
 .Sh HISTORY
 The machine-independent



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 16:56:50 UTC 2021

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

Log Message:
Use inline cross-references.

Remove reference to no-longer-existing FDDI driver.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man4/eisa.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/eisa.4
diff -u src/share/man/man4/eisa.4:1.14 src/share/man/man4/eisa.4:1.15
--- src/share/man/man4/eisa.4:1.14	Tue May  6 19:02:46 2003
+++ src/share/man/man4/eisa.4	Thu Mar 11 16:56:50 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: eisa.4,v 1.14 2003/05/06 19:02:46 wiz Exp $
+.\"	$NetBSD: eisa.4,v 1.15 2021/03/11 16:56:50 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jonathan Stone
 .\" All rights reserved.
@@ -74,49 +74,47 @@ drivers, sorted by device type
 and driver name:
 .Ss Disk and tape controllers
 .Bl -tag -width pcdisplay -offset indent
-.It cac
+.It Xr cac 4
 Compaq array controllers.
-.It mlx
+.It Xr mlx 4
 Mylex DAC960 and DEC SWXCR RAID controllers.
 .El
 .Ss SCSI interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It ahb
+.It Xr ahb 4
 Adaptec 174x
 .Tn SCSI
 interfaces.
-.It ahc
+.It Xr ahc 4
 Adaptec AIC 7770, 274x, and 284x
 .Tn SCSI
 interfaces.
-.It bha
+.It Xr bha 4
 BusLogic BT-74x
 .Tn SCSI
 interfaces.
-.It dpt
+.It Xr dpt 4
 DPT SmartCache/SmartRAID III and IV
 .Tn SCSI
 interfaces.
-.It uha
+.It Xr uha 4
 Ultrastor 24f
 .Tn SCSI
 interfaces.
 .El
 .Ss Network interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It ep
+.It Xr ep 4
 3Com 3c579 and 3c592 10Mbit
 .Tn Ethernet ,
 and 3c597 10/100Mbit
 .Tn Ethernet
 interfaces.
-.It fea
-Digital DEFEA FDDI interfaces.
-.It le
+.It Xr le 4
 Digital DE422
 .Tn Ethernet
 interfaces.
-.It tlp
+.It Xr tlp 4
 Digital DE425
 .Tn Ethernet
 interfaces.
@@ -137,18 +135,7 @@ or
 respectively.  The manual pages for each individual driver also lists the
 supported bus variants.
 .Sh SEE ALSO
-.Xr ahb 4 ,
-.Xr ahc 4 ,
-.Xr bha 4 ,
-.Xr cac 4 ,
-.Xr dpt 4 ,
-.Xr ep 4 ,
-.Xr fea 4 ,
-.Xr intro 4 ,
-.Xr le 4 ,
-.Xr mlx 4 ,
-.Xr tlp 4 ,
-.Xr uha 4
+.Xr intro 4
 .Sh HISTORY
 The machine-independent
 .Tn EISA



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 16:53:14 UTC 2021

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

Log Message:
Use inline cross-references.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/sbus.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/sbus.4
diff -u src/share/man/man4/sbus.4:1.10 src/share/man/man4/sbus.4:1.11
--- src/share/man/man4/sbus.4:1.10	Thu Sep  6 09:47:30 2018
+++ src/share/man/man4/sbus.4	Thu Mar 11 16:53:14 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sbus.4,v 1.10 2018/09/06 09:47:30 maxv Exp $
+.\"	$NetBSD: sbus.4,v 1.11 2021/03/11 16:53:14 nia Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -61,91 +61,74 @@ includes machine-independent
 .Nm
 drivers, sorted by device type and driver name:
 .Ss SCSI interfaces
-.Bl -tag -width  -offset indent
-.It esp
+.Bl -tag -width xx -offset indent
+.It Xr esp 4
 NCR53c94 and compatible
 .Tn SCSI
 interfaces.
-.It isp
+.It Xr isp 4
 Qlogic
 .Tn SCSI
 interfaces.
 .El
 .Ss Network interfaces
-.Bl -tag -width  -offset indent
-.It le
+.Bl -tag -width xx -offset indent
+.It Xr le 4
 .Tn Lance
 7990 series
 .Tn Ethernet
 interfaces.
-.It hme
+.It Xr hme 4
 .Dq Happy Meal
 .Tn Ethernet
 interfaces.
-.It be
+.It Xr be 4
 .Dq Big Mac
 .Tn Ethernet
 board.
-.It qe
+.It Xr qe 4
 Quad Ethernet Controller
 board.
 .El
 .Ss Bridges
-.Bl -tag -width  -offset indent
-.It xbox
+.Bl -tag -width xx -offset indent
+.It Xr xbox 4
 an
 .Nm Sbus
 expansion box.
 .El
 .Ss Graphics devices
-.Bl -tag -width  -offset indent
-.It bwtwo
+.Bl -tag -width xx -offset indent
+.It Xr bwtwo 4
 framebuffer device.
-.It cgthree
+.It Xr cgthree 4
 framebuffer device.
-.It cgsix
+.It Xr cgsix 4
 framebuffer device.
-.It pnozz
+.It Xr pnozz 4
 framebuffer device.
-.It tcx
+.It Xr tcx 4
 framebuffer device.
-.It zx
+.It Xr zx 4
 framebuffer device.
 .El
 .Ss Audio devices
-.Bl -tag -width  -offset indent
-.It audiocs
+.Bl -tag -width xx -offset indent
+.It Xr audiocs 4
 CS4231 codec.
 .El
 .Ss Serial interfaces
-.Bl -tag -width  -offset indent
-.It magma
+.Bl -tag -width xx -offset indent
+.It Xr magma 4
 Magma Serial/Parallel combo device.
 .El
 .Ss Floppy interfaces
-.Bl -tag -width  -offset indent
-.It fdc
+.Bl -tag -width xx -offset indent
+.It Xr fdc 4
 Floppy disk controller
 .El
 .Sh SEE ALSO
-.Xr audiocs 4 ,
-.Xr be 4 ,
-.Xr bwtwo 4 ,
-.Xr cgsix 4 ,
-.Xr cgthree 4 ,
-.Xr en 4 ,
-.Xr esp 4 ,
-.Xr fdc 4 ,
-.Xr hme 4 ,
-.Xr intro 4 ,
-.Xr isp 4 ,
-.Xr le 4 ,
-.Xr magma 4 ,
-.Xr pnozz 4 ,
-.Xr qe 4 ,
-.Xr tcx 4 ,
-.Xr xbox 4 ,
-.Xr zx 4
+.Xr intro 4
 .Sh HISTORY
 The machine-independent
 .Nm SBus



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 16:50:08 UTC 2021

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

Log Message:
Use inline cross-references.

Remove dead references that mandoc complains about.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/share/man/man4/isa.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/isa.4
diff -u src/share/man/man4/isa.4:1.47 src/share/man/man4/isa.4:1.48
--- src/share/man/man4/isa.4:1.47	Fri Oct 25 17:39:57 2019
+++ src/share/man/man4/isa.4	Thu Mar 11 16:50:08 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: isa.4,v 1.47 2019/10/25 17:39:57 martin Exp $
+.\"	$NetBSD: isa.4,v 1.48 2021/03/11 16:50:08 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -66,222 +66,212 @@ includes machine-independent
 drivers, sorted by device type and driver name:
 .Ss SCSI interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It adv
+.It Xr adv 4
 Advansys
 .Tn SCSI
 interfaces.
-.It aha
+.It Xr aha 4
 Adaptec AHA-154x family (154xA, 154xB, 154xC, and 154xCF) and the
 BusLogic BT54x
 .Tn SCSI
 interfaces.
-.It ahc
+.It Xr ahc 4
 Adaptec 29xx, 39xx, and other AIC-7xxx-based
 .Tn SCSI
 interfaces.
-.It aic
+.It Xr aic 4
 Adaptec AIC-6260 and Adaptec AIC-6360 based
 .Tn SCSI
 interfaces, including
 the Adaptec 152x, SoundBlaster
 .Tn SCSI
 interfaces, and a variety of compatibles.
-.It bha
+.It Xr bha 4
 BusLogic BT-445
 .Tn SCSI
 interfaces.
-.It dpt
+.It Xr dpt 4
 DPT SmartCache/SmartRAID III and IV
 .Tn SCSI
 interfaces.
-.It esp
+.It Xr esp 4
 NCR 53C9x, Emulex ESP406, and Qlogic FAS408
 .Tn SCSI
 interfaces.
-.It nca
+.It Xr nca 4
 NCR-5380/NCR-53C400
-.It sea
+.It Xr sea 4
 Seagate/Future Domain
 .Tn SCSI
 cards.
 ST01/02, Future Domain TMC-885, and Future Domain TMC-950.
-.It uha
+.It Xr uha 4
 Ultrastor 14f
 .Tn SCSI
 interfaces.
-.It wds
+.It Xr wds 4
 WD-7000 family of bus-mastering
 .Tn SCSI
 interfaces.
 .El
 .Ss Disk and tape controllers
 .Bl -tag -width pcdisplay -offset indent
-.It mcd
+.It Xr mcd 4
 Mitsumi CD-ROM drives.
-.It wdc
+.It Xr wdc 4
 Standard Western Digital type hard drive controllers: MFM, RLL, ESDI,
 and IDE/ATAPI.
-.It wt
+.It Xr wt 4
 Wangtek and compatible QIC-02 and QIC-36 tape drives.
 .El
 .Ss Serial and parallel interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It ast
+.It Xr ast 4
 Multi-port serial communications card first made by AST.
-.It boca
+.It Xr boca 4
 Boca BB100[48] and BB2016 multiplexing serial communications cards.
-.It com
+.It Xr com 4
 NS8250-, NS16450-, and NS16550-based serial ports.
-.It cy
+.It Xr cy 4
 Cyclades Cyclom-4Y, -8Y, and -16Y asynchronous serial communications cards.
 .It ioat
 .Tn BOCA Research
 IOAT66
 serial interfaces.
-.It lpt
+.It Xr lpt 4
 Standard
 .Tn ISA
 parallel port interface.
-.It rtfps
+.It Xr rtfps 4
 IBM RT four-port serial interfaces.
-.It tcom
+.It Xr tcom 4
 Byte Runner Technologies TC-400 and TC-800 series serial interfaces.
 .El
 .Ss Network interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It ai
+.It Xr ai 4
 .Tn AT
 .Tn StarLan
 .Tn Ethernet
 interfaces.
-.It ate
+.It Xr ate 4
 Allied Telesis AT1700 series and RE2000 series
 .Tn Ethernet
 interfaces.
-.It cs
+.It Xr cs 4
 .Tn Cirrus Logic
 Crystal CS8900
 .Tn Ethernet
 interfaces.
-.It ec
+.It Xr ec 4
 3Com EtherLink II (3c503)
 .Tn Ethernet
 interfaces.
-.It ef
+.It Xr ef 4
 .Tn 3Com
 EtherLink II (3c507)
 .Tn Ethernet
 interfaces.
-.It eg
+.It Xr eg 4
 3Com EtherLink Plus (3c505)
 .Tn Ethernet
 interfaces.
-.It el
+.It Xr el 4
 3Com EtherLink (3c501)
 .Tn Ethernet
 interfaces.
-.It ep
+.It Xr ep 4
 3Com EtherLink III (3c509)
 .Tn Ethernet
 interfaces.
-.It fmv
+.It Xr fmv 4
 Fujitsu FMV-181 and FMV-182 interfaces.
-.\".It hp
-.\" Broken driver for HP -relabelled
-.\" .Tn Ethernet
-.\" cards.
-.It ix
+.It Xr ix 4
 Intel EtherExpress/16
 .Tn Ethernet
 interfaces.
-.It iy
+.It Xr iy 4
 Intel i82595-based
 .Tn Ethernet
 interfaces, including the EtherExpress Pro/10.
-.It lc
+.It Xr lc 4
 DEC EtherWORKS III
 .Tn Ethernet
 interfaces (DE203, DE204, and DE205).
-.It le
+.It Xr le 4
 .Tn Ethernet
 interfaces based on the AMD LANCE chip,
 including BICC Isolan, Novell NE2100, Digital DEPCA, and PCnet-ISA.
-.It ne
+.It Xr ne 4
 Novel NE2000 and compatible
 .Tn Ethernet
 interfaces.
-.It ntwoc
+.It Xr ntwoc 4
 SDL Communications Riscom/N2 synchronous serial interfaces.
-.It sm
+.It Xr sm 4
 SMC91C9x-based
 .Tn Ethernet
 interfaces.
-.It tr
-TROPIC based token ring interfaces.
-.It we
+.It Xr we 4
 Western Digital/SMC 80x3, SMC Elite Ultra, and SMC EtherEZ
 .Tn Ethernet
 interfaces.
 .El
 .Ss Sound cards and MIDI interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It aria
+.It Xr aria 4
 Sierra's Aria based sound cards.
-.It cms
+.It Xr cms 4
 Creative Music System.
-.It ess
+.It Xr ess 4
 ESS Technology AudioDrive 1788-, 1888-, 

CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 16:43:01 UTC 2021

Modified Files:
src/share/man/man4: cardbus.4 pcmcia.4

Log Message:
Reference kernel developer's manual


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/share/man/man4/cardbus.4
cvs rdiff -u -r1.38 -r1.39 src/share/man/man4/pcmcia.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/cardbus.4
diff -u src/share/man/man4/cardbus.4:1.39 src/share/man/man4/cardbus.4:1.40
--- src/share/man/man4/cardbus.4:1.39	Thu Mar 11 16:34:12 2021
+++ src/share/man/man4/cardbus.4	Thu Mar 11 16:43:01 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: cardbus.4,v 1.39 2021/03/11 16:34:12 nia Exp $
+.\"	$NetBSD: cardbus.4,v 1.40 2021/03/11 16:43:01 nia Exp $
 .\"
 .\" Copyright (c) 1999-2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -153,7 +153,8 @@ in the kernel configuration might be of 
 .Sh SEE ALSO
 .Xr options 4 ,
 .Xr pci 4 ,
-.Xr pcmcia 4
+.Xr pcmcia 4 ,
+.Xr cardbus 9
 .Sh HISTORY
 The
 .Nm

Index: src/share/man/man4/pcmcia.4
diff -u src/share/man/man4/pcmcia.4:1.38 src/share/man/man4/pcmcia.4:1.39
--- src/share/man/man4/pcmcia.4:1.38	Thu Mar 11 16:39:58 2021
+++ src/share/man/man4/pcmcia.4	Thu Mar 11 16:43:01 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: pcmcia.4,v 1.38 2021/03/11 16:39:58 nia Exp $
+.\" $NetBSD: pcmcia.4,v 1.39 2021/03/11 16:43:01 nia Exp $
 .\"
 .\" Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -136,7 +136,8 @@ Cypress/ScanLogic SL811HS USB Host Contr
 .Xr isa 4 ,
 .Xr options 4 ,
 .Xr pcic 4 ,
-.Xr tcic 4
+.Xr tcic 4 ,
+.Xr pcmcia 9
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 16:39:58 UTC 2021

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

Log Message:
Use inline cross-references.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/share/man/man4/pcmcia.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/pcmcia.4
diff -u src/share/man/man4/pcmcia.4:1.37 src/share/man/man4/pcmcia.4:1.38
--- src/share/man/man4/pcmcia.4:1.37	Tue Mar 13 19:25:41 2012
+++ src/share/man/man4/pcmcia.4	Thu Mar 11 16:39:58 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: pcmcia.4,v 1.37 2012/03/13 19:25:41 njoly Exp $
+.\" $NetBSD: pcmcia.4,v 1.38 2021/03/11 16:39:58 nia Exp $
 .\"
 .\" Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -69,93 +69,74 @@ includes the following machine-independe
 .Tn PCMCIA
 drivers, sorted by function and driver name:
 .Ss Serial interfaces and modems
-.Bl -tag -width speaker -offset indent
-.It com
+.Bl -tag -width speaker(4) -offset indent
+.It Xr com 4
 8250/16450/16550-compatible PCMCIA serial cards and modems.
 .El
 .Ss Network interfaces
-.Bl -tag -width speaker -offset indent
-.It an
+.Bl -tag -width speaker(4) -offset indent
+.It Xr an 4
 Aironet 4500/4800 and Cisco 340 series 802.11 controller.
-.It awi
+.It Xr awi 4
 802.11 controller based on the AMD PCnetMobile chipset.
-.It cnw
+.It Xr cnw 4
 Netwave AirSurfer Wireless LAN interface.
-.It ep
+.It Xr ep 4
 3Com 3c589 EtherLink III Ethernet card.
-.It mbe
+.It Xr mbe 4
 Ethernet card based on the Fujitsu MB86960A/MB86965A chipset.
-.It mhzc
+.It Xr mhzc 4
 Megahertz Ethernet/Modem combo cards
-.It ne
+.It Xr ne 4
 NE2000 compatible cards.
-.It ray
+.It Xr ray 4
 Raytheon Raylink and WebGear Aviator2.4 802.11 controller.
-.It sm
+.It Xr sm 4
 Megahertz Ethernet card.
-.It wi
+.It Xr wi 4
 Lucent WaveLAN/IEEE and PRISM-II based 802.11 controller.
-.It xi
+.It Xr xi 4
 Xircom CreditCard Ethernet
 .El
 .Ss SCSI controllers
-.Bl -tag -width speaker -offset indent
-.It aic
+.Bl -tag -width speaker(4) -offset indent
+.It Xr aic 4
 Adaptec APA-1460
 .Tn SCSI
 controller card.
-.It esp
+.It Xr esp 4
 NCR 53C9x, Emulex ESP406, and Qlogic FAS408
 .Tn SCSI
 controllers.
-.It spc
+.It Xr spc 4
 Fujitsu MB87030/MB89352
 .Tn SCSI
 controllers.
 .El
 .Ss IDE controllers
-.Bl -tag -width speaker -offset indent
-.It wdc
+.Bl -tag -width speaker(4) -offset indent
+.It Xr wdc 4
 Digital Hinote Ultra Mobile Media Adapter
 .El
 .Ss Bluetooth devices
-.Bl -tag -width speaker -offset indent
-.It bt3c
+.Bl -tag -width speaker(4) -offset indent
+.It Xr bt3c 4
 3Com 3CRWB6096 Bluetooth PC Card driver.
-.It btbc
+.It Xr btbc 4
 AnyCom Bluetooth BlueCard driver.
 .El
 .Ss USB Controller
-.Bl -tag -width speaker -offset indent
-.It slhci
+.Bl -tag -width speaker(4) -offset indent
+.It Xr slhci 4
 Cypress/ScanLogic SL811HS USB Host Controller driver.
 .El
 .Sh SEE ALSO
-.Xr aic 4 ,
-.Xr an 4 ,
-.Xr awi 4 ,
-.Xr bt3c 4 ,
-.Xr btbc 4 ,
 .Xr cardbus 4 ,
-.Xr cnw 4 ,
-.Xr com 4 ,
-.Xr ep 4 ,
-.Xr esp 4 ,
 .Xr intro 4 ,
 .Xr isa 4 ,
-.Xr mbe 4 ,
-.Xr mhzc 4 ,
-.Xr ne 4 ,
 .Xr options 4 ,
 .Xr pcic 4 ,
-.Xr pcmcom 4 ,
-.Xr ray 4 ,
-.Xr slhci 4 ,
-.Xr sm 4 ,
-.Xr spc 4 ,
-.Xr tcic 4 ,
-.Xr wi 4 ,
-.Xr xi 4
+.Xr tcic 4
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 16:34:12 UTC 2021

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

Log Message:
Use inline references.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/share/man/man4/cardbus.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/cardbus.4
diff -u src/share/man/man4/cardbus.4:1.38 src/share/man/man4/cardbus.4:1.39
--- src/share/man/man4/cardbus.4:1.38	Wed Dec 31 18:19:21 2014
+++ src/share/man/man4/cardbus.4	Thu Mar 11 16:34:12 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: cardbus.4,v 1.38 2014/12/31 18:19:21 wiz Exp $
+.\"	$NetBSD: cardbus.4,v 1.39 2021/03/11 16:34:12 nia Exp $
 .\"
 .\" Copyright (c) 1999-2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -65,66 +65,66 @@ devices, respectively.
 includes the following machine-independent CardBus
 drivers, sorted by function and driver name:
 .Ss Network interfaces
-.Bl -tag -width speaker -offset indent -compact
-.It ath
+.Bl -tag -width siisata(4) -offset indent -compact
+.It Xr ath 4
 Atheros 5210/5211/5212 802.11
-.It atw
+.It Xr atw 4
 ADMtek ADM8211 (802.11)
-.It bwi
+.It Xr bwi 4
 Broadcom BCM430x/4318 (802.11)
-.It ex
+.It Xr ex 4
 3Com 3c575TX and 3c575BTX
-.It fxp
+.It Xr fxp 4
 Intel i8255x
-.It ral
+.It Xr ral 4
 Ralink Technology RT25x0 (802.11)
-.It re
+.It Xr re 4
 RealTek 8139C+/8169/8169S/8110S
-.It rtk
+.It Xr rtk 4
 Realtek 8129/8139
-.It rtw
+.It Xr rtw 4
 Realtek 8180L (802.11)
-.It tlp
+.It Xr tlp 4
 DECchip 21143
 .El
 .Ss Serial interfaces
-.Bl -tag -width speaker -offset indent -compact
-.It com
+.Bl -tag -width siisata(4) -offset indent -compact
+.It Xr com 4
 Modems and serial cards
 .El
 .Ss SCSI controllers
-.Bl -tag -width speaker -offset indent -compact
-.It adv
+.Bl -tag -width siisata(4) -offset indent -compact
+.It Xr adv 4
 AdvanSys 1200[A,B], 9xx[U,UA]
-.It ahc
+.It Xr ahc 4
 Adaptec ADP-1480
-.It njs
+.It Xr njs 4
 Workbit NinjaSCSI-32
 .El
 .Ss USB controllers
-.Bl -tag -width speaker -offset indent -compact
-.It ehci
+.Bl -tag -width siisata(4) -offset indent -compact
+.It Xr ehci 4
 Enhanced Host Controller (2.0)
-.It ohci
+.It Xr ohci 4
 Open Host Controller
-.It uhci
+.It Xr uhci 4
 Universal Host Controller
 .El
 .Ss IEEE1394 controllers
-.Bl -tag -width speaker -offset indent -compact
-.It fwohci
+.Bl -tag -width siisata(4) -offset indent -compact
+.It Xr fwohci 4
 OHCI controller
 .El
 .Ss SD/MMC/SDIO controllers
-.Bl -tag -width speaker -offset indent -compact
-.It sdhc
+.Bl -tag -width siisata(4) -offset indent -compact
+.It Xr sdhc 4
 SD Host Controller
 .El
 .Ss Disk and tape controllers
-.Bl -tag -width speaker -offset indent -compact
-.It njata
+.Bl -tag -width siisata(4) -offset indent -compact
+.It Xr njata 4
 Workbit NinjaATA-32
-.It siisata
+.It Xr siisata 4
 Silicon Image SATA-II controllers
 .El
 .Sh DIAGNOSTICS
@@ -151,30 +151,9 @@ or (if ACPI is in use)
 .El
 in the kernel configuration might be of use.
 .Sh SEE ALSO
-.Xr adv 4 ,
-.Xr ahc 4 ,
-.Xr ath 4 ,
-.Xr atw 4 ,
-.Xr bwi 4 ,
-.Xr com 4 ,
-.Xr ehci 4 ,
-.Xr ex 4 ,
-.Xr fwohci 4 ,
-.Xr fxp 4 ,
-.Xr njata 4 ,
-.Xr njs 4 ,
-.Xr ohci 4 ,
 .Xr options 4 ,
 .Xr pci 4 ,
-.Xr pcmcia 4 ,
-.Xr ral 4 ,
-.Xr re 4 ,
-.Xr rtk 4 ,
-.Xr rtw 4 ,
-.Xr sdhc 4 ,
-.Xr siisata 4 ,
-.Xr tlp 4 ,
-.Xr uhci 4
+.Xr pcmcia 4
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 15:46:03 UTC 2021

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

Log Message:
Use inline cross-references.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/spi.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/spi.4
diff -u src/share/man/man4/spi.4:1.10 src/share/man/man4/spi.4:1.11
--- src/share/man/man4/spi.4:1.10	Sat Feb 27 09:54:59 2021
+++ src/share/man/man4/spi.4	Thu Mar 11 15:46:03 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: spi.4,v 1.10 2021/02/27 09:54:59 nia Exp $
+.\"	$NetBSD: spi.4,v 1.11 2021/03/11 15:46:03 nia Exp $
 .\"
 .\" Copyright (c) 2006 Urbana-Champaign Independent Media Center.
 .\" Copyright (c) 2006 Garrett D'Amore.
@@ -130,18 +130,18 @@ typedef struct spi_ioctl_transfer {
 includes the following machine-independent
 .Tn SPI
 drivers:
-.Bl -tag -width pcdisplay -offset indent
-.It m25p
+.Bl -tag -width mcp23s17gpio(4) -offset indent
+.It Xr m25p 4
 STMicroelectronics M25P family of NOR flash devices.
-.It mcp23s17gpio
+.It Xr mcp23s17gpio 4
 Microchip MCP23S17 16-bit GPIO chip.
-.It mcp3kadc
+.It Xr mcp3kadc 4
 Microchip MCP3x0x SAR analog to digital converter.
-.It mcp48x1dac
+.It Xr mcp48x1dac 4
 Microchip MCP4801/MCP4811/MCP4821 digital to analog converter.
-.It tm121temp
+.It Xr tm121temp 4
 Texas Instruments TMP121 temperature sensor.
-.It ssdfb
+.It Xr ssdfb 4
 OLED/PLED framebuffer modules.
 .El
 .Sh FILES
@@ -152,12 +152,6 @@ SPI device unit
 file.
 .El
 .Sh SEE ALSO
-.Xr m25p 4 ,
-.Xr mcp23s17gpio 4 ,
-.Xr mcp3kadc 4 ,
-.Xr mcp48x1dac 4 ,
-.Xr ssdfb 4 ,
-.Xr tm121temp 4 ,
 .Xr spi 9
 .Sh HISTORY
 The machine-independent



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 15:44:50 UTC 2021

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

Log Message:
cross-reference pci(9)


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.113 src/share/man/man4/pci.4:1.114
--- src/share/man/man4/pci.4:1.113	Thu Mar 11 15:41:32 2021
+++ src/share/man/man4/pci.4	Thu Mar 11 15:44:50 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.113 2021/03/11 15:41:32 nia Exp $
+.\"	$NetBSD: pci.4,v 1.114 2021/03/11 15:44:50 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -361,7 +361,8 @@ USB XHCI host controllers.
 .El
 .Sh SEE ALSO
 .Xr agp 4 ,
-.Xr intro 4
+.Xr intro 4 ,
+.Xr pci 9
 .Sh HISTORY
 The machine-independent PCI subsystem appeared in
 .Nx 1.2 .



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 15:41:32 UTC 2021

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

Log Message:
Be less redundant in the DESCRIPTION


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.112 src/share/man/man4/pci.4:1.113
--- src/share/man/man4/pci.4:1.112	Thu Mar 11 15:40:02 2021
+++ src/share/man/man4/pci.4	Thu Mar 11 15:41:32 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.112 2021/03/11 15:40:02 nia Exp $
+.\"	$NetBSD: pci.4,v 1.113 2021/03/11 15:41:32 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -46,19 +46,11 @@
 .Cd options PCI_BUS_FIXUP
 .Cd options PCI_INTR_FIXUP
 .Sh DESCRIPTION
-Other
-.Nm
-attachments are machine-dependent and depend on the bus topology and
-PCI bus interface of your system.
-See
-.Xr intro 4
-for your system for details.
-.Pp
 .Nx
 includes a machine-independent PCI bus subsystem and several
 machine-independent PCI device drivers.
 .Pp
-Your system may support additional PCI devices.
+Your system may support additional PCI devices and attachments.
 Drivers for PCI devices not listed here are machine-dependent.
 Consult your system's
 .Xr intro 4



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 15:40:02 UTC 2021

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

Log Message:
Put cross-references in a useful place, copying usb(4)

Caught a few drivers in the list that no longer exist this way.


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.111 src/share/man/man4/pci.4:1.112
--- src/share/man/man4/pci.4:1.111	Thu Mar 11 15:27:40 2021
+++ src/share/man/man4/pci.4	Thu Mar 11 15:40:02 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.111 2021/03/11 15:27:40 nia Exp $
+.\"	$NetBSD: pci.4,v 1.112 2021/03/11 15:40:02 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -126,237 +126,231 @@ option leaves the interrupt as is.
 .Nx
 includes machine-independent PCI drivers, sorted by device type and driver name:
 .Ss SCSI interfaces
-.Bl -tag -width pcdisplay -offset indent
-.It ahc
+.Bl -tag -width pcdisplay(4) -offset indent
+.It Xr ahc 4
 Adaptec 29xx, 39xx, and other AIC-7xxx-based SCSI
 interfaces.
-.It adv
+.It Xr adv 4
 Advansys SCSI interfaces.
-.It adw
+.It Xr adw 4
 Advansys Ultra Wide SCSI interfaces.
-.It bha
+.It Xr bha 4
 Buslogic BT-9xx SCSI interfaces.
-.It dpt
+.It Xr dpt 4
 DPT SmartCache/SmartRAID III and IV SCSI interfaces.
-.It iha
+.It Xr iha 4
 Initio INIC-940/950 SCSI interfaces.
-.It isp
+.It Xr isp 4
 QLogic ISP-1020, ISP-1040, and ISP-2100 SCSI and FibreChannel interfaces.
-.It mfi
+.It Xr mfi 4
 LSI Logic & Dell MegaRAID SAS RAID controllers.
-.It mly
+.It Xr mly 4
 Mylex AcceleRAID and eXtremeRAID controllers with v6 firmware.
-.It nca
+.It Xr nca 4
 Domex 536 SCSI interfaces.
-.It pcscp
+.It Xr pcscp 4
 Advanced Micro Devices Am53c974 PCscsi-PCI SCSI interfaces.
-.It siop
+.It Xr siop 4
 Symbios Logic/NCR 53c8xx-family SCSI interfaces.
-.It trm
+.It Xr trm 4
 Tekram TRM-S1040 ASIC based SCSI interfaces.
 .El
 .Ss Disk and tape controllers
-.Bl -tag -width pcdisplay -offset indent
-.It aac
+.Bl -tag -width pcdisplay(4) -offset indent
+.It Xr aac 4
 The Adaptec AAC family of RAID controllers.
-.It ahcisata
+.It Xr ahcisata 4
 AHCI 1.0 and 1.1 compliant SATA controllers.
-.It amr
+.It Xr amr 4
 The AMI and LSI Logic MegaRAID family of RAID controllers.
-.It cac
+.It Xr cac 4
 Compaq array controllers.
-.It icp
+.It Xr icp 4
 ICP Vortex GDT and Intel Storage RAID controllers.
-.It mlx
+.It Xr mlx 4
 Mylex DAC960 and DEC SWXCR RAID controllers.
-.It nvme
+.It Xr nvme 4
 Non-Volatile Memory (NVM Express) host controllers.
-.It pciide
+.It Xr pciide 4
 IDE disk controllers.
-.It twe
+.It Xr twe 4
 3Ware Escalade RAID controllers.
 .El
 .Ss Wired network interfaces
-.Bl -tag -width pcdisplay -offset indent
-.It aq
+.Bl -tag -width pcdisplay(4) -offset indent
+.It Xr aq 4
 Aquantia AQC multigigabit Ethernet interfaces.
-.It bnx
+.It Xr bnx 4
 Broadcom NetXtreme II 10/100/1000 Ethernet interfaces.
-.It de
-DEC DC21x4x (Tulip) based Ethernet interfaces, including the DE435,
-DE450, and DE500, and Znyx, SMC, Cogent/Adaptec, and Asante single- and
-multi-port Ethernet interfaces.
-.It ena
+.It Xr ena 4
 Elastic Network Adapter interfaces.
-.It ep
+.It Xr ep 4
 3Com 3c590, 3c595, 3c900, and 3c905 Ethernet interfaces.
-.It epic
+.It Xr epic 4
 SMC83C170 (EPIC/100) Ethernet interfaces.
-.It ex
+.It Xr ex 4
 3Com 3c900, 3c905, and 3c980 Ethernet interfaces.
-.It fxp
+.It Xr fxp 4
 Intel EtherExpress PRO 10+/100B Ethernet interfaces.
-.It gsip
+.It Xr gsip 4
 National Semiconductor DP83820 based Gigabit Ethernet interfaces.
-.It hme
+.It Xr hme 4
 Sun Microelectronics STP2002-STQ Ethernet interfaces.
-.It ixg
+.It Xr ixg 4
 Intel 82598EB, 82599, X540 and X550 10 Gigabit Ethernet interfaces.
-.It ixl
+.It Xr ixl 4
 Intel 700 series Ethernet interfaces.
-.It le
+.It Xr le 4
 PCNet-PCI Ethernet interfaces.
 Note, the
 .Xr pcn 4
 driver supersedes this driver.
-.It mcx
+.It Xr mcx 4
 Mellanox 5th generation Ethernet devices.
-.It msk
+.It Xr msk 4
 Marvell Yukon 2 based Gigabit Ethernet interfaces.
-.It ne
+.It Xr ne 4
 NE2000-compatible Ethernet interfaces.
-.It nfe
+.It Xr nfe 4
 NVIDIA nForce Ethernet interfaces.
-.It ntwoc
+.It Xr ntwoc 4
 SDL Communications N2pci and WAN/ic 400 synchronous serial interfaces.
-.It pcn
+.It Xr pcn 4
 AMD PCnet-PCI family of Ethernet interfaces.
-.It re
+.It Xr re 4
 Realtek 10/100/1000 Ethernet adapters.
-.It rge
+.It Xr rge 4
 Realtek RTL8125-based Ethernet interfaces.
-.It rtk
+.It Xr rtk 4
 Realtek 8129/8139 based Ethernet interfaces.
-.It sf
+.It Xr sf 4
 Adaptec AIC-6915 10/100 Ethernet interfaces.
-.It sip
+.It Xr sip 4
 Silicon Integrated Systems SiS 900, SiS 7016, and National Semiconductor
 DP83815 based Ethernet interfaces.
-.It sk
+.It Xr sk 4
 SysKonnect SK-98xx based Gigabit Ethernet 

CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 15:27:40 UTC 2021

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

Log Message:
add ena(4)


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.110 src/share/man/man4/pci.4:1.111
--- src/share/man/man4/pci.4:1.110	Thu Mar 11 14:19:43 2021
+++ src/share/man/man4/pci.4	Thu Mar 11 15:27:40 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.110 2021/03/11 14:19:43 nia Exp $
+.\"	$NetBSD: pci.4,v 1.111 2021/03/11 15:27:40 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -186,6 +186,8 @@ Broadcom NetXtreme II 10/100/1000 Ethern
 DEC DC21x4x (Tulip) based Ethernet interfaces, including the DE435,
 DE450, and DE500, and Znyx, SMC, Cogent/Adaptec, and Asante single- and
 multi-port Ethernet interfaces.
+.It ena
+Elastic Network Adapter interfaces.
 .It ep
 3Com 3c590, 3c595, 3c900, and 3c905 Ethernet interfaces.
 .It epic
@@ -404,6 +406,7 @@ USB XHCI host controllers.
 .Xr eap 4 ,
 .Xr ehci 4 ,
 .Xr emuxki 4 ,
+.Xr ena 4 ,
 .Xr ep 4 ,
 .Xr epic 4 ,
 .Xr esa 4 ,



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 14:19:43 UTC 2021

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

Log Message:
delint by removing Tn macros


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.109 src/share/man/man4/pci.4:1.110
--- src/share/man/man4/pci.4:1.109	Thu Mar 11 14:08:18 2021
+++ src/share/man/man4/pci.4	Thu Mar 11 14:19:43 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.109 2021/03/11 14:08:18 nia Exp $
+.\"	$NetBSD: pci.4,v 1.110 2021/03/11 14:19:43 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -49,26 +49,17 @@
 Other
 .Nm
 attachments are machine-dependent and depend on the bus topology and
-.Tn PCI
-bus interface of your system.
+PCI bus interface of your system.
 See
 .Xr intro 4
 for your system for details.
 .Pp
 .Nx
-includes a machine-independent
-.Tn PCI
-bus subsystem and
-several machine-independent
-.Tn PCI
-device drivers.
-.Pp
-Your system may support additional
-.Tn PCI
-devices.
-Drivers for
-.Tn PCI
-devices not listed here are machine-dependent.
+includes a machine-independent PCI bus subsystem and several
+machine-independent PCI device drivers.
+.Pp
+Your system may support additional PCI devices.
+Drivers for PCI devices not listed here are machine-dependent.
 Consult your system's
 .Xr intro 4
 for additional information.
@@ -133,61 +124,36 @@ option leaves the interrupt as is.
 .El
 .Sh HARDWARE
 .Nx
-includes machine-independent
-.Tn PCI
-drivers, sorted by device type and driver name:
+includes machine-independent PCI drivers, sorted by device type and driver name:
 .Ss SCSI interfaces
 .Bl -tag -width pcdisplay -offset indent
 .It ahc
-Adaptec 29xx, 39xx, and other AIC-7xxx-based
-.Tn SCSI
+Adaptec 29xx, 39xx, and other AIC-7xxx-based SCSI
 interfaces.
 .It adv
-Advansys
-.Tn SCSI
-interfaces.
+Advansys SCSI interfaces.
 .It adw
-Advansys Ultra Wide
-.Tn SCSI
-interfaces.
+Advansys Ultra Wide SCSI interfaces.
 .It bha
-Buslogic BT-9xx
-.Tn SCSI
-interfaces.
+Buslogic BT-9xx SCSI interfaces.
 .It dpt
-DPT SmartCache/SmartRAID III and IV
-.Tn SCSI
-interfaces.
+DPT SmartCache/SmartRAID III and IV SCSI interfaces.
 .It iha
-Initio INIC-940/950
-.Tn SCSI
-interfaces.
+Initio INIC-940/950 SCSI interfaces.
 .It isp
-QLogic ISP-1020, ISP-1040, and ISP-2100
-.Tn SCSI
-and
-.Tn FibreChannel
-interfaces.
+QLogic ISP-1020, ISP-1040, and ISP-2100 SCSI and FibreChannel interfaces.
 .It mfi
 LSI Logic & Dell MegaRAID SAS RAID controllers.
 .It mly
 Mylex AcceleRAID and eXtremeRAID controllers with v6 firmware.
 .It nca
-Domex 536
-.Tn SCSI
-interfaces.
+Domex 536 SCSI interfaces.
 .It pcscp
-Advanced Micro Devices Am53c974 PCscsi-PCI
-.Tn SCSI
-interfaces.
+Advanced Micro Devices Am53c974 PCscsi-PCI SCSI interfaces.
 .It siop
-Symbios Logic/NCR 53c8xx-family
-.Tn SCSI
-interfaces.
+Symbios Logic/NCR 53c8xx-family SCSI interfaces.
 .It trm
-Tekram TRM-S1040 ASIC based
-.Tn SCSI
-interfaces.
+Tekram TRM-S1040 ASIC based SCSI interfaces.
 .El
 .Ss Disk and tape controllers
 .Bl -tag -width pcdisplay -offset indent
@@ -217,125 +183,73 @@ Aquantia AQC multigigabit Ethernet inter
 .It bnx
 Broadcom NetXtreme II 10/100/1000 Ethernet interfaces.
 .It de
-.Tn DEC
-DC21x4x (Tulip) based
-.Tn Ethernet
-interfaces, including the DE435,
+DEC DC21x4x (Tulip) based Ethernet interfaces, including the DE435,
 DE450, and DE500, and Znyx, SMC, Cogent/Adaptec, and Asante single- and
-multi-port
-.Tn Ethernet
-interfaces.
+multi-port Ethernet interfaces.
 .It ep
-3Com 3c590, 3c595, 3c900, and 3c905
-.Tn Ethernet
-interfaces.
+3Com 3c590, 3c595, 3c900, and 3c905 Ethernet interfaces.
 .It epic
-SMC83C170 (EPIC/100)
-.Tn Ethernet
-interfaces.
+SMC83C170 (EPIC/100) Ethernet interfaces.
 .It ex
-3Com 3c900, 3c905, and 3c980
-.Tn Ethernet
-interfaces.
+3Com 3c900, 3c905, and 3c980 Ethernet interfaces.
 .It fxp
-Intel EtherExpress PRO 10+/100B
-.Tn Ethernet
-interfaces.
+Intel EtherExpress PRO 10+/100B Ethernet interfaces.
 .It gsip
-National Semiconductor DP83820 based Gigabit
-.Tn Ethernet
-interfaces.
+National Semiconductor DP83820 based Gigabit Ethernet interfaces.
 .It hme
-Sun Microelectronics STP2002-STQ
-.Tn Ethernet
-interfaces.
+Sun Microelectronics STP2002-STQ Ethernet interfaces.
 .It ixg
 Intel 82598EB, 82599, X540 and X550 10 Gigabit Ethernet interfaces.
 .It ixl
-Intel 700 series
-.Tn Ethernet
-interfaces.
+Intel 700 series Ethernet interfaces.
 .It le
-PCNet-PCI
-.Tn Ethernet
-interfaces.
+PCNet-PCI Ethernet interfaces.
 Note, the
 .Xr pcn 4
 driver supersedes this driver.
 .It mcx
 Mellanox 5th generation Ethernet devices.
 .It msk
-Marvell Yukon 2 based Gigabit
-.Tn Ethernet
-interfaces.
+Marvell Yukon 2 based Gigabit Ethernet interfaces.
 .It ne

CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 14:08:18 UTC 2021

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

Log Message:
add vmx, virtio


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.108 src/share/man/man4/pci.4:1.109
--- src/share/man/man4/pci.4:1.108	Thu Mar 11 10:45:33 2021
+++ src/share/man/man4/pci.4	Thu Mar 11 14:08:18 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.108 2021/03/11 10:45:33 nia Exp $
+.\"	$NetBSD: pci.4,v 1.109 2021/03/11 14:08:18 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -326,6 +326,8 @@ DECchip 21x4x and clone
 interfaces.
 .It vge
 VIA Networking Technologies VT6122 PCI Gigabit Ethernet adapter driver.
+.It vmx
+VMware VMXNET3 virtual Ethernet interfaces.
 .It vr
 VIA VT3043 (Rhine) and VT86C100A (Rhine-II)
 .Tn Ethernet
@@ -459,6 +461,8 @@ communications ports.
 USB UHCI host controllers.
 .It viapm
 VIA VT82C686A hardware monitors.
+.It virtio
+Para-virtualized I/O in a virtual machine.
 .It vga
 VGA graphics boards.
 .It xhci
@@ -562,6 +566,8 @@ USB XHCI host controllers.
 .Xr vga 4 ,
 .Xr vge 4 ,
 .\" .Xr viapm 4 ,
+.Xr virtio 4 ,
+.Xr vmx 4 ,
 .Xr vr 4 ,
 .Xr wi 4 ,
 .Xr wm 4 ,



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 10:45:33 UTC 2021

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

Log Message:
Add ixg


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.107 src/share/man/man4/pci.4:1.108
--- src/share/man/man4/pci.4:1.107	Thu Mar 11 10:33:36 2021
+++ src/share/man/man4/pci.4	Thu Mar 11 10:45:33 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.107 2021/03/11 10:33:36 nia Exp $
+.\"	$NetBSD: pci.4,v 1.108 2021/03/11 10:45:33 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -249,7 +249,9 @@ interfaces.
 Sun Microelectronics STP2002-STQ
 .Tn Ethernet
 interfaces.
-.It ixl 
+.It ixg
+Intel 82598EB, 82599, X540 and X550 10 Gigabit Ethernet interfaces.
+.It ixl
 Intel 700 series
 .Tn Ethernet
 interfaces.
@@ -512,6 +514,7 @@ USB XHCI host controllers.
 .Xr iwi 4 ,
 .Xr iwm 4 ,
 .Xr iwn 4 ,
+.Xr ixg 4 ,
 .Xr ixl 4 ,
 .Xr le 4 ,
 .Xr malo 4 ,



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 10:33:36 UTC 2021

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

Log Message:
Move nvme where I expected to find it (disk controllers section)


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.106 src/share/man/man4/pci.4:1.107
--- src/share/man/man4/pci.4:1.106	Thu Mar 11 10:28:53 2021
+++ src/share/man/man4/pci.4	Thu Mar 11 10:33:36 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.106 2021/03/11 10:28:53 nia Exp $
+.\"	$NetBSD: pci.4,v 1.107 2021/03/11 10:33:36 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -203,6 +203,8 @@ Compaq array controllers.
 ICP Vortex GDT and Intel Storage RAID controllers.
 .It mlx
 Mylex DAC960 and DEC SWXCR RAID controllers.
+.It nvme
+Non-Volatile Memory (NVM Express) host controllers.
 .It pciide
 IDE disk controllers.
 .It twe
@@ -435,8 +437,6 @@ USB EHCI host controllers.
 I2O I/O processors.
 .It mr
 Guillemot Maxi Radio FM 2000 FM radio device.
-.It nvme
-Non-Volatile Memory Host controllers.
 .It oboe
 Toshiba OBOE IrDA SIR/FIR controller.
 .It ohci



CVS commit: src/share/man/man4

2021-03-11 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Thu Mar 11 10:28:54 UTC 2021

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

Log Message:
Split wifi cards into a separate section, add many more.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.105 src/share/man/man4/pci.4:1.106
--- src/share/man/man4/pci.4:1.105	Mon Mar  1 18:08:36 2021
+++ src/share/man/man4/pci.4	Thu Mar 11 10:28:53 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.105 2021/03/01 18:08:36 jakllsch Exp $
+.\"	$NetBSD: pci.4,v 1.106 2021/03/11 10:28:53 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -29,7 +29,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 March 1, 2021
+.Dd March 11, 2021
 .Dt PCI 4
 .Os
 .Sh NAME
@@ -208,13 +208,8 @@ IDE disk controllers.
 .It twe
 3Ware Escalade RAID controllers.
 .El
-.Ss Network interfaces
+.Ss Wired network interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It an
-.Tn Aironet
-4500/4800 and
-.Tn Cisco
-340 series 802.11 interfaces.
 .It aq
 Aquantia AQC multigigabit Ethernet interfaces.
 .It bnx
@@ -283,8 +278,6 @@ SDL Communications N2pci and WAN/ic 400 
 AMD PCnet-PCI family of
 .Tn Ethernet
 interfaces.
-.It ral
-Ralink Technology RT2500/RT2600-based 802.11a/b/g wireless network interfaces.
 .It re
 Realtek 10/100/1000 Ethernet adapters.
 .It rge
@@ -296,8 +289,6 @@ interfaces.
 Realtek 8129/8139 based
 .Tn Ethernet
 interfaces.
-.It rtwn
-Realtek RTL8188CE/RTL8192CE 802.11b/g/n wireless network interfaces.
 .It sf
 Adaptec AIC-6915 10/100
 .Tn Ethernet
@@ -335,13 +326,47 @@ VIA Networking Technologies VT6122 PCI G
 VIA VT3043 (Rhine) and VT86C100A (Rhine-II)
 .Tn Ethernet
 interfaces.
-.It wi
-WaveLAN/IEEE and PRISM-II 802.11 wireless interfaces.
 .It wm
 Intel i8254x Gigabit
 .Tn Ethernet
 driver.
 .El
+.Ss Wireless network interfaces
+.Bl -tag -width pcdisplay -offset indent
+.It an
+Aironet 4500/4800 and Cisco 340 series 802.11 interfaces.
+.It atw
+ADMtek ADM8211 IEEE 802.11b PCI/CardBus wireless network interaces.
+.It ath
+Atheros IEEE 802.11a/b/g wireless network interfaces.
+.It athn
+Atheros IEEE 802.11a/b/g/n wireless network interfaces.
+.It bwi
+Broadcom BCM430x/4318 IEEE 802.11b/g wireless network interfaces.
+.It bwfm
+Broadcom and Cypress FullMAC wireless network interfaces.
+.It ipw
+Intel PRO/Wireless 2100 MiniPCI network interfaces.
+.It iwi
+Intel PRO/Wireless 2200BG and 2915ABG MiniPCI network interfaces.
+.It iwm
+Intel Wireless 7260, 7265, and 3160 PCIe Mini Card Dual Band network interfaces.
+.It iwn
+Intel Wireless WiFi Link 4965/5000/1000 and Centrino Wireless-N 1000/2000/6000
+PCIe Mini network interfaces.
+.It malo
+Marvell Libertas 88W8335/88W8310/88W8385 802.11b/g wireless network interfaces.
+.It ral
+Ralink Technology RT2500/RT2600-based 802.11a/b/g wireless network interfaces.
+.It rtw
+Realtek RTL8180L 802.11b wireless network interfaces.
+.It rtwn
+Realtek RTL8188CE/RTL8192CE 802.11b/g/n wireless network interfaces.
+.It wi
+WaveLAN/IEEE and PRISM-II 802.11 wireless interfaces.
+.It wpi
+Intel PRO/Wireless 3945ABG Mini PCI Express network adapters.
+.El
 .Ss Serial interfaces
 .Bl -tag -width pcdisplay -offset indent
 .It cy
@@ -447,12 +472,17 @@ USB XHCI host controllers.
 .Xr amr 4 ,
 .Xr an 4 ,
 .Xr aq 4 ,
+.Xr ath 4 ,
+.Xr athn 4 ,
+.Xr atw 4 ,
 .Xr auich 4 ,
 .Xr autri 4 ,
 .Xr auvia 4 ,
 .Xr bha 4 ,
 .Xr bktr 4 ,
 .Xr bnx 4 ,
+.Xr bwfm 4 ,
+.Xr bwi 4 ,
 .Xr cac 4 ,
 .Xr cbb 4 ,
 .Xr clcs 4 ,
@@ -477,9 +507,14 @@ USB XHCI host controllers.
 .Xr iha 4 ,
 .Xr intro 4 ,
 .Xr iop 4 ,
+.Xr ipw 4 ,
 .Xr isp 4 ,
+.Xr iwi 4 ,
+.Xr iwm 4 ,
+.Xr iwn 4 ,
 .Xr ixl 4 ,
 .Xr le 4 ,
+.Xr malo 4 ,
 .Xr mcx 4 ,
 .Xr mfi 4 ,
 .Xr mlx 4 ,
@@ -503,6 +538,8 @@ USB XHCI host controllers.
 .Xr ral 4 ,
 .Xr re 4 ,
 .Xr rtk 4 ,
+.Xr rtw 4 ,
+.Xr rtwn 4 ,
 .Xr rtwn 4 ,
 .Xr sf 4 ,
 .Xr siisata 4 ,
@@ -525,6 +562,7 @@ USB XHCI host controllers.
 .Xr vr 4 ,
 .Xr wi 4 ,
 .Xr wm 4 ,
+.Xr wpi 4 ,
 .Xr wscons 4 ,
 .Xr xhci 4 ,
 .Xr yds 4



CVS commit: src/share/man/man4

2021-03-09 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Mar  9 12:02:24 UTC 2021

Modified Files:
src/share/man/man4: ixg.4 ixv.4

Log Message:
Improve wording, use more macros.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/share/man/man4/ixg.4
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/ixv.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/ixg.4
diff -u src/share/man/man4/ixg.4:1.13 src/share/man/man4/ixg.4:1.14
--- src/share/man/man4/ixg.4:1.13	Tue Mar  9 10:03:18 2021
+++ src/share/man/man4/ixg.4	Tue Mar  9 12:02:24 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: ixg.4,v 1.13 2021/03/09 10:03:18 msaitoh Exp $
+.\" $NetBSD: ixg.4,v 1.14 2021/03/09 12:02:24 wiz Exp $
 .\"
 .\" Copyright (c) 2001-2008, Intel Corporation
 .\" All rights reserved.
@@ -89,17 +89,19 @@ The
 driver doesn't use the common
 .Xr MCLGET 9
 interface and use the driver specific cluster allocation mechanism.
-If it's exhausted,
+If it's exhausted, the
 .Xr evcnt 9
-counter "ixgX qY Rx no jumbo mbuf" is incremented. If it's observed,
-The number can be changed by the following config parameter:
+counter "ixgX qY Rx no jumbo mbuf" is incremented.
+If this is observed,
+the number can be changed by the following config parameter:
 .Bl -tag -width IXGBE_JCLNUM_MULTI -offset 3n
 .It Dv IXGBE_JCLNUM_MULTI
-The number of RX jumbo buffer (cluster) per queue is calculated by
+The number of RX jumbo buffers (clusters) per queue is calculated by
 .Dv IXGBE_JCLNUM_MULTI
-* (number of rx descriptor).
-The total number of clusters per queue is available with
-hw.ixgN.num_jcl_per_queue sysctl.
+* (number of rx descriptors).
+The total number of clusters per queue is available via the
+.Li hw.ixgN.num_jcl_per_queue
+.Xr sysctl 7 .
 .El
 .Sh SEE ALSO
 .Xr arp 4 ,

Index: src/share/man/man4/ixv.4
diff -u src/share/man/man4/ixv.4:1.6 src/share/man/man4/ixv.4:1.7
--- src/share/man/man4/ixv.4:1.6	Tue Mar  9 10:03:18 2021
+++ src/share/man/man4/ixv.4	Tue Mar  9 12:02:24 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ixv.4,v 1.6 2021/03/09 10:03:18 msaitoh Exp $
+.\"	$NetBSD: ixv.4,v 1.7 2021/03/09 12:02:24 wiz Exp $
 .\"
 .\" Copyright (c) 2018 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -49,17 +49,19 @@ The
 driver doesn't use the common
 .Xr MCLGET 9
 interface and use the driver specific cluster allocation mechanism.
-If it's exhausted,
+If it's exhausted, the
 .Xr evcnt 9
-counter "ixgX qY Rx no jumbo mbuf" is incremented. If it's observed,
-The number can be changed by the following config parameter:
+counter "ixgX qY Rx no jumbo mbuf" is incremented.
+If this is observed,
+the number can be changed by the following config parameter:
 .Bl -tag -width IXGBE_JCLNUM_MULTI -offset 3n
 .It Dv IXGBE_JCLNUM_MULTI
-The number of RX jumbo buffer (cluster) per queue is calculated by
+The number of RX jumbo buffers (clusters) per queue is calculated by
 .Dv IXGBE_JCLNUM_MULTI
-* (number of rx descriptor).
-The total number of clusters per queue is available with
-hw.ixgN.num_jcl_per_queue sysctl.
+* (number of rx descriptors).
+The total number of clusters per queue is available with the
+.Li hw.ixgN.num_jcl_per_queue
+.Xr sysctl 7 .
 .El
 .Sh SEE ALSO
 .Xr arp 4 ,



CVS commit: src/share/man/man9

2021-03-06 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Mar  6 14:44:02 UTC 2021

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

Log Message:
Fix trivial typo. No need to bump date.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/share/man/man9/kmem.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/kmem.9
diff -u src/share/man/man9/kmem.9:1.27 src/share/man/man9/kmem.9:1.28
--- src/share/man/man9/kmem.9:1.27	Sun Jan 24 17:29:11 2021
+++ src/share/man/man9/kmem.9	Sat Mar  6 14:44:02 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: kmem.9,v 1.27 2021/01/24 17:29:11 thorpej Exp $
+.\"	$NetBSD: kmem.9,v 1.28 2021/03/06 14:44:02 rin Exp $
 .\"
 .\" Copyright (c)2006 YAMAMOTO Takashi,
 .\" All rights reserved.
@@ -78,7 +78,7 @@
 "size_t size" "void *stackbuf" "size_t stackbufsize" "km_flag_t kmflags"
 .Ft void
 .Fn kmem_tmpbuf_free \
-"void *p" "size_t size" "void *stsackbuf"
+"void *p" "size_t size" "void *stackbuf"
 .\" 
 .Pp
 .Cd "options KMEM_SIZE"



CVS commit: src/share/man/man4

2021-03-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Mon Mar  1 18:14:05 UTC 2021

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

Log Message:
Fix Dd, comment out OpenBSD-only page.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/rge.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/rge.4
diff -u src/share/man/man4/rge.4:1.2 src/share/man/man4/rge.4:1.3
--- src/share/man/man4/rge.4:1.2	Mon Mar  1 17:58:33 2021
+++ src/share/man/man4/rge.4	Mon Mar  1 18:14:05 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: rge.4,v 1.2 2021/03/01 17:58:33 jakllsch Exp $
+.\" $NetBSD: rge.4,v 1.3 2021/03/01 18:14:05 wiz Exp $
 .\" $OpenBSD: rge.4,v 1.4 2020/10/12 02:11:10 kevlo Exp $
 .\"
 .\" Copyright (c) 2019, 2020 Kevin Lo 
@@ -15,7 +15,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd $Mdocdate: October 12 2020 $
+.Dd March 1, 2021
 .Dt RGE 4
 .Os
 .Sh NAME
@@ -44,7 +44,7 @@ TP-LINK TL-NG421 Adapter (2500baseT)
 .Xr intro 4 ,
 .Xr netintro 4 ,
 .Xr pci 4 ,
-.Xr hostname.if 5 ,
+.\".Xr hostname.if 5 ,
 .Xr ifconfig 8
 .Sh HISTORY
 The



CVS commit: src/share/man/man4

2021-03-01 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Mon Mar  1 18:08:36 UTC 2021

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

Log Message:
link to rge(4) from pci(4)


To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.104 src/share/man/man4/pci.4:1.105
--- src/share/man/man4/pci.4:1.104	Sat Feb 27 11:06:32 2021
+++ src/share/man/man4/pci.4	Mon Mar  1 18:08:36 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.104 2021/02/27 11:06:32 nia Exp $
+.\"	$NetBSD: pci.4,v 1.105 2021/03/01 18:08:36 jakllsch Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -29,7 +29,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 February 27, 2021
+.Dd March 1, 2021
 .Dt PCI 4
 .Os
 .Sh NAME
@@ -287,6 +287,11 @@ interfaces.
 Ralink Technology RT2500/RT2600-based 802.11a/b/g wireless network interfaces.
 .It re
 Realtek 10/100/1000 Ethernet adapters.
+.It rge
+.Tn Realtek
+RTL8125-based
+.Tn Ethernet
+interfaces.
 .It rtk
 Realtek 8129/8139 based
 .Tn Ethernet



CVS commit: src/share/man/man4

2021-03-01 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Mon Mar  1 17:58:33 UTC 2021

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

Log Message:
update rge(4) manual page from OpenBSD


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/rge.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/rge.4
diff -u src/share/man/man4/rge.4:1.1 src/share/man/man4/rge.4:1.2
--- src/share/man/man4/rge.4:1.1	Sat Jan 11 20:56:50 2020
+++ src/share/man/man4/rge.4	Mon Mar  1 17:58:33 2021
@@ -1,7 +1,7 @@
-.\" $NetBSD: rge.4,v 1.1 2020/01/11 20:56:50 sevan Exp $
-.\" $OpenBSD: rge.4,v 1.2 2019/11/18 22:09:59 jmc Exp $
+.\" $NetBSD: rge.4,v 1.2 2021/03/01 17:58:33 jakllsch Exp $
+.\" $OpenBSD: rge.4,v 1.4 2020/10/12 02:11:10 kevlo Exp $
 .\"
-.\" Copyright (c) 2019 Kevin Lo 
+.\" Copyright (c) 2019, 2020 Kevin Lo 
 .\"
 .\" Permission to use, copy, modify, and distribute this software for any
 .\" purpose with or without fee is hereby granted, provided that the above
@@ -15,25 +15,28 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.Dd $Mdocdate: November 18 2019 $
+.Dd $Mdocdate: October 12 2020 $
 .Dt RGE 4
 .Os
 .Sh NAME
 .Nm rge
-.Nd Realtek 8125 PCI Express 2.5Gb Ethernet device
+.Nd Realtek 8125/8125B PCI Express 2.5Gb Ethernet device
 .Sh SYNOPSIS
 .Cd "rge* at pci?"
 .Sh DESCRIPTION
 The
 .Nm
 driver provides support for PCI Express 2.5Gb Ethernet adapters based
-on the Realtek RTL8125 Ethernet controller, including the following:
+on the Realtek RTL8125 and RTL8125B Ethernet controllers,
+including the following:
 .Pp
 .Bl -bullet -offset indent -compact
 .It
-Realtek RTL8125 2.5GbE Adapter (2500baseT)
+Realtek 8125/8125B 2.5GbE Adapter (2500baseT)
 .It
 Rivet Networks Killer E3000 Adapter (2500baseT)
+.It
+TP-LINK TL-NG421 Adapter (2500baseT)
 .El
 .Sh SEE ALSO
 .Xr arp 4 ,



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

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Feb 28 07:51:29 UTC 2021

Modified Files:
src/share/man/man4/man4.i386: intro.4

Log Message:
Add SEE ALSOs for various bus types

suggested by mrg


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/share/man/man4/man4.i386/intro.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.i386/intro.4
diff -u src/share/man/man4/man4.i386/intro.4:1.32 src/share/man/man4/man4.i386/intro.4:1.33
--- src/share/man/man4/man4.i386/intro.4:1.32	Fri Feb 26 10:56:48 2021
+++ src/share/man/man4/man4.i386/intro.4	Sun Feb 28 07:51:29 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: intro.4,v 1.32 2021/02/26 10:56:48 nia Exp $
+.\" $NetBSD: intro.4,v 1.33 2021/02/28 07:51:29 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jonathan Stone
 .\" Copyright (c) 1994 Christopher G. Demetriou
@@ -166,8 +166,18 @@ console driver.
 .\"
 .Sh SEE ALSO
 .Xr config 1 ,
+.Xr com 4 ,
+.Xr eisa 4 ,
 .Xr i386/autoconf 4 ,
-.Xr netintro 4
+.Xr isa 4 ,
+.Xr isapnp 4 ,
+.Xr mca 4 ,
+.Xr netintro 4 ,
+.Xr pci 4 ,
+.Xr speaker 4 ,
+.Xr x86/fdc 4 ,
+.Xr x86/lpt 4 ,
+.Xr x86/mem 4
 .Sh HISTORY
 The
 .Tn i386



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 11:06:32 UTC 2021

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

Log Message:
add ixl(4) properly


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.103 src/share/man/man4/pci.4:1.104
--- src/share/man/man4/pci.4:1.103	Sat Feb 27 11:05:38 2021
+++ src/share/man/man4/pci.4	Sat Feb 27 11:06:32 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.103 2021/02/27 11:05:38 nia Exp $
+.\"	$NetBSD: pci.4,v 1.104 2021/02/27 11:06:32 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -473,6 +473,7 @@ USB XHCI host controllers.
 .Xr intro 4 ,
 .Xr iop 4 ,
 .Xr isp 4 ,
+.Xr ixl 4 ,
 .Xr le 4 ,
 .Xr mcx 4 ,
 .Xr mfi 4 ,



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 11:05:38 UTC 2021

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

Log Message:
add ixl(4)


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/share/man/man4/pci.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/pci.4
diff -u src/share/man/man4/pci.4:1.102 src/share/man/man4/pci.4:1.103
--- src/share/man/man4/pci.4:1.102	Fri Feb 26 09:46:58 2021
+++ src/share/man/man4/pci.4	Sat Feb 27 11:05:38 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: pci.4,v 1.102 2021/02/26 09:46:58 nia Exp $
+.\"	$NetBSD: pci.4,v 1.103 2021/02/27 11:05:38 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jason R. Thorpe.  All rights reserved.
 .\" Copyright (c) 1997 Jonathan Stone
@@ -29,7 +29,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 February 26, 2021
+.Dd February 27, 2021
 .Dt PCI 4
 .Os
 .Sh NAME
@@ -252,6 +252,10 @@ interfaces.
 Sun Microelectronics STP2002-STQ
 .Tn Ethernet
 interfaces.
+.It ixl 
+Intel 700 series
+.Tn Ethernet
+interfaces.
 .It le
 PCNet-PCI
 .Tn Ethernet



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 09:54:59 UTC 2021

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

Log Message:
spi.4: mention history of ioctl interface


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/spi.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/spi.4
diff -u src/share/man/man4/spi.4:1.9 src/share/man/man4/spi.4:1.10
--- src/share/man/man4/spi.4:1.9	Sat Feb 27 08:38:14 2021
+++ src/share/man/man4/spi.4	Sat Feb 27 09:54:59 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: spi.4,v 1.9 2021/02/27 08:38:14 nia Exp $
+.\"	$NetBSD: spi.4,v 1.10 2021/02/27 09:54:59 nia Exp $
 .\"
 .\" Copyright (c) 2006 Urbana-Champaign Independent Media Center.
 .\" Copyright (c) 2006 Garrett D'Amore.
@@ -168,3 +168,7 @@ for the
 Champaign-Urbana Community Wireless Network Project (CUWiN), and
 appeared in
 .Nx 4.0 .
+The
+.Xr ioctl 2
+interface allowing configuration from userspace appeared in
+.Nx 9.0 .



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 08:59:24 UTC 2021

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

Log Message:
iic.4: Add FILES section. Fix copypasto.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 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.24 src/share/man/man4/iic.4:1.25
--- src/share/man/man4/iic.4:1.24	Sat Feb 27 08:56:14 2021
+++ src/share/man/man4/iic.4	Sat Feb 27 08:59:24 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: iic.4,v 1.24 2021/02/27 08:56:14 nia Exp $
+.\"	$NetBSD: iic.4,v 1.25 2021/02/27 08:59:24 nia Exp $
 .\"	$OpenBSD: iic.4,v 1.74 2008/09/10 16:13:43 reyk Exp $
 .\"
 .\" Copyright (c) 2004, 2006 Alexander Yurchenko 
@@ -104,7 +104,7 @@ it with the I2C commands.
 The following
 .Xr ioctl 2
 calls apply to
-.Em SPI
+.Em IIC
 devices.
 They are defined in the header file
 .In dev/i2c/i2c_io.h :
@@ -230,6 +230,13 @@ Generic Memory Module Serial Presence De
 .It Xr ssdfb 4
 OLED/PLED framebuffer modules
 .El
+.Sh FILES
+.Bl -tag -width "/dev/iicu" -compact
+.It /dev/iic Ns Ar u
+I2C device unit
+.Ar u
+file.
+.El
 .Sh SEE ALSO
 .Xr dtviic 4 ,
 .Xr intro 4 ,



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 08:56:14 UTC 2021

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

Log Message:
Describe the i2c ioctl interface


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 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.23 src/share/man/man4/iic.4:1.24
--- src/share/man/man4/iic.4:1.23	Sat Feb 27 08:43:15 2021
+++ src/share/man/man4/iic.4	Sat Feb 27 08:56:14 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: iic.4,v 1.23 2021/02/27 08:43:15 nia Exp $
+.\"	$NetBSD: iic.4,v 1.24 2021/02/27 08:56:14 nia Exp $
 .\"	$OpenBSD: iic.4,v 1.74 2008/09/10 16:13:43 reyk Exp $
 .\"
 .\" Copyright (c) 2004, 2006 Alexander Yurchenko 
@@ -100,6 +100,37 @@ The master accesses a particular slave d
 .Pp
 System Management Bus (SMBus) protocol is also supported by emulating
 it with the I2C commands.
+.Sh IOCTLS
+The following
+.Xr ioctl 2
+calls apply to
+.Em SPI
+devices.
+They are defined in the header file
+.In dev/i2c/i2c_io.h :
+.Bl -tag -width indent
+.It Dv I2C_IOCTL_EXEC (i2c_ioctl_exec_t)
+User ioctl to execute an i2c operation.
+.Bd -literal
+typedef enum {
+I2C_OP_READ,
+I2C_OP_READ_WITH_STOP,
+I2C_OP_WRITE,
+I2C_OP_WRITE_WITH_STOP,
+I2C_OP_READ_BLOCK,
+I2C_OP_WRITE_BLOCK
+} i2c_op_t;
+
+typedef struct i2c_ioctl_exec {
+	i2c_op_t iie_op;	/* operation to perform */
+	i2c_addr_t iie_addr;	/* address of device */
+	const void *iie_cmd;	/* pointer to command */
+	size_t iie_cmdlen;	/* length of command */
+	void *iie_buf;		/* pointer to data buffer */
+	size_t iie_buflen;	/* length of data buffer */
+} i2c_ioctl_exec_t;
+.Ed
+.El
 .Sh SUPPORTED MASTERS
 A wide list of I2C masters are supported, among them are:
 .Pp



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 08:43:15 UTC 2021

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

Log Message:
iic.4: add ssdfb


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 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.22 src/share/man/man4/iic.4:1.23
--- src/share/man/man4/iic.4:1.22	Mon Feb 26 08:23:44 2018
+++ src/share/man/man4/iic.4	Sat Feb 27 08:43:15 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: iic.4,v 1.22 2018/02/26 08:23:44 wiz Exp $
+.\"	$NetBSD: iic.4,v 1.23 2021/02/27 08:43:15 nia 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 February 26, 2018
+.Dd February 27, 2021
 .Dt IIC 4
 .Os
 .Sh NAME
@@ -196,6 +196,8 @@ JEDEC JC-42.4 compatible memory module t
 driver for SGS 7433 Basic Audio Processor found in some Apple machines
 .It Xr spdmem 4
 Generic Memory Module Serial Presence Detect
+.It Xr ssdfb 4
+OLED/PLED framebuffer modules
 .El
 .Sh SEE ALSO
 .Xr dtviic 4 ,



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 08:38:14 UTC 2021

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

Log Message:
spi.4: Add a FILES section


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/spi.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/spi.4
diff -u src/share/man/man4/spi.4:1.8 src/share/man/man4/spi.4:1.9
--- src/share/man/man4/spi.4:1.8	Sat Feb 27 08:36:05 2021
+++ src/share/man/man4/spi.4	Sat Feb 27 08:38:14 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: spi.4,v 1.8 2021/02/27 08:36:05 nia Exp $
+.\"	$NetBSD: spi.4,v 1.9 2021/02/27 08:38:14 nia Exp $
 .\"
 .\" Copyright (c) 2006 Urbana-Champaign Independent Media Center.
 .\" Copyright (c) 2006 Garrett D'Amore.
@@ -144,6 +144,13 @@ Texas Instruments TMP121 temperature sen
 .It ssdfb
 OLED/PLED framebuffer modules.
 .El
+.Sh FILES
+.Bl -tag -width "/dev/spiu" -compact
+.It /dev/spi Ns Ar u
+SPI device unit
+.Ar u
+file.
+.El
 .Sh SEE ALSO
 .Xr m25p 4 ,
 .Xr mcp23s17gpio 4 ,



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 08:36:05 UTC 2021

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

Log Message:
Document the userspace /dev/spi interface to the best of my ability.

Add ssdfb(4).

Based mostly on a mailing list post by mlelstv;
https://mail-index.netbsd.org/port-arm/2019/02/07/msg005454.html


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/spi.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/spi.4
diff -u src/share/man/man4/spi.4:1.7 src/share/man/man4/spi.4:1.8
--- src/share/man/man4/spi.4:1.7	Sat Feb 23 17:34:04 2019
+++ src/share/man/man4/spi.4	Sat Feb 27 08:36:05 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: spi.4,v 1.7 2019/02/23 17:34:04 wiz Exp $
+.\"	$NetBSD: spi.4,v 1.8 2021/02/27 08:36:05 nia Exp $
 .\"
 .\" Copyright (c) 2006 Urbana-Champaign Independent Media Center.
 .\" Copyright (c) 2006 Garrett D'Amore.
@@ -39,7 +39,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 9, 2006
+.Dd February 27, 2021
 .Dt SPI 4
 .Os
 .Sh NAME
@@ -89,11 +89,47 @@ file, the
 must be provided, as
 .Tn SPI
 lacks any way to automatically probe devices.
+.Sh IOCTLS
+The following
+.Xr ioctl 2
+calls apply to
+.Em SPI
+devices.
+They are defined in the header file
+.In dev/spi/spi_io.h :
+.Bl -tag -width indent
+.It Dv SPI_IOCTL_CONFIGURE (spi_ioctl_configure_t)
+Used to choose the operational mode and clock.
+The
+.Li sic_mode
+defines polarity and phase of the clock.
+.Li sic_speed
+is the clock speed in Hz, a value of 0 means to keep the default speed
+of the device.
+.Bd -literal
+typedef struct spi_ioctl_configure {
+	int sic_addr;
+	int sic_mode;
+	int sic_speed;
+} spi_ioctl_configure_t;
+.Ed
+.It Dv SPI_IOCTL_TRANSFER (spi_ioctl_transfer_t)
+Used to handle an I/O transaction.
+.Bd -literal
+typedef struct spi_ioctl_transfer {
+	int sit_addr;
+	const void *sit_send;
+	size_t sit_sendlen;
+	void *sit_recv;
+	size_t sit_recvlen;
+} spi_ioctl_transfer_t;
+.Ed
+.El
 .Sh HARDWARE
 .Nx
 includes the following machine-independent
 .Tn SPI
-drivers
+drivers:
 .Bl -tag -width pcdisplay -offset indent
 .It m25p
 STMicroelectronics M25P family of NOR flash devices.
@@ -105,12 +141,15 @@ Microchip MCP3x0x SAR analog to digital 
 Microchip MCP4801/MCP4811/MCP4821 digital to analog converter.
 .It tm121temp
 Texas Instruments TMP121 temperature sensor.
+.It ssdfb
+OLED/PLED framebuffer modules.
 .El
 .Sh SEE ALSO
 .Xr m25p 4 ,
 .Xr mcp23s17gpio 4 ,
 .Xr mcp3kadc 4 ,
 .Xr mcp48x1dac 4 ,
+.Xr ssdfb 4 ,
 .Xr tm121temp 4 ,
 .Xr spi 9
 .Sh HISTORY



CVS commit: src/share/man/man4

2021-02-26 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Feb 26 11:12:45 UTC 2021

Modified Files:
src/share/man/man4: atalk.4 isapnp.4 mca.4 tc.4

Log Message:
Remove references to removed FDDI and Token Ring drivers


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/share/man/man4/atalk.4
cvs rdiff -u -r1.24 -r1.25 src/share/man/man4/isapnp.4
cvs rdiff -u -r1.20 -r1.21 src/share/man/man4/mca.4
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/tc.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/atalk.4
diff -u src/share/man/man4/atalk.4:1.19 src/share/man/man4/atalk.4:1.20
--- src/share/man/man4/atalk.4:1.19	Mon Mar 22 18:58:31 2010
+++ src/share/man/man4/atalk.4	Fri Feb 26 11:12:45 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: atalk.4,v 1.19 2010/03/22 18:58:31 joerg Exp $
+.\"	$NetBSD: atalk.4,v 1.20 2021/02/26 11:12:45 nia Exp $
 .\"
 .\" This file is derived from the atalk.4 man page in the Netatalk 1.4b2
 .\" distribution. That distribution is covered by the following copyright:
@@ -27,7 +27,7 @@
 .\"	+1-313-764-2278
 .\"	netat...@umich.edu
 .\"
-.Dd November 14, 1997
+.Dd February 26, 2021
 .Dt ATALK 4
 .Os
 .Sh NAME
@@ -54,7 +54,7 @@ or
 ).
 Currently,
 .Nx Ns 's
-AppleTalk implementation supports Ethernet, FDDI, and Token Ring.
+AppleTalk implementation supports Ethernet.
 .Pp
 AppleTalk packets are encapsulated on the Ethernet using the EtherTalk
 Link Access Protocol (ELAP).

Index: src/share/man/man4/isapnp.4
diff -u src/share/man/man4/isapnp.4:1.24 src/share/man/man4/isapnp.4:1.25
--- src/share/man/man4/isapnp.4:1.24	Tue May 11 22:42:47 2004
+++ src/share/man/man4/isapnp.4	Fri Feb 26 11:12:45 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: isapnp.4,v 1.24 2004/05/11 22:42:47 wiz Exp $
+.\"	$NetBSD: isapnp.4,v 1.25 2021/02/26 11:12:45 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jonathan Stone
 .\" All rights reserved.
@@ -28,7 +28,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 February 17, 1997
+.Dd February 26, 2021
 .Dt ISAPNP 4
 .Os
 .Sh NAME
@@ -90,8 +90,6 @@ interfaces based on the successor to the
 NE2000-compatible
 .Tn Ethernet
 interfaces.
-.It tr
-TROPIC based token ring interfaces.
 .El
 .\"
 .Ss Sound cards

Index: src/share/man/man4/mca.4
diff -u src/share/man/man4/mca.4:1.20 src/share/man/man4/mca.4:1.21
--- src/share/man/man4/mca.4:1.20	Sat Oct 13 15:28:34 2012
+++ src/share/man/man4/mca.4	Fri Feb 26 11:12:45 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: mca.4,v 1.20 2012/10/13 15:28:34 njoly Exp $
+.\" $NetBSD: mca.4,v 1.21 2021/02/26 11:12:45 nia Exp $
 .\"
 .\" Copyright (c) 2000, 2002 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 March 3, 2005
+.Dd February 26, 2021
 .Dt MCA 4
 .Os
 .Sh NAME
@@ -79,8 +79,6 @@ NS8250-, NS16450-, and NS16550-based ser
 .\"
 .Ss Network interfaces
 .Bl -tag -width speaker -offset indent
-.It tr
-TROPIC based token ring interfaces
 .It ate
 Allied-Telesis 1720 Ethernet interface cards
 .It we

Index: src/share/man/man4/tc.4
diff -u src/share/man/man4/tc.4:1.7 src/share/man/man4/tc.4:1.8
--- src/share/man/man4/tc.4:1.7	Fri Jun 23 15:24:35 2017
+++ src/share/man/man4/tc.4	Fri Feb 26 11:12:45 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: tc.4,v 1.7 2017/06/23 15:24:35 flxd Exp $
+.\" $NetBSD: tc.4,v 1.8 2021/02/26 11:12:45 nia Exp $
 .\"
 .\" Copyright (c) 1996, 1997 Jonathan Stone.
 .\" All rights reserved.
@@ -28,7 +28,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 23, 2017
+.Dd February 26, 2021
 .Dt TC 4
 .Os
 .Sh NAME
@@ -72,8 +72,6 @@ PMAZ-DS, PMAZ-FS, PMAZB-AA and PMAZC-AA 
 .El
 .Ss Network interfaces
 .Bl -tag -width pcdisplay -offset indent
-.It fta
-PMAF-F DEFTA FDDI controller
 .It le
 LANCE Ethernet interface
 .El



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

2021-02-26 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Feb 26 10:56:48 UTC 2021

Modified Files:
src/share/man/man4/man4.i386: intro.4

Log Message:
Remove extremely outdated list of supported devices


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/share/man/man4/man4.i386/intro.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.i386/intro.4
diff -u src/share/man/man4/man4.i386/intro.4:1.31 src/share/man/man4/man4.i386/intro.4:1.32
--- src/share/man/man4/man4.i386/intro.4:1.31	Mon Jul  3 21:30:59 2017
+++ src/share/man/man4/man4.i386/intro.4	Fri Feb 26 10:56:48 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: intro.4,v 1.31 2017/07/03 21:30:59 wiz Exp $
+.\" $NetBSD: intro.4,v 1.32 2021/02/26 10:56:48 nia Exp $
 .\"
 .\" Copyright (c) 1997 Jonathan Stone
 .\" Copyright (c) 1994 Christopher G. Demetriou
@@ -33,7 +33,7 @@
 .\"
 .\" <>
 .\"
-.Dd February 17, 2017
+.Dd February 26, 2021
 .Dt INTRO 4 i386
 .Os
 .Sh NAME
@@ -164,126 +164,6 @@ console driver.
 .\"
 .\"
 .\"
-.Pp
-Disk, tape and SCSI devices:
-.Bl -tag -width speaker -offset indent -compact
-.It aha
-Adaptec 154x ISA SCSI adapter boards.
-.It ahb
-Adaptec 1742 EISA SCSI adapter boards.
-.It ahc
-Adaptec 274x, 284x, 2940 and 3940 VL/EISA/PCI SCSI adapter boards.
-.It aic
-Adaptec AIC-6260, Adaptec AIC-6360, Adaptec 152x, and SoundBlaster SCSI boards.
-.It bha
-Buslogic  BT-445 (ISA), BT-74x (EISA), and BT-9[45][68] (PCI) SCSI boards.
-.It mcd
-Mitsumi CD-ROM drives.
-.It ncr
-Symbios (formerly NCR) PCI SCSI adapter boards.
-.It pciide
-PCI IDE controllers.
-.It sea
-Seagate/Future Domain SCSI cards.
-ST01/02, Future Domain TMC-885, and Future Domain TMC-950.
-.It uha
-Ultrastor ISA and EISA SCSI adapter cards.
-Ultrastore 14f, Ultrastore 34f, and Ultrastore 24f.
-.It wdc
-Standard ISA Western Digital type hard drives controllers.
-MFM, RLL, ESDI, and IDE.
-.It wt
-Wangtek and compatible ISA controllers for QIC-02 and QIC-36 tapes.
-.El
-.\"
-.\"
-.\"
-.Pp
-Network interfaces:
-.Bl -tag -width speaker -offset indent -compact
-.It de
-Ethernet driver for dc21040, dc21042, and dc21140-based  10Mbit and 100Mbit
-PCI Ethernet adaptors, including DE-430, DE-450 DE-500, SMC EtherPower,
-and Znyx.
-.It fea, fpa
-FDDI driver for Digital DEFEA (EISA) and DEFPA FDDI adaptors.
-.It ed
-Western Digital/SMC 80x3 and Ultra, 3Com 3c503, and Novell NE1000 and 2000
-Ethernet interface
-.It eg
-3Com 3c505 Ethernet board.
-.It el
-3Com 3c501 Ethernet board.
-.It ep
-3Com EtherLink III (3c5x9) Ethernet interface
-.It ie
-Ethernet driver for the AT StarLAN 10, EN100, StarLan Fiber, and 3Com 3c507.
-.It iy
-Ethernet driver for the ISA Intel EtherExpress PR0/10  adaptor.
-.It le
-Ethernet driver for BICC Isolan, Novell NE2100,  Digital DEPCA cards,
-and PCnet-PCI cards.
-.It tl
-Ethernet driver for ThunderLAN-based Ethernet adaptor.
-.El
-.\"
-.\"
-.\"
-.Pp
-Serial communication cards:
-.Bl -tag -width speaker -offset indent -compact
-.It ast
-multiplexing serial communications card first made by AST.
-.It boca
-Boca BB100[48] and BB2016 multiplexing serial communications cards.
-NS8250-, NS16450-, and NS16550-based asynchronous serial
-communications device interface, or  internal modems that provide
-a serial-chip compatible interface.
-.It cy
-Cyclades Cyclom-4Y, -8Y, and -16Y asynchronous serial communications
-device interface
-.It rtfps
-a multiplexing serial communications card derived from IBM PC/RT hardware.
-.El
-.\"
-.\"
-.\"
-Sound cards:
-.Bl -tag -width speaker -offset indent -compact
-.It gus
-Gravis Ultrasound non-PnP soundcards.
-.It guspnp
-Gravis Ultrasound PnP soundcards.
-.It pas
-ProAudio Spectrum soundcards.
-.It pss
-Personal Sound System-compatible soundcards, including
-Cardinal Digital SoundPro 16 and Orchid Soundwave 32.
-.It sb
-Soundblaster, Soundblaster 16, and Soundblaster Pro soundcards.
-.It wss
-Windows Sound System-compatible sound cards based on the ad1848 chip.
-.El
-.\"
-.\"
-.\"
-.Pp
-Mouse and pointer devices:
-.Bl -tag -width speaker -offset indent -compact
-.It joy
-joystick game adaptor
-.It lms
-Logitech-style bus mouse device interface
-.It mms
-Microsoft-style bus mouse device interface
-.It pms
-PS/2 auxiliary port mouse device interface
-.El
-.Pp
-Serial mice can be configured on any supported serial port.
-.\"
-.\"
-.\"
 .Sh SEE ALSO
 .Xr config 1 ,
 .Xr i386/autoconf 4 ,



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

2021-02-26 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Feb 26 10:44:31 UTC 2021

Modified Files:
src/share/man/man8/man8.amiga: boot.8 installboot.8

Log Message:
More markup. New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man8/man8.amiga/boot.8
cvs rdiff -u -r1.24 -r1.25 src/share/man/man8/man8.amiga/installboot.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.amiga/boot.8
diff -u src/share/man/man8/man8.amiga/boot.8:1.17 src/share/man/man8/man8.amiga/boot.8:1.18
--- src/share/man/man8/man8.amiga/boot.8:1.17	Thu Feb 25 03:43:57 2021
+++ src/share/man/man8/man8.amiga/boot.8	Fri Feb 26 10:44:31 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: boot.8,v 1.17 2021/02/25 03:43:57 rin Exp $
+.\"	$NetBSD: boot.8,v 1.18 2021/02/26 10:44:31 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1991 The Regents of the University of California.
 .\" All rights reserved.
@@ -91,7 +91,6 @@ The command line looks like:
 .Op Fl n Ar memsegments
 .Op Fl I Ar mask
 .Ed
-.Pp
 .Bl -tag -width flag
 .It kernel-path
 This gives you the opportunity to boot another kernel, say:

Index: src/share/man/man8/man8.amiga/installboot.8
diff -u src/share/man/man8/man8.amiga/installboot.8:1.24 src/share/man/man8/man8.amiga/installboot.8:1.25
--- src/share/man/man8/man8.amiga/installboot.8:1.24	Thu Feb 25 03:43:57 2021
+++ src/share/man/man8/man8.amiga/installboot.8	Fri Feb 26 10:44:31 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: installboot.8,v 1.24 2021/02/25 03:43:57 rin Exp $
+.\"	$NetBSD: installboot.8,v 1.25 2021/02/26 10:44:31 wiz Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -40,7 +40,8 @@
 .Ar device
 .Sh DESCRIPTION
 .Nm installboot
-copies the bootblock to a bootable partition. The
+copies the bootblock to a bootable partition.
+The
 bootstrap is written into the bootblock area on the partition, right
 in front of the superblock, and hence limited in size to
 8192 bytes.
@@ -57,7 +58,8 @@ the operator from the boot menu (on Amig
 mouse buttons during boot; on DraCo machines, press the left mouse button
 when prompted).
 .Pp
-On RDB devices, the whole bootblock is loaded by the ROM. The number of
+On RDB devices, the whole bootblock is loaded by the ROM.
+The number of
 boot blocks in the RDB partition entry must be correct.
 .Pp
 On floppy disks, the ROM always loads the first two blocks (1024 bytes),
@@ -108,9 +110,9 @@ If
 is accidentally used on the whole disk partition, the RDB will be overwritten,
 making your system unusable after the next reboot.
 .Pp
-Some third-party accelerator boards are not autoconfiguring. You won't
-be able to use their memory when booting from the bootblock after a cold
-start.
+Some third-party accelerator boards are not autoconfiguring.
+You won't be able to use their memory when booting from the bootblock
+after a cold start.
 .Pp
 Some third-party disk controllers don't support bootblock booting.
 .Pp
@@ -118,7 +120,9 @@ DraCo ROMs don't support bootblock booti
 .Pp
 Most 68060 boards, unlike the DraCo, don't set the SysBase->AttnFlags
 bit for the 68060 CPU (a patch program which is called during
-AmigaOS startup does this). You need to add options BB060STUPIDROM
+AmigaOS startup does this).
+You need to add
+.Cd options BB060STUPIDROM
 to your kernel to boot on such a machine.
 .Pp
 There is currently no easy way to edit the RDB from within
@@ -128,6 +132,8 @@ set the partition to bootable, "use cust
 of bootblocks to 16 (for bootxx_ffsv1 or bootxx_ffsv2) or 2 (for bootxx_fd),
 at least the first time you install the bootblock.
 .Pp
-As normal dd is used to install the bootblock, you can only install onto
+As normal
+.Xr dd 1
+is used to install the bootblock, you can only install onto
 your currently used root (or any other mounted) partition from single-user
 mode, or while otherwise running in insecure mode.



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

2021-02-26 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Feb 26 10:33:46 UTC 2021

Modified Files:
src/share/man/man4/man4.evbarm: Makefile vcaudio.4
Added Files:
src/share/man/man4/man4.evbarm: vchiq.4

Log Message:
Add a manual page for vchiq(4)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/man4.evbarm/Makefile
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/man4.evbarm/vcaudio.4
cvs rdiff -u -r0 -r1.1 src/share/man/man4/man4.evbarm/vchiq.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.evbarm/Makefile
diff -u src/share/man/man4/man4.evbarm/Makefile:1.10 src/share/man/man4/man4.evbarm/Makefile:1.11
--- src/share/man/man4/man4.evbarm/Makefile:1.10	Fri Feb 26 09:20:58 2021
+++ src/share/man/man4/man4.evbarm/Makefile	Fri Feb 26 10:33:46 2021
@@ -1,7 +1,7 @@
-#	$NetBSD: Makefile,v 1.10 2021/02/26 09:20:58 nia Exp $
+#	$NetBSD: Makefile,v 1.11 2021/02/26 10:33:46 nia Exp $
 
 MAN=	awge.4 bcmgpio.4 cpsw.4 epgpio.4 gxio.4 intro.4 iopaau.4 iopwdog.4 \
-	rktsadc.4 vcaudio.4
+	rktsadc.4 vcaudio.4 vchiq.4
 
 MANSUBDIR=/evbarm
 

Index: src/share/man/man4/man4.evbarm/vcaudio.4
diff -u src/share/man/man4/man4.evbarm/vcaudio.4:1.1 src/share/man/man4/man4.evbarm/vcaudio.4:1.2
--- src/share/man/man4/man4.evbarm/vcaudio.4:1.1	Fri Feb 26 09:20:58 2021
+++ src/share/man/man4/man4.evbarm/vcaudio.4	Fri Feb 26 10:33:46 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: vcaudio.4,v 1.1 2021/02/26 09:20:58 nia Exp $
+.\" $NetBSD: vcaudio.4,v 1.2 2021/02/26 10:33:46 nia Exp $
 .\"
 .\" Copyright (c) 2021 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -54,7 +54,8 @@ The hardware does not support recording.
 .Sh SEE ALSO
 .Xr mixerctl 1 ,
 .Xr audio 4 ,
-.Xr mixer 4
+.Xr mixer 4 ,
+.Xr vchiq 4
 .Sh HISTORY
 The
 .Nm

Added files:

Index: src/share/man/man4/man4.evbarm/vchiq.4
diff -u /dev/null src/share/man/man4/man4.evbarm/vchiq.4:1.1
--- /dev/null	Fri Feb 26 10:33:46 2021
+++ src/share/man/man4/man4.evbarm/vchiq.4	Fri Feb 26 10:33:46 2021
@@ -0,0 +1,64 @@
+.\" $NetBSD: vchiq.4,v 1.1 2021/02/26 10:33:46 nia Exp $
+.\"
+.\" Copyright (c) 2021 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 February 26, 2021
+.Dt VCHIQ 4
+.Os
+.Sh NAME
+.Nm vchiq
+.Nd Broadcom VideoCore Host Interface device driver
+.Sh SYNOPSIS
+.Cd "vchiq* at simplebus?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the VideoCore 4 GPU messaging interface in
+Broadcom SoCs found in boards such as the Raspberry Pi.
+.Pp
+Libraries in pkgsrc provide OpenGL ES support and video decoding acceleration
+for the VideoCore 4 using the
+.Pa /dev/vchiq
+interface exposed to userland.
+.Pp
+Audio output support is provided by the kernel through
+.Xr vcaudio 4 ,
+which uses this messaging interface to the GPU internally.
+.Sh SEE ALSO
+.Xr bcmgpio 4 ,
+.Xr vcaudio 4 ,
+.Pa pkgsrc/misc/raspberrypi-userland ,
+.Pa pkgsrc/multimedia/omxplayer
+.Sh HISTORY
+The
+.Nm
+device driver appeared in
+.Nx 7.0 .
+.Sh BUGS
+.Pa /dev/vchiq
+does not follow the standard model for graphical acceleration on Unix-like
+systems, so applications have to be specially built to take advantage of it.
+The interface to userland also cannot be exposed by 64-bit or big endian
+kernels due to problems in the upstream Broadcom code.



CVS commit: src/share/man/man4

2021-02-26 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Feb 26 09:59:20 UTC 2021

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

Log Message:
usb.4: add usmsc(4)


To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/share/man/man4/usb.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/usb.4
diff -u src/share/man/man4/usb.4:1.115 src/share/man/man4/usb.4:1.116
--- src/share/man/man4/usb.4:1.115	Fri Feb 26 09:54:30 2021
+++ src/share/man/man4/usb.4	Fri Feb 26 09:59:19 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: usb.4,v 1.115 2021/02/26 09:54:30 nia Exp $
+.\" $NetBSD: usb.4,v 1.116 2021/02/26 09:59:19 nia Exp $
 .\"
 .\" Copyright (c) 1999-2014 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -113,6 +113,8 @@ Davicom DM9601 10/100 USB Ethernet devic
 Realtek RTL8150L 10/100 USB Ethernet device
 .It Xr urndis 4
 USB Remote NDIS Ethernet device
+.It Xr usmsc 4
+SMSC LAN95xx 10/100 USB Ethernet device
 .El
 .Ss Wireless network interfaces
 .Bl -tag -width 12n -offset ind -compact



CVS commit: src/share/man/man4

2021-02-26 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Feb 26 09:54:30 UTC 2021

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

Log Message:
usb.4: add mue(4)


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/share/man/man4/usb.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/usb.4
diff -u src/share/man/man4/usb.4:1.114 src/share/man/man4/usb.4:1.115
--- src/share/man/man4/usb.4:1.114	Fri Feb 26 09:51:43 2021
+++ src/share/man/man4/usb.4	Fri Feb 26 09:54:30 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: usb.4,v 1.114 2021/02/26 09:51:43 nia Exp $
+.\" $NetBSD: usb.4,v 1.115 2021/02/26 09:54:30 nia Exp $
 .\"
 .\" Copyright (c) 1999-2014 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -105,6 +105,8 @@ CATC USB-EL1201A USB Ethernet device
 Kawasaki LSI KL5KUSB101B USB Ethernet device
 .It Xr mos 4
 MosChip MCS7730/7830/7832 10/100 USB Ethernet device
+.It Xr mue 4
+Microchip LAN75xx/LAN78xx 10/100/Gigabit USB Ethernet device
 .It Xr udav 4
 Davicom DM9601 10/100 USB Ethernet device
 .It Xr url 4



  1   2   3   4   5   6   7   8   9   10   >