CVS commit: src/share/man/man4
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/mk
Module Name:src Committed By: mrg Date: Mon Aug 16 17:40:16 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: switch sh3 to GCC 10. buh bye GCC 9! thanks to everyone who helped (most espcially rin@.) To generate a diff of this commit: cvs rdiff -u -r1.1258 -r1.1259 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1258 src/share/mk/bsd.own.mk:1.1259 --- src/share/mk/bsd.own.mk:1.1258 Sun Jul 11 22:07:35 2021 +++ src/share/mk/bsd.own.mk Mon Aug 16 17:40:16 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1258 2021/07/11 22:07:35 mrg Exp $ +# $NetBSD: bsd.own.mk,v 1.1259 2021/08/16 17:40:16 mrg Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -72,11 +72,7 @@ TOOLCHAIN_MISSING?= no # # What GCC is used? # -.if ${MACHINE_CPU} != "sh3" HAVE_GCC?= 10 -.else -HAVE_GCC?= 9 -.endif # # Platforms that can't run a modern GCC natively
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Sun Aug 15 10:30:39 UTC 2021 Modified Files: src/share/mk: bsd.prog.mk Log Message: Fix sun2 build for ldap/gssapi To generate a diff of this commit: cvs rdiff -u -r1.337 -r1.338 src/share/mk/bsd.prog.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.prog.mk diff -u src/share/mk/bsd.prog.mk:1.337 src/share/mk/bsd.prog.mk:1.338 --- src/share/mk/bsd.prog.mk:1.337 Sat Aug 14 12:16:32 2021 +++ src/share/mk/bsd.prog.mk Sun Aug 15 06:30:39 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prog.mk,v 1.337 2021/08/14 16:16:32 christos Exp $ +# $NetBSD: bsd.prog.mk,v 1.338 2021/08/15 10:30:39 christos Exp $ # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 .ifndef HOSTPROG @@ -227,11 +227,13 @@ LIBKRB5_DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} \ ${LIBWIND} ${LIBHEIMBASE} ${LIBCOM_ERR} ${LIBROKEN} \ ${LIBSQLITE3} ${LIBM} ${LIBCRYPT} ${LIBUTIL} +LIBGSSAPI_LDADD+= -lgssapi -lheimntlm ${LIBKRB5_LDADD} +LIBGSSAPI_DPADD+= ${LIBGSSAPI} ${LIBHEIMNTLM} ${LIBKRB5_DPADD} .endif .if (${MKLDAP} != "no") -LIBLDAP_LDADD+= -lldap -llber -lgssapi -lssl -lcrypto -LIBLDAP_DPADD+= ${LIBLDAP} ${LIBLBER} ${LIBGSSAPI} ${LIBSSL} ${LIBCRYPTO} +LIBLDAP_LDADD+= -lldap -llber ${LIBGSSAPI_LDADD} -lssl -lcrypto +LIBLDAP_DPADD+= ${LIBLDAP} ${LIBLBER} ${LIBGSSAPI_DPADD} ${LIBSSL} ${LIBCRYPTO} .endif # PAM applications, if linked statically, need more libraries
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Sat Aug 14 16:16:32 UTC 2021 Modified Files: src/share/mk: bsd.prog.mk Log Message: Centralize the ldap libraries To generate a diff of this commit: cvs rdiff -u -r1.336 -r1.337 src/share/mk/bsd.prog.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.prog.mk diff -u src/share/mk/bsd.prog.mk:1.336 src/share/mk/bsd.prog.mk:1.337 --- src/share/mk/bsd.prog.mk:1.336 Thu Nov 12 12:53:43 2020 +++ src/share/mk/bsd.prog.mk Sat Aug 14 12:16:32 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prog.mk,v 1.336 2020/11/12 17:53:43 nia Exp $ +# $NetBSD: bsd.prog.mk,v 1.337 2021/08/14 16:16:32 christos Exp $ # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 .ifndef HOSTPROG @@ -229,6 +229,11 @@ LIBKRB5_DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBSQLITE3} ${LIBM} ${LIBCRYPT} ${LIBUTIL} .endif +.if (${MKLDAP} != "no") +LIBLDAP_LDADD+= -lldap -llber -lgssapi -lssl -lcrypto +LIBLDAP_DPADD+= ${LIBLDAP} ${LIBLBER} ${LIBGSSAPI} ${LIBSSL} ${LIBCRYPTO} +.endif + # PAM applications, if linked statically, need more libraries .if (${MKPIC} == "no") PAM_STATIC_LDADD+= -lssh
CVS commit: src/share/man/man9
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
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
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 @@ Unl
CVS commit: src/share/man/man9
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
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
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 &spi0 { -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 +&i2c2 { + ssdfb@3c { + compatible = "solomon,ssd1306fb-i2c"; + reg = <0x3c>; + status = "okay"; + }; }; .Ed .Sh SEE ALSO
CVS commit: src/share/man/man4
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 +&spi0 { +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
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
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
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/mk
Module Name:src Committed By: mrg Date: Sun Jul 11 22:07:35 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: switch Mesa 19 to use MesaLib.old subdir. To generate a diff of this commit: cvs rdiff -u -r1.1257 -r1.1258 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1257 src/share/mk/bsd.own.mk:1.1258 --- src/share/mk/bsd.own.mk:1.1257 Sat Jun 19 06:19:35 2021 +++ src/share/mk/bsd.own.mk Sun Jul 11 22:07:35 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1257 2021/06/19 06:19:35 mrg Exp $ +# $NetBSD: bsd.own.mk,v 1.1258 2021/07/11 22:07:35 mrg Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -1259,18 +1259,17 @@ MKDTB.earmv7hf= yes MKDTB.earmv7eb= yes MKDTB.earmv7hfeb= yes -# MesaLib.old and MesaLib7 go together, and MesaLib is alone. -HAVE_MESA_VER?= 18 -.if ${HAVE_MESA_VER} == "10" +HAVE_MESA_VER?= 19 +.if ${HAVE_MESA_VER} == 19 EXTERNAL_MESALIB_DIR?= MesaLib.old -.elif ${HAVE_MESA_VER} == "18" +.elif ${HAVE_MESA_VER} == 21 EXTERNAL_MESALIB_DIR?= MesaLib .endif -# Default to LLVM run-time if x86 or aarch64 and X11 and Mesa 18 +# Default to LLVM run-time if x86 or aarch64 and X11 and Mesa 18 or newer # XXX This knows that MKX11=no is default below, but would # require splitting the below loop in two parts. -.if ${MKX11:Uno} != "no" && ${HAVE_MESA_VER} == "18" +.if ${MKX11:Uno} != "no" && ${HAVE_MESA_VER} >= 19 MKLLVMRT.amd64= yes MKLLVMRT.i386= yes MKLLVMRT.aarch64= yes
CVS commit: src/share/mk
Module Name:src Committed By: mrg Date: Sun Jul 11 00:13:49 UTC 2021 Modified Files: src/share/mk: bsd.x11.mk Log Message: xorg-server is now 1.20.12. To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/share/mk/bsd.x11.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.x11.mk diff -u src/share/mk/bsd.x11.mk:1.139 src/share/mk/bsd.x11.mk:1.140 --- src/share/mk/bsd.x11.mk:1.139 Thu Jun 3 07:40:48 2021 +++ src/share/mk/bsd.x11.mk Sun Jul 11 00:13:49 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.x11.mk,v 1.139 2021/06/03 07:40:48 rin Exp $ +# $NetBSD: bsd.x11.mk,v 1.140 2021/07/11 00:13:49 mrg Exp $ .include @@ -133,7 +133,7 @@ XORG_SERVER_MINOR= 10 XORG_SERVER_TEENY= 6 .else XORG_SERVER_MINOR= 20 -XORG_SERVER_TEENY= 11 +XORG_SERVER_TEENY= 12 .endif XVENDORNAMESHORT= '"X.Org"'
CVS commit: src/share/examples/pud/intro
Module Name:src Committed By: jmcneill Date: Tue Jul 6 09:30:07 UTC 2021 Modified Files: src/share/examples/pud/intro: doioctl.c Log Message: build fix To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/examples/pud/intro/doioctl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/examples/pud/intro/doioctl.c diff -u src/share/examples/pud/intro/doioctl.c:1.1 src/share/examples/pud/intro/doioctl.c:1.2 --- src/share/examples/pud/intro/doioctl.c:1.1 Thu Nov 22 11:28:48 2007 +++ src/share/examples/pud/intro/doioctl.c Tue Jul 6 09:30:07 2021 @@ -1,10 +1,12 @@ -/* $NetBSD: doioctl.c,v 1.1 2007/11/22 11:28:48 pooka Exp $ */ +/* $NetBSD: doioctl.c,v 1.2 2021/07/06 09:30:07 jmcneill Exp $ */ #include #include +#include #include #include +#include #include "common.h"
CVS commit: src/share/man/man4
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
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
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
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
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
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/misc
Module Name:src Committed By: riastradh Date: Fri Jun 18 21:58:20 UTC 2021 Modified Files: src/share/misc: acronyms acronyms.comp Log Message: EEE: embrace, extend, extinguish; or eastern equine encephalitis To generate a diff of this commit: cvs rdiff -u -r1.309 -r1.310 src/share/misc/acronyms cvs rdiff -u -r1.323 -r1.324 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.309 src/share/misc/acronyms:1.310 --- src/share/misc/acronyms:1.309 Fri Apr 16 15:53:55 2021 +++ src/share/misc/acronyms Fri Jun 18 21:58:20 2021 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.309 2021/04/16 15:53:55 pgoyette Exp $ +$NetBSD: acronyms,v 1.310 2021/06/18 21:58:20 riastradh Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -143,6 +143,7 @@ DYK do you know? EA early adopter ECR electronic cash register EDS eternal downward spiral +EEE eastern equine encephalitis EFT electronic funds transfer EG evil grin EIE enough is enough Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.323 src/share/misc/acronyms.comp:1.324 --- src/share/misc/acronyms.comp:1.323 Fri Apr 16 15:53:55 2021 +++ src/share/misc/acronyms.comp Fri Jun 18 21:58:20 2021 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.323 2021/04/16 15:53:55 pgoyette Exp $ +$NetBSD: acronyms.comp,v 1.324 2021/06/18 21:58:20 riastradh Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -517,6 +517,7 @@ EDS electronical data sheet EDSAC electronic delay storage automatic calculator EDVAC electronic discrete variable automatic computer EEE energy efficient ethernet +EEE embrace, extend, extinguish EEPROM electrically erasable programmable read only memory EFI extensible firmware interface EFL emitter follower logic
CVS commit: src/share/man/man4/man4.sparc
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
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
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
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
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
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
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 third-part
CVS commit: src/share/man/man8
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/mk
Module Name:src Committed By: rin Date: Thu Jun 3 07:40:48 UTC 2021 Modified Files: src/share/mk: bsd.own.mk bsd.x11.mk Log Message: Switch amiga to Xorg server 1.20; wsfb(4) is only graphic driver both for 1.10 and 1.20 (Xamiga was gone a long ago...), and there is no reason to stay with 1.10. At least, 1.20 works fine on wsdisplay(4) at amidisplaycc(4). To generate a diff of this commit: cvs rdiff -u -r1.1255 -r1.1256 src/share/mk/bsd.own.mk cvs rdiff -u -r1.138 -r1.139 src/share/mk/bsd.x11.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1255 src/share/mk/bsd.own.mk:1.1256 --- src/share/mk/bsd.own.mk:1.1255 Sat May 29 12:25:08 2021 +++ src/share/mk/bsd.own.mk Thu Jun 3 07:40:48 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1255 2021/05/29 12:25:08 rin Exp $ +# $NetBSD: bsd.own.mk,v 1.1256 2021/06/03 07:40:48 rin Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -1580,7 +1580,6 @@ X11SRCDIR.${_proto}proto?= ${X11SRCDIRM # During transition from xorg-server 1.10 to 1.20 .if \ ${MACHINE} == "alpha" || \ -${MACHINE} == "amiga" || \ ${MACHINE} == "netwinder" || \ ${MACHINE} == "sgimips" || \ ${MACHINE} == "vax" Index: src/share/mk/bsd.x11.mk diff -u src/share/mk/bsd.x11.mk:1.138 src/share/mk/bsd.x11.mk:1.139 --- src/share/mk/bsd.x11.mk:1.138 Tue Apr 27 04:02:09 2021 +++ src/share/mk/bsd.x11.mk Thu Jun 3 07:40:48 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.x11.mk,v 1.138 2021/04/27 04:02:09 mrg Exp $ +# $NetBSD: bsd.x11.mk,v 1.139 2021/06/03 07:40:48 rin Exp $ .include @@ -82,7 +82,6 @@ X11FLAGS.OS_DEFINES= -DDDXOSINIT -DSERVE -DDDXOSVERRORF -DDDXTIME -DUSB_HID .if !(${MACHINE} == "acorn32" || \ -${MACHINE} == "amiga" || \ ${MACHINE} == "pmax" || \ ${MACHINE} == "sun3" || \ ${MACHINE} == "x68k" || \
CVS commit: src/share/man/man4
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/mk
Module Name:src Committed By: jmcneill Date: Wed Jun 2 10:28:21 UTC 2021 Modified Files: src/share/mk: bsd.dtb.mk Log Message: Add support for installing a copy of dtb files to the base dtb directory when DTBSUBDIR is defined. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/mk/bsd.dtb.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.dtb.mk diff -u src/share/mk/bsd.dtb.mk:1.2 src/share/mk/bsd.dtb.mk:1.3 --- src/share/mk/bsd.dtb.mk:1.2 Tue May 19 08:59:36 2020 +++ src/share/mk/bsd.dtb.mk Wed Jun 2 10:28:21 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.dtb.mk,v 1.2 2020/05/19 08:59:36 rin Exp $ +# $NetBSD: bsd.dtb.mk,v 1.3 2021/06/02 10:28:21 jmcneill Exp $ .include .include @@ -71,11 +71,24 @@ dtbinstall: dtb ${INSTALL_FILE} -o ${DTBOWN} -g ${DTBGRP} -m ${DTBMODE} \ ${.OBJDIR}/${_dtb} ${DESTDIR}${DTBINSTDIR} .endfor +.if defined(DTSSUBDIR) +.for _dtb in ${DTB_NOSUBDIR} + ${_MKSHMSG_INSTALL} ${_dtb} + ${_MKSHECHO} "${INSTALL_FILE} -o ${DTBOWN} -g ${DTBGRP} -m ${DTBMODE} \ + ${.OBJDIR}/${_dtb} ${DESTDIR}${DTBDIR}" + ${INSTALL_FILE} -o ${DTBOWN} -g ${DTBGRP} -m ${DTBMODE} \ + ${.OBJDIR}/${_dtb} ${DESTDIR}${DTBDIR} +.endfor +.endif dtblist: .if defined(DTSSUBDIR) @echo ".${DTBINSTDIR}\t\tdtb-base-boot\tdtb" | \ ${TOOL_SED} 's/\\t/ /g' +.for _dtb in ${DTB_NOSUBDIR} + @echo ".${DTBDIR}/${_dtb}\t\tdtb-base-boot\tdtb" | \ + ${TOOL_SED} 's/\\t/ /g' +.endfor .endif .for _dtb in ${DTB} @echo ".${DTBINSTDIR}/${_dtb}\t\tdtb-base-boot\tdtb" | \
CVS commit: src/share/man/man9
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
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
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/mk
Module Name:src Committed By: rin Date: Sat May 29 12:25:08 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: Switch mac68k to Xorg server 1.20. Only available driver is wsfb(4) both for 1.10 and 1.20, and there is no reason to stay with 1.10. XXX 1.20 works fine on WSFB* kernels with genfb(4), whereas both 1.10 and 1.20 fail for GENERIC* kernels with macfb(4) as some mandatory ioctl's are missing. It would be better to make genfb(4) default before netbsd-10 is branched. To generate a diff of this commit: cvs rdiff -u -r1.1254 -r1.1255 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1254 src/share/mk/bsd.own.mk:1.1255 --- src/share/mk/bsd.own.mk:1.1254 Thu May 27 21:02:56 2021 +++ src/share/mk/bsd.own.mk Sat May 29 12:25:08 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1254 2021/05/27 21:02:56 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.1255 2021/05/29 12:25:08 rin Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -1581,7 +1581,6 @@ X11SRCDIR.${_proto}proto?= ${X11SRCDIRM .if \ ${MACHINE} == "alpha" || \ ${MACHINE} == "amiga" || \ -${MACHINE} == "mac68k" || \ ${MACHINE} == "netwinder" || \ ${MACHINE} == "sgimips" || \ ${MACHINE} == "vax"
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Thu May 27 21:02:56 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: mips has switched already. To generate a diff of this commit: cvs rdiff -u -r1.1253 -r1.1254 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1253 src/share/mk/bsd.own.mk:1.1254 --- src/share/mk/bsd.own.mk:1.1253 Thu May 27 16:29:24 2021 +++ src/share/mk/bsd.own.mk Thu May 27 17:02:56 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1253 2021/05/27 20:29:24 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.1254 2021/05/27 21:02:56 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -78,7 +78,6 @@ TOOLCHAIN_MISSING?= no ${MACHINE} == "sparc" || \ ${MACHINE} == "sparc64" || \ ${MACHINE} == "vax" || \ -${MACHINE_MIPS64} || \ ${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "x86_64" || \ ${MACHINE_CPU} == "aarch64" || \
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Thu May 27 20:29:24 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: mips64 only works with gcc-10 To generate a diff of this commit: cvs rdiff -u -r1.1252 -r1.1253 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1252 src/share/mk/bsd.own.mk:1.1253 --- src/share/mk/bsd.own.mk:1.1252 Thu May 27 13:41:28 2021 +++ src/share/mk/bsd.own.mk Thu May 27 16:29:24 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1252 2021/05/27 17:41:28 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.1253 2021/05/27 20:29:24 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -78,6 +78,7 @@ TOOLCHAIN_MISSING?= no ${MACHINE} == "sparc" || \ ${MACHINE} == "sparc64" || \ ${MACHINE} == "vax" || \ +${MACHINE_MIPS64} || \ ${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "x86_64" || \ ${MACHINE_CPU} == "aarch64" || \
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Thu May 27 17:41:28 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: switch to MACHINE_ARCH i386 to include xen (thanks mlelstv) To generate a diff of this commit: cvs rdiff -u -r1.1251 -r1.1252 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1251 src/share/mk/bsd.own.mk:1.1252 --- src/share/mk/bsd.own.mk:1.1251 Thu May 27 13:13:20 2021 +++ src/share/mk/bsd.own.mk Thu May 27 13:41:28 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1251 2021/05/27 17:13:20 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.1252 2021/05/27 17:41:28 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -74,12 +74,11 @@ TOOLCHAIN_MISSING?= no # .if ${MACHINE} == "alpha" || \ ${MACHINE} == "hppa" || \ -${MACHINE} == "i386" || \ -${MACHINE} == "xen" || \ ${MACHINE} == "ia64" || \ ${MACHINE} == "sparc" || \ ${MACHINE} == "sparc64" || \ ${MACHINE} == "vax" || \ +${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "x86_64" || \ ${MACHINE_CPU} == "aarch64" || \ ${MACHINE_CPU} == "mips" || \
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Thu May 27 17:13:20 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: Switch "xen" to gcc 10 too, otherwise xen kernel builds fail because they "think" we have gcc-9 where we have gcc-10 in reality (since MACHINE=xen), and we don't add ${GCC_NO_RETURN_LOCAL_ADDR} COPTS.in_pcb.c To generate a diff of this commit: cvs rdiff -u -r1.1250 -r1.1251 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1250 src/share/mk/bsd.own.mk:1.1251 --- src/share/mk/bsd.own.mk:1.1250 Thu May 27 07:24:58 2021 +++ src/share/mk/bsd.own.mk Thu May 27 13:13:20 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1250 2021/05/27 11:24:58 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.1251 2021/05/27 17:13:20 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -75,6 +75,7 @@ TOOLCHAIN_MISSING?= no .if ${MACHINE} == "alpha" || \ ${MACHINE} == "hppa" || \ ${MACHINE} == "i386" || \ +${MACHINE} == "xen" || \ ${MACHINE} == "ia64" || \ ${MACHINE} == "sparc" || \ ${MACHINE} == "sparc64" || \
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Thu May 27 11:24:58 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: remove dup line (thanks rillig) To generate a diff of this commit: cvs rdiff -u -r1.1249 -r1.1250 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1249 src/share/mk/bsd.own.mk:1.1250 --- src/share/mk/bsd.own.mk:1.1249 Thu May 27 02:58:27 2021 +++ src/share/mk/bsd.own.mk Thu May 27 07:24:58 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1249 2021/05/27 06:58:27 mrg Exp $ +# $NetBSD: bsd.own.mk,v 1.1250 2021/05/27 11:24:58 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -425,7 +425,6 @@ MKDEPCXX= CC=${CXX:Q} ${TOOLDIR}/bin/${_ PAXCTL= ${TOOLDIR}/bin/${_TOOL_PREFIX}paxctl TSORT= ${TOOLDIR}/bin/${_TOOL_PREFIX}tsort -q YACC= ${TOOLDIR}/bin/${_TOOL_PREFIX}yacc -YACC= ${TOOLDIR}/bin/${_TOOL_PREFIX}yacc TOOL_AMIGAAOUT2BB= ${TOOLDIR}/bin/${_TOOL_PREFIX}amiga-aout2bb TOOL_AMIGAELF2BB= ${TOOLDIR}/bin/${_TOOL_PREFIX}amiga-elf2bb
CVS commit: src/share/man/man4
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
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/mk
Module Name:src Committed By: christos Date: Wed May 26 20:21:25 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: Add date as a tool To generate a diff of this commit: cvs rdiff -u -r1.1247 -r1.1248 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1247 src/share/mk/bsd.own.mk:1.1248 --- src/share/mk/bsd.own.mk:1.1247 Thu May 6 09:23:36 2021 +++ src/share/mk/bsd.own.mk Wed May 26 16:21:25 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1247 2021/05/06 13:23:36 rin Exp $ +# $NetBSD: bsd.own.mk,v 1.1248 2021/05/26 20:21:25 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -423,6 +423,7 @@ MKDEPCXX= CC=${CXX:Q} ${TOOLDIR}/bin/${_ PAXCTL= ${TOOLDIR}/bin/${_TOOL_PREFIX}paxctl TSORT= ${TOOLDIR}/bin/${_TOOL_PREFIX}tsort -q YACC= ${TOOLDIR}/bin/${_TOOL_PREFIX}yacc +YACC= ${TOOLDIR}/bin/${_TOOL_PREFIX}yacc TOOL_AMIGAAOUT2BB= ${TOOLDIR}/bin/${_TOOL_PREFIX}amiga-aout2bb TOOL_AMIGAELF2BB= ${TOOLDIR}/bin/${_TOOL_PREFIX}amiga-elf2bb @@ -440,6 +441,7 @@ TOOL_CTAGS= ${TOOLDIR}/bin/${_TOOL_PREF TOOL_CTFCONVERT= ${TOOLDIR}/bin/${_TOOL_PREFIX}ctfconvert TOOL_CTFMERGE= ${TOOLDIR}/bin/${_TOOL_PREFIX}ctfmerge TOOL_CVSLATEST= ${TOOLDIR}/bin/${_TOOL_PREFIX}cvslatest +TOOL_DATE= ${TOOLDIR}/bin/${_TOOL_PREFIX}date TOOL_DB= ${TOOLDIR}/bin/${_TOOL_PREFIX}db TOOL_DISKLABEL= ${TOOLDIR}/bin/${_TOOL_PREFIX}disklabel TOOL_DTC= ${TOOLDIR}/bin/${_TOOL_PREFIX}dtc @@ -562,6 +564,7 @@ TOOL_CTAGS= ctags TOOL_CTFCONVERT= ctfconvert TOOL_CTFMERGE= ctfmerge TOOL_CVSLATEST= cvslatest +TOOL_DATE= date TOOL_DB= db TOOL_DISKLABEL= disklabel TOOL_DTC= dtc
CVS commit: src/share/man/man4
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
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
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
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
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/mk
Module Name:src Committed By: mrg Date: Tue Apr 27 04:02:09 UTC 2021 Modified Files: src/share/mk: bsd.x11.mk Log Message: xorg-server 1.20.11 is now current. To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138 src/share/mk/bsd.x11.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.x11.mk diff -u src/share/mk/bsd.x11.mk:1.137 src/share/mk/bsd.x11.mk:1.138 --- src/share/mk/bsd.x11.mk:1.137 Sat Dec 5 22:44:57 2020 +++ src/share/mk/bsd.x11.mk Tue Apr 27 04:02:09 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.x11.mk,v 1.137 2020/12/05 22:44:57 mrg Exp $ +# $NetBSD: bsd.x11.mk,v 1.138 2021/04/27 04:02:09 mrg Exp $ .include @@ -134,7 +134,7 @@ XORG_SERVER_MINOR= 10 XORG_SERVER_TEENY= 6 .else XORG_SERVER_MINOR= 20 -XORG_SERVER_TEENY= 10 +XORG_SERVER_TEENY= 11 .endif XVENDORNAMESHORT= '"X.Org"'
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Mon Apr 26 00:38:23 UTC 2021 Modified Files: src/share/mk: bsd.sys.mk Log Message: Revert the AFLAGS change since it affects kernels. To generate a diff of this commit: cvs rdiff -u -r1.305 -r1.306 src/share/mk/bsd.sys.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.sys.mk diff -u src/share/mk/bsd.sys.mk:1.305 src/share/mk/bsd.sys.mk:1.306 --- src/share/mk/bsd.sys.mk:1.305 Sun Apr 25 10:32:20 2021 +++ src/share/mk/bsd.sys.mk Sun Apr 25 20:38:23 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.sys.mk,v 1.305 2021/04/25 14:32:20 christos Exp $ +# $NetBSD: bsd.sys.mk,v 1.306 2021/04/26 00:38:23 christos Exp $ # # Build definitions used for NetBSD source tree builds. @@ -197,12 +197,10 @@ COPTS+= ${${ACTIVE_CC} == "gcc":? --para .if ${MACHINE_CPU} != "sh3" COPTS+= ${${ACTIVE_CC} == "gcc":? -msoft-float :} FOPTS+= -msoft-float -AFLAGS+= -msoft-float .endif .elif ${MACHINE_ARCH} == "coldfire" COPTS+= -mhard-float FOPTS+= -mhard-float -AFLAGS+= -mhard-float .endif #.if !empty(MACHINE_ARCH:Mearmv7*)
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Sun Apr 25 21:55:58 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: make MACHINE_MIPS a boolean not a condition To generate a diff of this commit: cvs rdiff -u -r1.1245 -r1.1246 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1245 src/share/mk/bsd.own.mk:1.1246 --- src/share/mk/bsd.own.mk:1.1245 Sun Apr 25 11:33:15 2021 +++ src/share/mk/bsd.own.mk Sun Apr 25 17:55:58 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1245 2021/04/25 15:33:15 rin Exp $ +# $NetBSD: bsd.own.mk,v 1.1246 2021/04/25 21:55:58 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -16,10 +16,14 @@ MAKECONF?= /etc/mk.conf # MACHINE_CPU= ${MACHINE_ARCH:C/mips.*e[bl]/mips/:C/sh3e[bl]/sh3/:S/coldfire/m68k/:S/m68000/m68k/:C/e?arm.*/arm/:S/powerpc64/powerpc/:S/aarch64eb/aarch64/:S/or1knd/or1k/:C/riscv../riscv/} -MACHINE_MIPS64= (${MACHINE_ARCH} == "mips64el" || \ - ${MACHINE_ARCH} == "mips64eb" || \ - ${MACHINE_ARCH} == "mipsn64el" || \ - ${MACHINE_ARCH} == "mipsn64eb") +.if (${MACHINE_ARCH} == "mips64el" || \ + ${MACHINE_ARCH} == "mips64eb" || \ + ${MACHINE_ARCH} == "mipsn64el" || \ + ${MACHINE_ARCH} == "mipsn64eb") +MACHINE_MIPS64= 1 +.else +MACHINE_MIPS64= 0 +.endif # # Subdirectory used below ${RELEASEDIR} when building a release
CVS commit: src/share/mk
Module Name:src Committed By: rin Date: Sun Apr 25 15:33:15 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: Add missing \ for previous. To generate a diff of this commit: cvs rdiff -u -r1.1244 -r1.1245 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1244 src/share/mk/bsd.own.mk:1.1245 --- src/share/mk/bsd.own.mk:1.1244 Sun Apr 25 14:32:20 2021 +++ src/share/mk/bsd.own.mk Sun Apr 25 15:33:15 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1244 2021/04/25 14:32:20 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.1245 2021/04/25 15:33:15 rin Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -1044,7 +1044,7 @@ MK${var}:= yes # aarch64eb is not yet supported. # .if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "sparc64" \ -|| ${MACHINE_MIPS64} +|| ${MACHINE_MIPS64} \ || ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "aarch64" \ || ${MACHINE_ARCH} == "riscv64" || !empty(MACHINE_ARCH:Mearm*) MKCOMPAT?= yes
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Sun Apr 25 14:32:20 UTC 2021 Modified Files: src/share/mk: bsd.own.mk bsd.sys.mk Log Message: - since we are using regex already, shorten by merging arm and mips entries - add a MACHINE_MIPS64 macro shorthand - pass -m{soft,hard}-float to the assembler when we are passing it to the compiler To generate a diff of this commit: cvs rdiff -u -r1.1243 -r1.1244 src/share/mk/bsd.own.mk cvs rdiff -u -r1.304 -r1.305 src/share/mk/bsd.sys.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1243 src/share/mk/bsd.own.mk:1.1244 --- src/share/mk/bsd.own.mk:1.1243 Sun Apr 25 04:01:54 2021 +++ src/share/mk/bsd.own.mk Sun Apr 25 10:32:20 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1243 2021/04/25 08:01:54 mrg Exp $ +# $NetBSD: bsd.own.mk,v 1.1244 2021/04/25 14:32:20 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -14,7 +14,12 @@ MAKECONF?= /etc/mk.conf # # CPU model, derived from MACHINE_ARCH # -MACHINE_CPU= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/mips64e[bl]/mips/:C/sh3e[bl]/sh3/:S/coldfire/m68k/:S/m68000/m68k/:C/arm.*/arm/:C/earm.*/arm/:S/earm/arm/:S/powerpc64/powerpc/:S/aarch64eb/aarch64/:S/or1knd/or1k/:C/riscv../riscv/} +MACHINE_CPU= ${MACHINE_ARCH:C/mips.*e[bl]/mips/:C/sh3e[bl]/sh3/:S/coldfire/m68k/:S/m68000/m68k/:C/e?arm.*/arm/:S/powerpc64/powerpc/:S/aarch64eb/aarch64/:S/or1knd/or1k/:C/riscv../riscv/} + +MACHINE_MIPS64= (${MACHINE_ARCH} == "mips64el" || \ + ${MACHINE_ARCH} == "mips64eb" || \ + ${MACHINE_ARCH} == "mipsn64el" || \ + ${MACHINE_ARCH} == "mipsn64eb") # # Subdirectory used below ${RELEASEDIR} when building a release @@ -1039,7 +1044,7 @@ MK${var}:= yes # aarch64eb is not yet supported. # .if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "sparc64" \ -|| ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el" \ +|| ${MACHINE_MIPS64} || ${MACHINE_ARCH} == "powerpc64" || ${MACHINE_ARCH} == "aarch64" \ || ${MACHINE_ARCH} == "riscv64" || !empty(MACHINE_ARCH:Mearm*) MKCOMPAT?= yes @@ -1053,7 +1058,7 @@ MKCOMPATTESTS:= no MKCOMPATX11:= no .endif -.if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el" \ +.if ${MACHINE_MIPS64} \ || (${MACHINE} == "evbppc" && ${MACHINE_ARCH} == "powerpc") MKCOMPATMODULES?= yes .else @@ -1063,7 +1068,7 @@ MKCOMPATMODULES:= no # # These platforms use softfloat by default. # -.if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el" +.if ${MACHINE_MIPS64} MKSOFTFLOAT?= yes .endif Index: src/share/mk/bsd.sys.mk diff -u src/share/mk/bsd.sys.mk:1.304 src/share/mk/bsd.sys.mk:1.305 --- src/share/mk/bsd.sys.mk:1.304 Mon Nov 9 11:15:05 2020 +++ src/share/mk/bsd.sys.mk Sun Apr 25 10:32:20 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.sys.mk,v 1.304 2020/11/09 16:15:05 christos Exp $ +# $NetBSD: bsd.sys.mk,v 1.305 2021/04/25 14:32:20 christos Exp $ # # Build definitions used for NetBSD source tree builds. @@ -197,10 +197,12 @@ COPTS+= ${${ACTIVE_CC} == "gcc":? --para .if ${MACHINE_CPU} != "sh3" COPTS+= ${${ACTIVE_CC} == "gcc":? -msoft-float :} FOPTS+= -msoft-float +AFLAGS+= -msoft-float .endif .elif ${MACHINE_ARCH} == "coldfire" COPTS+= -mhard-float FOPTS+= -mhard-float +AFLAGS+= -mhard-float .endif #.if !empty(MACHINE_ARCH:Mearmv7*) @@ -220,7 +222,7 @@ CFLAGS+= -Wa,-Av8plus .endif .if !defined(NOGCCERROR) -.if (${MACHINE_ARCH} == "mips64el") || (${MACHINE_ARCH} == "mips64eb") +.if ${MACHINE_MIPS64} CPUFLAGS+= -Wa,--fatal-warnings .endif .endif @@ -229,8 +231,7 @@ CPUFLAGS+= -Wa,--fatal-warnings #CFLAGS+= -mips64 -mtune=sb1 #.endif -#.if (${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb") && \ -#(defined(MKPIC) && ${MKPIC} == "no") +#.if ${MACHINE_MIPS64} && defined(MKPIC) && ${MKPIC} == "no" #CPUFLAGS+= -mno-abicalls -fno-PIC #.endif CFLAGS+= ${CPUFLAGS}
CVS commit: src/share/man/man8
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
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
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/mk
Module Name:src Committed By: skrll Date: Sun Apr 18 20:32:49 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: Switch hppa to gcc 10 To generate a diff of this commit: cvs rdiff -u -r1.1241 -r1.1242 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1241 src/share/mk/bsd.own.mk:1.1242 --- src/share/mk/bsd.own.mk:1.1241 Sat Apr 17 09:39:33 2021 +++ src/share/mk/bsd.own.mk Sun Apr 18 20:32:49 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1241 2021/04/17 09:39:33 mlelstv Exp $ +# $NetBSD: bsd.own.mk,v 1.1242 2021/04/18 20:32:49 skrll Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -65,6 +65,7 @@ TOOLCHAIN_MISSING?= no # .if ${MACHINE} == "alpha" || \ ${MACHINE_ARCH} == "x86_64" || \ +${MACHINE} == "hppa" || \ ${MACHINE} == "ia64" || \ ${MACHINE} == "sparc" || \ ${MACHINE} == "sparc64" || \
CVS commit: src/share/mk
Module Name:src Committed By: mlelstv Date: Sat Apr 17 09:39:33 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: Use GCC10 for all amd64 including XEN kernels. To generate a diff of this commit: cvs rdiff -u -r1.1240 -r1.1241 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1240 src/share/mk/bsd.own.mk:1.1241 --- src/share/mk/bsd.own.mk:1.1240 Sat Apr 17 04:07:16 2021 +++ src/share/mk/bsd.own.mk Sat Apr 17 09:39:33 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1240 2021/04/17 04:07:16 mrg Exp $ +# $NetBSD: bsd.own.mk,v 1.1241 2021/04/17 09:39:33 mlelstv Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -64,7 +64,7 @@ TOOLCHAIN_MISSING?= no # What GCC is used? # .if ${MACHINE} == "alpha" || \ -${MACHINE} == "amd64" || \ +${MACHINE_ARCH} == "x86_64" || \ ${MACHINE} == "ia64" || \ ${MACHINE} == "sparc" || \ ${MACHINE} == "sparc64" || \
CVS commit: src/share/misc
Module Name:src Committed By: pgoyette Date: Fri Apr 16 15:53:56 UTC 2021 Modified Files: src/share/misc: acronyms acronyms.comp Log Message: Add a couple definitions for RPG To generate a diff of this commit: cvs rdiff -u -r1.308 -r1.309 src/share/misc/acronyms cvs rdiff -u -r1.322 -r1.323 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms diff -u src/share/misc/acronyms:1.308 src/share/misc/acronyms:1.309 --- src/share/misc/acronyms:1.308 Mon Oct 5 14:54:50 2020 +++ src/share/misc/acronyms Fri Apr 16 15:53:55 2021 @@ -1,4 +1,4 @@ -$NetBSD: acronyms,v 1.308 2020/10/05 14:54:50 nia Exp $ +$NetBSD: acronyms,v 1.309 2021/04/16 15:53:55 pgoyette Exp $ 10Q thank you 10X thanks 1337 elite ("leet") @@ -502,6 +502,7 @@ ROM rough order of magnitude ROI return on investment ROTFL rolling on the floor laughing RP responsible person +RPG rocket-propelled grenade RR railroad RSI repetitive strain injury RSN real soon now Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.322 src/share/misc/acronyms.comp:1.323 --- src/share/misc/acronyms.comp:1.322 Sun Mar 28 17:52:09 2021 +++ src/share/misc/acronyms.comp Fri Apr 16 15:53:55 2021 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.322 2021/03/28 17:52:09 nia Exp $ +$NetBSD: acronyms.comp,v 1.323 2021/04/16 15:53:55 pgoyette Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -1367,6 +1367,7 @@ RMW read, modify, write RNG random number generator ROM read only memory RPC remote procedure call +RPG Report Program Generator RPKI resource PKI RPL requested privilege level RPM revolutions per minute
CVS commit: src/share/man/man3
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
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/mk
Module Name:src Committed By: mrg Date: Mon Apr 12 04:18:38 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: add GCC_NO_IMPLICIT_FALLTHRU, GCC_NO_MAYBE_UNINITIALIZED, and GCC_NO_RETURN_LOCAL_ADDR. To generate a diff of this commit: cvs rdiff -u -r1.1238 -r1.1239 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1238 src/share/mk/bsd.own.mk:1.1239 --- src/share/mk/bsd.own.mk:1.1238 Sat Apr 10 00:35:24 2021 +++ src/share/mk/bsd.own.mk Mon Apr 12 04:18:38 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1238 2021/04/10 00:35:24 mrg Exp $ +# $NetBSD: bsd.own.mk,v 1.1239 2021/04/12 04:18:38 mrg Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -859,9 +859,12 @@ NOPROFILE= # defined GCC_NO_FORMAT_TRUNCATION= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 7:? -Wno-format-truncation :} GCC_NO_FORMAT_OVERFLOW= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 7:? -Wno-format-overflow :} GCC_NO_STRINGOP_OVERFLOW= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 7:? -Wno-stringop-overflow :} +GCC_NO_IMPLICIT_FALLTHRU= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 7:? -Wno-implicit-fallthrough :} GCC_NO_STRINGOP_TRUNCATION= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 8:? -Wno-stringop-truncation :} GCC_NO_CAST_FUNCTION_TYPE= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 8:? -Wno-cast-function-type :} -GCC_NO_ADDR_OF_PACKED_MEMBER= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=address-of-packed-member :} +GCC_NO_ADDR_OF_PACKED_MEMBER= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-address-of-packed-member :} +GCC_NO_MAYBE_UNINITIALIZED= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-maybe-uninitialized :} +GCC_NO_RETURN_LOCAL_ADDR= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-return-local-addr :} # # Clang warnings
CVS commit: src/share/man/man4
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
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/mk
Module Name:src Committed By: mrg Date: Sat Apr 10 00:35:25 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: switch HAVE_GCC=9 to gcc.old. To generate a diff of this commit: cvs rdiff -u -r1.1237 -r1.1238 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1237 src/share/mk/bsd.own.mk:1.1238 --- src/share/mk/bsd.own.mk:1.1237 Wed Mar 31 06:35:35 2021 +++ src/share/mk/bsd.own.mk Sat Apr 10 00:35:24 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1237 2021/03/31 06:35:35 simonb Exp $ +# $NetBSD: bsd.own.mk,v 1.1238 2021/04/10 00:35:24 mrg Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -75,9 +75,9 @@ MKGCCCMDS?= no # We import the old gcc as "gcc.old" when upgrading. EXTERNAL_GCC_SUBDIR is # set to the relevant subdirectory in src/external/gpl3 for his HAVE_GCC. # -.if ${HAVE_GCC} == 8 +.if ${HAVE_GCC} == 9 EXTERNAL_GCC_SUBDIR?= gcc.old -.elif ${HAVE_GCC} == 9 +.elif ${HAVE_GCC} == 10 EXTERNAL_GCC_SUBDIR?= gcc .else EXTERNAL_GCC_SUBDIR?= /does/not/exist
CVS commit: src/share/man/man4
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/mk
Module Name:src Committed By: simonb Date: Wed Mar 31 06:35:35 UTC 2021 Modified Files: src/share/mk: bsd.own.mk Log Message: Reenable kernel modules for MIPS now that they work. To generate a diff of this commit: cvs rdiff -u -r1.1236 -r1.1237 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.1236 src/share/mk/bsd.own.mk:1.1237 --- src/share/mk/bsd.own.mk:1.1236 Sun Mar 7 10:42:26 2021 +++ src/share/mk/bsd.own.mk Wed Mar 31 06:35:35 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.1236 2021/03/07 10:42:26 rin Exp $ +# $NetBSD: bsd.own.mk,v 1.1237 2021/03/31 06:35:35 simonb Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -833,10 +833,6 @@ MKGDB.riscv64= no MKKMOD.or1k= no MKKMOD.riscv32= no MKKMOD.riscv64= no -MKKMOD.mipsel= no -MKKMOD.mipseb= no -MKKMOD.mips64el=no -MKKMOD.mips64eb=no # No profiling for or1k (yet) MKPROFILE.or1k= no
CVS commit: src/share/man/man4
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/mk
Module Name:src Committed By: simonb Date: Mon Mar 29 05:22:50 UTC 2021 Modified Files: src/share/mk: bsd.kmodule.mk Log Message: On MIPS if we compile C files as N64, compile assembly with the same ABI. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/share/mk/bsd.kmodule.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.kmodule.mk diff -u src/share/mk/bsd.kmodule.mk:1.75 src/share/mk/bsd.kmodule.mk:1.76 --- src/share/mk/bsd.kmodule.mk:1.75 Tue Mar 23 13:22:40 2021 +++ src/share/mk/bsd.kmodule.mk Mon Mar 29 05:22:49 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.kmodule.mk,v 1.75 2021/03/23 13:22:40 simonb Exp $ +# $NetBSD: bsd.kmodule.mk,v 1.76 2021/03/29 05:22:49 simonb Exp $ # We are not building this with PIE MKPIE=no @@ -57,9 +57,11 @@ CFLAGS+= -fno-pic CFLAGS+= -fPIC -Wa,-fno-pic .elif ${MACHINE_ARCH} == "mips64eb" && !defined(BSD_MK_COMPAT_FILE) CFLAGS+= -mabi=64 +AFLAGS+= -mabi=64 LDFLAGS+= -Wl,-m,elf64btsmip .elif ${MACHINE_ARCH} == "mips64el" && !defined(BSD_MK_COMPAT_FILE) CFLAGS+= -mabi=64 +AFLAGS+= -mabi=64 LDFLAGS+= -Wl,-m,elf64ltsmip .endif
CVS commit: src/share/misc
Module Name:src Committed By: nia Date: Sun Mar 28 17:52:09 UTC 2021 Modified Files: src/share/misc: acronyms.comp Log Message: DRM To generate a diff of this commit: cvs rdiff -u -r1.321 -r1.322 src/share/misc/acronyms.comp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/acronyms.comp diff -u src/share/misc/acronyms.comp:1.321 src/share/misc/acronyms.comp:1.322 --- src/share/misc/acronyms.comp:1.321 Fri Feb 12 08:56:04 2021 +++ src/share/misc/acronyms.comp Sun Mar 28 17:52:09 2021 @@ -1,4 +1,4 @@ -$NetBSD: acronyms.comp,v 1.321 2021/02/12 08:56:04 leot Exp $ +$NetBSD: acronyms.comp,v 1.322 2021/03/28 17:52:09 nia Exp $ 3WHS three-way handshake 8VSB 8-state vestigial side band modulation AA anti-aliasing @@ -446,6 +446,7 @@ DRAM dynamic random access memory DRBG deterministic random bit generator DRI direct rendering infrastructure DRM digital rights management +DRM direct rendering manager DRRS display refresh rate switching DS debug store DS differentiated services
CVS commit: src/share/misc
Module Name:src Committed By: christos Date: Sun Mar 28 14:28:56 UTC 2021 Modified Files: src/share/misc: style Log Message: Clarify and explain the rationale for parentheses in sizeof and return as discussed. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/share/misc/style Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/style diff -u src/share/misc/style:1.61 src/share/misc/style:1.62 --- src/share/misc/style:1.61 Sun Mar 28 10:16:16 2021 +++ src/share/misc/style Sun Mar 28 10:28:56 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: style,v 1.61 2021/03/28 14:16:16 christos Exp $ */ +/* $NetBSD: style,v 1.62 2021/03/28 14:28:56 christos Exp $ */ /* * The revision control tag appears first, with a blank line after it. @@ -30,7 +30,7 @@ #include __COPYRIGHT("@(#) Copyright (c) 2008\ The NetBSD Foundation, inc. All rights reserved."); -__RCSID("$NetBSD: style,v 1.61 2021/03/28 14:16:16 christos Exp $"); +__RCSID("$NetBSD: style,v 1.62 2021/03/28 14:28:56 christos Exp $"); /* * VERY important single-line comments look like this. @@ -351,10 +351,26 @@ function(int a1, int a2, float fl, int a char fourteen, fifteen, sixteen; /* - * Casts and sizeof's are not followed by a space. NULL is any - * pointer type, and doesn't need to be cast, so use NULL instead - * of (struct foo *)0 or (struct foo *)NULL. Also, test pointers - * against NULL. I.e. use: + * Casts and sizeof's are not followed by a space. + * + * We parenthesize sizeof expressions to clarify their precedence: + * + * sizeof(e) + 4 + * not: + * sizeof e + 4 + * + * We don't put a space before the parenthesis so that it looks like + * a function call. We always parenthesize the sizeof expression for + * consistency. + * + * On the other hand, we don't parenthesize the return statement + * because there is never a precedence ambiguity situation (it is + * a single statement). + * + * NULL is any pointer type, and doesn't need to be cast, so use + * NULL instead of (struct foo *)0 or (struct foo *)NULL. Also, + * test pointers against NULL because it indicates the type of the + * expression to the user. I.e. use: * * (p = f()) == NULL * not:
CVS commit: src/share/misc
Module Name:src Committed By: christos Date: Sun Mar 28 14:16:16 UTC 2021 Modified Files: src/share/misc: style Log Message: - EXIT_FAILURE instead of 1 - %j instead of PRI for *intmax_t - != -1 instead of < 0 for syscalls To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 src/share/misc/style Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/misc/style diff -u src/share/misc/style:1.60 src/share/misc/style:1.61 --- src/share/misc/style:1.60 Sun Nov 29 04:15:33 2020 +++ src/share/misc/style Sun Mar 28 10:16:16 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: style,v 1.60 2020/11/29 09:15:33 rillig Exp $ */ +/* $NetBSD: style,v 1.61 2021/03/28 14:16:16 christos Exp $ */ /* * The revision control tag appears first, with a blank line after it. @@ -30,7 +30,7 @@ #include __COPYRIGHT("@(#) Copyright (c) 2008\ The NetBSD Foundation, inc. All rights reserved."); -__RCSID("$NetBSD: style,v 1.60 2020/11/29 09:15:33 rillig Exp $"); +__RCSID("$NetBSD: style,v 1.61 2021/03/28 14:16:16 christos Exp $"); /* * VERY important single-line comments look like this. @@ -380,11 +380,13 @@ function(int a1, int a2, float fl, int a * the change needs to be done in one place. * * Use err/warn(3), don't roll your own! + * + * Prefer EXIT_FAILURE instead of random error codes. */ if ((four = malloc(sizeof(*four))) == NULL) - err(1, NULL); + err(EXIT_FAILURE, NULL); if ((six = (int *)overflow()) == NULL) - errx(1, "Number overflowed."); + errx(EXIT_FAILURE, "Number overflowed."); /* No parentheses are needed around the return value. */ return eight; @@ -408,21 +410,21 @@ dirinfo(const char *p, struct stat *sb, _DIAGASSERT(p != NULL); _DIAGASSERT(filedesc != -1); - if (stat(p, sb) < 0) - err(1, "Unable to stat %s", p); + /* Prefer checking syscalls against -1 instead of < 0 */ + if (stat(p, sb) == -1) + err(EXIT_FAILURE, "Unable to stat %s", p); /* - * To printf quantities that might be larger than "long", include - * , cast quantities to intmax_t or uintmax_t and use - * PRI?MAX constants. + * To printf quantities that might be larger than "long", + * cast quantities to intmax_t or uintmax_t and use %j */ - (void)printf("The size of %s is %" PRIdMAX " (%#" PRIxMAX ")\n", p, + (void)printf("The size of %s is %jd (%#ju)\n", p, (intmax_t)sb->st_size, (uintmax_t)sb->st_size); /* - * To printf quantities of known bit-width, use the corresponding - * defines (generally only done within NetBSD for quantities that - * exceed 32-bits). + * To printf quantities of known bit-width, include and + * use the corresponding defines (generally only done within NetBSD + * for quantities that exceed 32-bits). */ (void)printf("%s uses %" PRId64 " blocks and has flags %#" PRIx32 "\n", p, sb->st_blocks, sb->st_flags);
CVS commit: src/share/man/man9
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
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/mk
Module Name:src Committed By: simonb Date: Sat Mar 27 02:46:46 UTC 2021 Modified Files: src/share/mk: bsd.hostprog.mk Log Message: Make columns nicely aligned. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/share/mk/bsd.hostprog.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.hostprog.mk diff -u src/share/mk/bsd.hostprog.mk:1.83 src/share/mk/bsd.hostprog.mk:1.84 --- src/share/mk/bsd.hostprog.mk:1.83 Sat Apr 4 01:35:22 2020 +++ src/share/mk/bsd.hostprog.mk Sat Mar 27 02:46:45 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.hostprog.mk,v 1.83 2020/04/04 01:35:22 christos Exp $ +# $NetBSD: bsd.hostprog.mk,v 1.84 2021/03/27 02:46:45 simonb Exp $ # @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94 .include @@ -7,71 +7,71 @@ # Basic targets # Default values -LIBATF_C?= /usr/lib/libatf-c.a -LIBATF_CXX?= /usr/lib/libatf-c++.a -LIBBLUETOOTH?= /usr/lib/libbluetooth.a -LIBBZ2?= /usr/lib/libbz2.a -LIBC?= /usr/lib/libc.a -LIBCOMPAT?= /usr/lib/libcompat.a -LIBCRYPT?= /usr/lib/libcrypt.a -LIBCURSES?= /usr/lib/libcurses.a -LIBC_PIC?= /usr/lib/libc_pic.a -LIBC_SO?= /usr/lib/libc.so -LIBDBM?= /usr/lib/libdbm.a -LIBDES?= /usr/lib/libdes.a -LIBEDIT?= /usr/lib/libedit.a -LIBEVENT?= /usr/lib/libevent.a +LIBATF_C?= /usr/lib/libatf-c.a +LIBATF_CXX?= /usr/lib/libatf-c++.a +LIBBLUETOOTH?= /usr/lib/libbluetooth.a +LIBBZ2?= /usr/lib/libbz2.a +LIBC?= /usr/lib/libc.a +LIBCOMPAT?= /usr/lib/libcompat.a +LIBCRYPT?= /usr/lib/libcrypt.a +LIBCURSES?= /usr/lib/libcurses.a +LIBC_PIC?= /usr/lib/libc_pic.a +LIBC_SO?= /usr/lib/libc.so +LIBDBM?= /usr/lib/libdbm.a +LIBDES?= /usr/lib/libdes.a +LIBEDIT?= /usr/lib/libedit.a +LIBEVENT?= /usr/lib/libevent.a LIBEVENT_OPENSSL?= /usr/lib/libevent_openssl.a LIBEVENT_PTHREADS?= /usr/lib/libevent_pthreads.a -LIBEXPAT?= /usr/lib/libexpat.a -LIBFETCH?= /usr/lib/libfetch.a -LIBFORM?= /usr/lib/libform.a -LIBGCC?= /usr/lib/libgcc.a -LIBGNUCTF?= /usr/lib/libgnuctf.a -LIBGNUMALLOC?= /usr/lib/libgnumalloc.a -LIBINTL?= /usr/lib/libintl.a -LIBIPSEC?= /usr/lib/libipsec.a -LIBKVM?= /usr/lib/libkvm.a -LIBL?= /usr/lib/libl.a -LIBLUTOK?= /usr/lib/liblutok.a -LIBLZMA?= /usr/lib/liblzma.a -LIBM?= /usr/lib/libm.a -LIBMAGIC?= /usr/lib/libmagic.a -LIBMENU?= /usr/lib/libmenu.a -LIBMP?= /usr/lib/libmp.a -LIBNTP?= /usr/lib/libntp.a -LIBNVMM?= /usr/lib/libnvmm.a -LIBOBJC?= /usr/lib/libobjc.a -LIBP2K?= /usr/lib/libp2k.a -LIBPANEL?= /usr/lib/libpanel.a -LIBPC?= /usr/lib/libpc.a -LIBPCAP?= /usr/lib/libpcap.a -LIBPCI?= /usr/lib/libpci.a -LIBPLOT?= /usr/lib/libplot.a -LIBPOSIX?= /usr/lib/libposix.a -LIBPTHREAD?=/usr/lib/libpthread.a -LIBPUFFS?= /usr/lib/libpuffs.a -LIBQUOTA?= /usr/lib/libquota.a -LIBREFUSE?= /usr/lib/librefuse.a -LIBRESOLV?= /usr/lib/libresolv.a -LIBRPCSVC?= /usr/lib/librpcsvc.a -LIBRUMP?= /usr/lib/librump.a -LIBRUMPCLIENT?= /usr/lib/librumpclient.a -LIBRUMPNET?= /usr/lib/librumpnet.a -LIBRUMPRES?= /usr/lib/librumpres.a -LIBRUMPUSER?= /usr/lib/librumpuser.a -LIBRUMPVFS?= /usr/lib/librumpvfs.a -LIBSKEY?= /usr/lib/libskey.a -LIBSQLITE3?= /usr/lib/libsqlite3.a -LIBSSP?= /usr/lib/libssp.a -LIBSTDCXX?= /usr/lib/libstdc++.a -LIBSUPCXX?= /usr/lib/libsupc++.a -LIBTERMINFO?= /usr/lib/libterminfo.a -LIBUKFS?= /usr/lib/libukfs.a -LIBUTIL?= /usr/lib/libutil.a -LIBWRAP?= /usr/lib/libwrap.a -LIBY?= /usr/lib/liby.a -LIBZ?= /usr/lib/libz.a +LIBEXPAT?= /usr/lib/libexpat.a +LIBFETCH?= /usr/lib/libfetch.a +LIBFORM?= /usr/lib/libform.a +LIBGCC?= /usr/lib/libgcc.a +LIBGNUCTF?= /usr/lib/libgnuctf.a +LIBGNUMALLOC?= /usr/lib/libgnumalloc.a +LIBINTL?= /usr/lib/libintl.a +LIBIPSEC?= /usr/lib/libipsec.a +LIBKVM?= /usr/lib/libkvm.a +LIBL?= /usr/lib/libl.a +LIBLUTOK?= /usr/lib/liblutok.a +LIBLZMA?= /usr/lib/liblzma.a +LIBM?= /usr/lib/libm.a +LIBMAGIC?= /usr/lib/libmagic.a +LIBMENU?= /usr/lib/libmenu.a +LIBMP?= /usr/lib/libmp.a +LIBNTP?= /usr/lib/libntp.a +LIBNVMM?= /usr/lib/libnvmm.a +LIBOBJC?= /usr/lib/libobjc.a +LIBP2K?= /usr/lib/libp2k.a +LIBPANEL?= /usr/lib/libpanel.a +LIBPC?= /usr/lib/libpc.a +LIBPCAP?= /usr/lib/libpcap.a +LIBPCI?= /usr/lib/libpci.a +LIBPLOT?= /usr/lib/libplot.a +LIBPOSIX?= /usr/lib/libposix.a +LIBPTHREAD?= /usr/lib/libpthread.a +LIBPUFFS?= /usr/lib/libpuffs.a +LIBQUOTA?= /usr/lib/libquota.a +LIBREFUSE?= /usr/lib/librefuse.a +LIBRESOLV?= /usr/lib/libresolv.a +LIBRPCSVC?= /usr/lib/librpcsvc.a +LIBRUMP?= /usr/lib/librump.a +LIBRUMPCLIENT?= /usr/lib/librumpclient.a +LIBRUMPNET?= /usr/lib/librumpnet.a +LIBRUMPRES?= /usr/lib/librumpres.a +LIBRUMPUSER?= /usr/lib/librumpuser.a +LIBRUMPVFS?= /usr/lib/librumpvfs.a +LIBSKEY?= /usr/lib/libskey.a +LIBSQLITE3?= /usr/lib/libsqlite3.a +LIBSSP?= /usr/lib/libssp.a +LIBSTDCXX?= /usr/lib/libstdc++.a +LIBSUPCXX?= /usr/lib/libsupc++.a +LIBTERMINFO?= /usr/lib/libterminfo.a +LIBUKFS?= /usr/lib/libukfs.a +LIBUTIL?= /usr/lib/libutil.a +LIBWRAP?= /usr/lib/libwrap.a +LIBY?= /u
CVS commit: src/share/mk
Module Name:src Committed By: simonb Date: Wed Mar 24 04:36:57 UTC 2021 Modified Files: src/share/mk: bsd.README Log Message: Add aarch64 and sparc64 to MKZFS yes. Sort the machine names for the "Default: yes on ..." lines. To generate a diff of this commit: cvs rdiff -u -r1.415 -r1.416 src/share/mk/bsd.README Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/bsd.README diff -u src/share/mk/bsd.README:1.415 src/share/mk/bsd.README:1.416 --- src/share/mk/bsd.README:1.415 Tue Nov 10 21:47:49 2020 +++ src/share/mk/bsd.README Wed Mar 24 04:36:57 2021 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.README,v 1.415 2020/11/10 21:47:49 kamil Exp $ +# $NetBSD: bsd.README,v 1.416 2021/03/24 04:36:57 simonb Exp $ # @(#)bsd.README 8.2 (Berkeley) 4/2/94 This is the README file for the make "include" files for the NetBSD @@ -134,7 +134,7 @@ MKCATPAGES If "no", don't build or insta Default: no MKCOMPAT If "no", don't build or install the src/compat. - Default: yes on amd64/mips64/sparc64, no elsewhere. + Default: yes on amd64, mips64 and sparc64, no elsewhere. MKCOMPATTESTS If "yes", build and install the NetBSD test suite when building and installing src/compat. @@ -371,7 +371,7 @@ MKNLS If "no", don't build or install t MKNOUVEAUFIRMWARE If "yes", install the /libdata/firmware/nouveau directory, which is necessary for the nouveau DRM driver. - Default: yes on i386 and amd64, no elsewhere. + Default: yes on amd64 and i386, no elsewhere. MKNPF If "no", don't build or install the NPF and its modules. Default: yes @@ -429,7 +429,7 @@ MKPROFILE If "no", don't build or instal MKRADEONFIRMWARE If "yes", install the /libdata/firmware/radeon directory, which is necessary for the radeon DRM driver. - Default: yes on i386 and amd64, no elsewhere. + Default: yes on amd64 and i386, no elsewhere. MKRELRO If "partial", set the non-PLT GOT to read-only. If "full" also force immediate symbol binding. @@ -544,7 +544,7 @@ MKZFS If "no", do not build and install used to manage ZFS file system. Do not build zfs and solaris compatibility kernel modules. Note: ZFS requires 64bit atomic operations. - Default: yes on amd64, no elsewhere. + Default: yes on aarch64, amd64 and sparc64, no elsewhere. MKRUMP If "no", do not build and install rump related headers, libraries, and programs.
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Tue Mar 23 22:02:44 UTC 2021 Modified Files: src/share/mk: sys.mk Log Message: >From Greg A. Woods: - add LDSTATIC to all the LINK rules, replacing CPPFLAGS which should not be used - create new COMPILE_LINK rules that are like LINK rules but have CPPFLAGS where appropriate To generate a diff of this commit: cvs rdiff -u -r1.145 -r1.146 src/share/mk/sys.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/sys.mk diff -u src/share/mk/sys.mk:1.145 src/share/mk/sys.mk:1.146 --- src/share/mk/sys.mk:1.145 Mon Mar 22 17:52:26 2021 +++ src/share/mk/sys.mk Tue Mar 23 18:02:44 2021 @@ -1,4 +1,4 @@ -# $NetBSD: sys.mk,v 1.145 2021/03/22 21:52:26 christos Exp $ +# $NetBSD: sys.mk,v 1.146 2021/03/23 22:02:44 christos Exp $ # @(#)sys.mk 8.2 (Berkeley) 3/21/94 # # This file contains the basic rules for make(1) and is read first @@ -19,10 +19,11 @@ MV?= mv -f AS?= as AFLAGS?= COMPILE.s?= ${CC} ${AFLAGS} ${AFLAGS.${<:T}} -c -LINK.s?= ${CC} ${AFLAGS} ${AFLAGS.${<:T}} ${LDFLAGS} +LINK.s?= ${CC} ${AFLAGS} ${AFLAGS.${<:T}} ${LDSTATIC} ${LDFLAGS} _ASM_TRADITIONAL_CPP= -x assembler-with-cpp COMPILE.S?= ${CC} ${AFLAGS} ${AFLAGS.${<:T}} ${CPPFLAGS} ${_ASM_TRADITIONAL_CPP} -c -LINK.S?= ${CC} ${AFLAGS} ${AFLAGS.${<:T}} ${CPPFLAGS} ${LDFLAGS} +LINK.S?= ${CC} ${AFLAGS} ${AFLAGS.${<:T}} ${LDSTATIC} ${LDFLAGS} +COMPILE_LINK.S?=${LINK.S} ${CPPFLAGS} CC?= cc .if ${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb" @@ -42,7 +43,8 @@ DTRACE_OPTS?= -fno-omit-frame-pointer -f CFLAGS?= ${DBG} LDFLAGS?= COMPILE.c?= ${CC} ${CFLAGS} ${DTRACE_OPTS} ${CPPFLAGS} -c -LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} +LINK.c?= ${CC} ${CFLAGS} ${LDSTATIC} ${LDFLAGS} +COMPILE_LINK.c?=${LINK.c} ${CPPFLAGS} # C Type Format data is required for DTrace CTFFLAGS ?= -g -L VERSION @@ -68,12 +70,14 @@ __BUILDSEED= ${BUILDSEED}/${__INITSEED}/ _CXXSEED?= ${BUILDSEED:D-frandom-seed=${__BUILDSEED:hash}} COMPILE.cc?= ${CXX} ${_CXXSEED} ${CXXFLAGS} ${DTRACE_OPTS} ${CPPFLAGS} -c -LINK.cc?= ${CXX} ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} +LINK.cc?= ${CXX} ${CXXFLAGS} ${LDSTATIC} ${LDFLAGS} +COMPILE_LINK.cc?=${LINK.cc} ${CPPFLAGS} OBJC?= ${CC} OBJCFLAGS?= ${CFLAGS} COMPILE.m?= ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} -c -LINK.m?= ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} ${LDFLAGS} +LINK.m?= ${OBJC} ${OBJCFLAGS} ${LDSTATIC} ${LDFLAGS} +LINK.m?= ${LINK.m} ${CPPFLAGS} CPP?= cpp CPPFLAGS?= @@ -82,11 +86,14 @@ FC?= f77 FFLAGS?= -O RFLAGS?= COMPILE.f?= ${FC} ${FFLAGS} -c -LINK.f?= ${FC} ${FFLAGS} ${LDFLAGS} +LINK.f?= ${FC} ${FFLAGS} ${LDSTATIC} ${LDFLAGS} +COMPILE_LINK.f?=${LINK.f} ${CPPFLAGS} COMPILE.F?= ${FC} ${FFLAGS} ${CPPFLAGS} -c -LINK.F?= ${FC} ${FFLAGS} ${CPPFLAGS} ${LDFLAGS} +LINK.F?= ${FC} ${FFLAGS} ${LDSTATIC} ${LDFLAGS} +COMPILE_LINK.F?=${LINK.F} ${CPPFLAGS} COMPILE.r?= ${FC} ${FFLAGS} ${RFLAGS} -c -LINK.r?= ${FC} ${FFLAGS} ${RFLAGS} ${LDFLAGS} +LINK.r?= ${FC} ${FFLAGS} ${RFLAGS} ${LDSTATIC} ${LDFLAGS} +COMPILE_LINK.r?=${LINK.r} INSTALL?= install @@ -122,7 +129,7 @@ YACC.y?= ${YACC} ${YFLAGS} # C .c: - ${LINK.c} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} + ${COMPILE_LINK.c} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .c.o: ${COMPILE.c} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -137,7 +144,7 @@ YACC.y?= ${YACC} ${YFLAGS} # C++ .cc .cpp .cxx .C: - ${LINK.cc} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} + ${COMPILE_LINK.cc} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .cc.o .cpp.o .cxx.o .C.o: ${COMPILE.cc} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -148,7 +155,7 @@ YACC.y?= ${YACC} ${YFLAGS} # Fortran/Ratfor .f: - ${LINK.f} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} + ${COMPILE_LINK.f} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .f.o: ${COMPILE.f} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -158,7 +165,7 @@ YACC.y?= ${YACC} ${YFLAGS} rm -f ${.PREFIX}.o .F: - ${LINK.F} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} + ${COMPILE_LINK.F} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .F.o: ${COMPILE.F} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -168,7 +175,7 @@ YACC.y?= ${YACC} ${YFLAGS} rm -f ${.PREFIX}.o .r: - ${LINK.r} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} + ${COMPILE_LINK.r} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .r.o: ${COMPILE.r} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -179,7 +186,7 @@ YACC.y?= ${YACC} ${YFLAGS} # Pascal .p: - ${LINK.p} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} + ${COMPILE_LINK.p} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .p.o: ${COMPILE.p} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -190,7 +197,7 @@ YACC.y?= ${YACC} ${YFLAGS} # Assembly .s: - ${LINK.s} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} + ${COMPILE_LINK.s} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .s.o: ${COMPILE.s} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -199,7 +206,7 @@ YACC.y?= ${YACC} ${YFLAGS} ${AR} ${ARFLAGS} ${.TARGET} ${.PREFIX}.o rm -f ${.PREFIX}.o .S: - ${LINK.
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Mon Mar 22 21:52:27 UTC 2021 Modified Files: src/share/mk: sys.mk Log Message: Fix the shuttle rules by defining a new EXEC_TARGET instead of re-using OBJECT_TARGET which adds an extra .o sometimes. Noticed by Greg A. Woods To generate a diff of this commit: cvs rdiff -u -r1.144 -r1.145 src/share/mk/sys.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/mk/sys.mk diff -u src/share/mk/sys.mk:1.144 src/share/mk/sys.mk:1.145 --- src/share/mk/sys.mk:1.144 Mon Nov 9 11:15:05 2020 +++ src/share/mk/sys.mk Mon Mar 22 17:52:26 2021 @@ -1,4 +1,4 @@ -# $NetBSD: sys.mk,v 1.144 2020/11/09 16:15:05 christos Exp $ +# $NetBSD: sys.mk,v 1.145 2021/03/22 21:52:26 christos Exp $ # @(#)sys.mk 8.2 (Berkeley) 3/21/94 # # This file contains the basic rules for make(1) and is read first @@ -48,6 +48,7 @@ LINK.c?= ${CC} ${CFLAGS} ${CPPFLAGS} ${L CTFFLAGS ?= -g -L VERSION CTFMFLAGS ?= -t -g -L VERSION OBJECT_TARGET ?= -o ${.TARGET}${defined(CTFCONVERT):?.o:} +EXEC_TARGET ?= -o ${.TARGET} CTFCONVERT_RUN ?= ${defined(CTFCONVERT):?${CTFCONVERT} ${CTFFLAGS} -o ${.TARGET} ${.TARGET}.o && rm -f ${.TARGET}.o:} CXX?= c++ @@ -121,9 +122,7 @@ YACC.y?= ${YACC} ${YFLAGS} # C .c: - ${LINK.c} ${OBJECT_TARGET} ${.IMPSRC} ${LDLIBS} -# XXX: disable for now -# ${CTFCONVERT_RUN} + ${LINK.c} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .c.o: ${COMPILE.c} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -138,9 +137,7 @@ YACC.y?= ${YACC} ${YFLAGS} # C++ .cc .cpp .cxx .C: - ${LINK.cc} ${OBJECT_TARGET} ${.IMPSRC} ${LDLIBS} -# XXX: disable for now -# ${CTFCONVERT_RUN} + ${LINK.cc} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .cc.o .cpp.o .cxx.o .C.o: ${COMPILE.cc} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -151,8 +148,7 @@ YACC.y?= ${YACC} ${YFLAGS} # Fortran/Ratfor .f: - ${LINK.f} ${OBJECT_TARGET} ${.IMPSRC} ${LDLIBS} - ${CTFCONVERT_RUN} + ${LINK.f} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .f.o: ${COMPILE.f} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -162,8 +158,7 @@ YACC.y?= ${YACC} ${YFLAGS} rm -f ${.PREFIX}.o .F: - ${LINK.F} ${OBJECT_TARGET} ${.IMPSRC} ${LDLIBS} - ${CTFCONVERT_RUN} + ${LINK.F} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .F.o: ${COMPILE.F} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -173,8 +168,7 @@ YACC.y?= ${YACC} ${YFLAGS} rm -f ${.PREFIX}.o .r: - ${LINK.r} ${OBJECT_TARGET} ${.IMPSRC} ${LDLIBS} - ${CTFCONVERT_RUN} + ${LINK.r} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .r.o: ${COMPILE.r} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -185,8 +179,7 @@ YACC.y?= ${YACC} ${YFLAGS} # Pascal .p: - ${LINK.p} ${OBJECT_TARGET} ${.IMPSRC} ${LDLIBS} - ${CTFCONVERT_RUN} + ${LINK.p} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .p.o: ${COMPILE.p} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -197,8 +190,7 @@ YACC.y?= ${YACC} ${YFLAGS} # Assembly .s: - ${LINK.s} ${OBJECT_TARGET} ${.IMPSRC} ${LDLIBS} - ${CTFCONVERT_RUN} + ${LINK.s} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .s.o: ${COMPILE.s} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -207,8 +199,7 @@ YACC.y?= ${YACC} ${YFLAGS} ${AR} ${ARFLAGS} ${.TARGET} ${.PREFIX}.o rm -f ${.PREFIX}.o .S: - ${LINK.S} ${OBJECT_TARGET} ${.IMPSRC} ${LDLIBS} - ${CTFCONVERT_RUN} + ${LINK.S} ${EXEC_TARGET} ${.IMPSRC} ${LDLIBS} .S.o: ${COMPILE.S} ${.IMPSRC} ${OBJECT_TARGET} ${CTFCONVERT_RUN} @@ -220,8 +211,7 @@ YACC.y?= ${YACC} ${YFLAGS} # Lex .l: ${LEX.l} ${.IMPSRC} - ${LINK.c} ${OBJECT_TARGET} lex.yy.c ${LDLIBS} -ll - ${CTFCONVERT_RUN} + ${LINK.c} ${EXEC_TARGET} lex.yy.c ${LDLIBS} -ll rm -f lex.yy.c .l.c: ${LEX.l} ${.IMPSRC} @@ -235,8 +225,7 @@ YACC.y?= ${YACC} ${YFLAGS} # Yacc .y: ${YACC.y} ${.IMPSRC} - ${LINK.c} ${OBJECT_TARGET} y.tab.c ${LDLIBS} - ${CTFCONVERT_RUN} + ${LINK.c} ${EXEC_TARGET} y.tab.c ${LDLIBS} rm -f y.tab.c .y.c: ${YACC.y} ${.IMPSRC}
CVS commit: src/share/man/man5
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
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
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
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
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
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/wscons/fonts
Module Name:src Committed By: fcambus Date: Fri Mar 12 21:07:08 UTC 2021 Modified Files: src/share/wscons/fonts: COPYRIGHT spleen-5x8.fnt.uue spleen-6x12.fnt.uue Log Message: Update Spleen wscons fonts to version 1.9.0, bringing the following improvements: - Enlarge vertical line for consistency with other small sizes (5x8 version) - Add full support for the Latin-1 Supplement Unicode block (6x12 version) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/wscons/fonts/COPYRIGHT cvs rdiff -u -r1.3 -r1.4 src/share/wscons/fonts/spleen-5x8.fnt.uue cvs rdiff -u -r1.2 -r1.3 src/share/wscons/fonts/spleen-6x12.fnt.uue Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/wscons/fonts/COPYRIGHT diff -u src/share/wscons/fonts/COPYRIGHT:1.4 src/share/wscons/fonts/COPYRIGHT:1.5 --- src/share/wscons/fonts/COPYRIGHT:1.4 Wed Jul 8 11:24:49 2020 +++ src/share/wscons/fonts/COPYRIGHT Fri Mar 12 21:07:08 2021 @@ -42,7 +42,7 @@ The font files: in this directory are - Copyright (c) 2018-2020, Frederic Cambus + Copyright (c) 2018-2021, Frederic Cambus All rights reserved. Redistribution and use in source and binary forms, with or without Index: src/share/wscons/fonts/spleen-5x8.fnt.uue diff -u src/share/wscons/fonts/spleen-5x8.fnt.uue:1.3 src/share/wscons/fonts/spleen-5x8.fnt.uue:1.4 --- src/share/wscons/fonts/spleen-5x8.fnt.uue:1.3 Mon Jul 20 13:58:52 2020 +++ src/share/wscons/fonts/spleen-5x8.fnt.uue Fri Mar 12 21:07:08 2021 @@ -21,7 +21,7 @@ M<)#P@'``,$!`X$!`0'"0D&`0X("`X)"0D)` MP("`D*#`H)``0$!`0$!`,)#P\)"0X)"0D)!@D)"08."0 MD."`@```<)"0$!`0$!`0$!`>```@(!`0"`@$!`("```>`@("`@("`@( +M>"!0B```^$`@$```<`AX MB(AX`("`\(B(B(CP>("`@(!X``@(>(B(B(AX M>(B(^(!X`#A`0/!`0$!`>(B(B(AP"/```("`\(B(B(B( M`"``8"`@("`P`!``$!`0$!`08("`D*#`H)"(`$!`0$!`0$`P M\*BHJ(B(\(B(B(B(<(B(B(AP\(B( MB(CP@("`>(B(B(AX"`@(>(B`@("`>(!P"`CP`$!` MX$!`0$`PB(B(B(AXB(B(B%`@B(BH^-B( -MB(AP<(B(B(B(B(AX"`CP^`@0($#X`!@@(&!@("`8 -M`"`@("`@("`@`&`0$!@8$!!@``!(L``` +MB(AP<(B(B(B(B(AX"`CP^`@0($#X&"`@(,#`("`@ +M&```("`@("`@("`@(```8!`0$`P,$!`08`!(L``` M M M @@ -41,32 +41,32 @@ M``` M M M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -M -, +M`"`` +M("`@("`@```@>*"@H*!X(#!(0$#P0(#X2#!(2#!( +M`(A0('`@<"`@("`@(```("`@(#!((#!(2$@P$$@P`%`` +M`'B$E*2DM(1X`#`(.$@X`'@`)$B0D$@D``#X +M"`@```!P`'B$M*RTK(1X`'```#!( +M2#`@(/@@(`#X`#!("!`@>#!($`A(,``` +M`!`@0```D)"0D)#H@(```'BHJ&@H*"@H```
CVS commit: src/share/man/man4/man4.i386
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
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
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
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
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
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
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
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
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
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
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