CVS commit: src/doc

2020-06-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Jun 30 05:19:19 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
Lua 5.4.0 is out


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1731 src/doc/3RDPARTY:1.1732
--- src/doc/3RDPARTY:1.1731	Mon Jun 15 17:04:03 2020
+++ src/doc/3RDPARTY	Tue Jun 30 05:19:19 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1731 2020/06/15 17:04:03 roy Exp $
+#	$NetBSD: 3RDPARTY,v 1.1732 2020/06/30 05:19:19 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -832,10 +832,10 @@ into inetd. The provided libwrap2netbsd 
 
 Package:	Lua
 Version:	Lua 5.3.5
-Current Vers:	Lua 5.3.5
+Current Vers:	Lua 5.4.0
 Maintainer:	PUC Rio
 Home Page:	http://www.lua.org/
-Date:		2020-06-13
+Date:		2020-06-30
 Mailing List:
 Responsible:	mbalmer, lneto, salazar, alnsn
 License:	MIT



CVS commit: src/external/cddl/dtracetoolkit/dist

2020-06-25 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jun 25 09:48:29 UTC 2020

Modified Files:
src/external/cddl/dtracetoolkit/dist: Makefile

Log Message:
space, tab


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/cddl/dtracetoolkit/dist/Makefile

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

Modified files:

Index: src/external/cddl/dtracetoolkit/dist/Makefile
diff -u src/external/cddl/dtracetoolkit/dist/Makefile:1.1 src/external/cddl/dtracetoolkit/dist/Makefile:1.2
--- src/external/cddl/dtracetoolkit/dist/Makefile:1.1	Sun Sep 17 00:00:39 2017
+++ src/external/cddl/dtracetoolkit/dist/Makefile	Thu Jun 25 09:48:29 2020
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2017/09/17 00:00:39 sevan Exp $
+# $NetBSD: Makefile,v 1.2 2020/06/25 09:48:29 sevan Exp $
 
 .include 
 
 .if (${MKDTRACE} != "no")
-FILES= 	dtruss
+FILES=		dtruss
 FILES+= 	execsnoop
 FILES+= 	opensnoop
 FILES+= 	procsystime



CVS commit: src/external/cddl/dtracetoolkit/dist/Man/man1m

2020-06-25 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jun 25 09:39:19 UTC 2020

Modified Files:
src/external/cddl/dtracetoolkit/dist/Man/man1m: dtruss.1m opensnoop.1m

Log Message:
Fix column layout


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m
cvs rdiff -u -r1.2 -r1.3 \
src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m

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

Modified files:

Index: src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m
diff -u src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.3 src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.4
--- src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.3	Wed Jun 24 18:49:01 2020
+++ src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m	Thu Jun 25 09:39:19 2020
@@ -1,5 +1,5 @@
-.\" $NetBSD: dtruss.1m,v 1.3 2020/06/24 18:49:01 sevan Exp $
-.Dd June 24, 2020
+.\" $NetBSD: dtruss.1m,v 1.4 2020/06/25 09:39:19 sevan Exp $
+.Dd June 25, 2020
 .Dt DTRUSS 1
 .Os
 .Sh NAME
@@ -52,19 +52,13 @@ examine this PID
 .It Fl t Ar syscall
 examine this syscall only
 .El
-.Pp
-Description of fields
-.Bl -column
-.It PID/LWPID
-Process ID / Lightweight Process ID
-.It RELATIVE
-relative timestamps to the start of the thread, us (microseconds)
-.It ELAPSD
-elapsed time for this system call, us
-.It CPU
-on-cpu time for this system call, us
-.It SYSCALL(args)
-system call name, with arguments (some may be evaluated)
+.Bl -column fieldtitle description
+.It Sy Fields Ta Sy Description
+.It PID/LWPID	Process ID / Lightweight Process ID
+.It RELATIVE	relative timestamps to the start of the thread, us (microseconds)
+.It ELAPSD	elapsed time for this system call, us
+.It CPU	on-cpu time for this system call, us
+.It SYSCALL(args)	system call name, with arguments (some may be evaluated)
 .El
 .Sh EXAMPLES
 run and examine the "df -h" command

Index: src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m
diff -u src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m:1.2 src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m:1.3
--- src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m:1.2	Wed Jun 24 18:06:01 2020
+++ src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m	Thu Jun 25 09:39:19 2020
@@ -1,5 +1,5 @@
-.\" $NetBSD: opensnoop.1m,v 1.2 2020/06/24 18:06:01 sevan Exp $
-.Dd June 24, 2020
+.\" $NetBSD: opensnoop.1m,v 1.3 2020/06/25 09:39:19 sevan Exp $
+.Dd June 25, 2020
 .Dt OPENSNOOP 1
 .Os
 .Sh NAME
@@ -47,35 +47,22 @@ process name to snoop
 .It Fl p Ar PID
 process ID to snoop
 .El
-.Pp
-Description of fields
-.Bl -column
-.It ZONE
-Zone name
-.It UID
-User ID
-.It PID
-Process ID
-.It PPID
-Parent Process ID
-.It FD
-File Descriptor (-1 is error)
-.It ERR
-errno value (see
+.Bl -column fieldtitle description
+.It Sy Fields Ta Sy Description
+.It ZONE Ta Zone name
+.It UID	Ta User ID
+.It PID Ta Process ID
+.It PPID Ta Parent Process ID
+.It FD Ta File Descriptor (-1 is error)
+.It ERR Ta errno value ( see
 .Pa /usr/include/sys/errno.h
 )
-.It CWD
-current working directory of process
-.It PATH
-pathname for file open
-.It COMM
-command name for the process
-.It ARGS
-argument listing for the process
-.It TIME
-timestamp for the open event, us
-.It STRTIME
-timestamp for the open event, string
+.It CWD Ta current working directory of process
+.It PATH Ta pathname for file open
+.It COMM Ta command name for the process
+.It ARGS Ta argument listing for the process
+.It TIME Ta timestamp for the open event, us
+.It STRTIME Ta timestamp for the open event, string
 .El
 .Sh EXAMPLES
 Default output, print file opens by process as they occur,



CVS commit: src/external/cddl/dtracetoolkit/dist/Man/man1m

2020-06-24 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Jun 24 18:49:01 UTC 2020

Modified Files:
src/external/cddl/dtracetoolkit/dist/Man/man1m: dtruss.1m

Log Message:
No truss here


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m

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

Modified files:

Index: src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m
diff -u src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.2 src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.3
--- src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.2	Wed Jun 24 18:43:38 2020
+++ src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m	Wed Jun 24 18:49:01 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: dtruss.1m,v 1.2 2020/06/24 18:43:38 sevan Exp $
+.\" $NetBSD: dtruss.1m,v 1.3 2020/06/24 18:49:01 sevan Exp $
 .Dd June 24, 2020
 .Dt DTRUSS 1
 .Os
@@ -101,7 +101,8 @@ descriptions explaining the output.
 dtruss will run forever until Ctrl\-C is hit, or if a command was
 executed dtruss will finish when the command ends.
 .Sh SEE ALSO
-procsystime(1M), dtrace(1M), truss(1)
+.Xr dtrace 1 ,
+.Xr procsystime 1
 .Sh AUTHORS
 .An Brendan Gregg
 [Sydney, Australia]



CVS commit: src/external/cddl/dtracetoolkit/dist/Man/man1m

2020-06-24 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Jun 24 18:43:38 UTC 2020

Modified Files:
src/external/cddl/dtracetoolkit/dist/Man/man1m: dtruss.1m

Log Message:
mdocify


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m

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

Modified files:

Index: src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m
diff -u src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.1.1.1 src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.2
--- src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m:1.1.1.1	Wed Sep 30 22:01:09 2015
+++ src/external/cddl/dtracetoolkit/dist/Man/man1m/dtruss.1m	Wed Jun 24 18:43:38 2020
@@ -1,123 +1,107 @@
-.TH dtruss 1m  "$Date: 2015/09/30 22:01:09 $" "USER COMMANDS"
-.SH NAME
-dtruss \- process syscall details. Uses DTrace.
-.SH SYNOPSIS
-.B dtruss
-[\-acdeflhoLs] [\-t syscall] { \-p PID | \-n name | command }
-.SH DESCRIPTION
-dtruss prints details on process system calls. It is like a DTrace
-version of truss, and has been designed to be less intrusive than
-truss.
-
-Of particular interest is the elapsed times and on cpu times, which
-can identify both system calls that are slow to complete, and those
-which are consuming CPU cycles.
-
-Since this uses DTrace, only the root user or users with the
-dtrace_kernel privilege can run this command.
-.SH OS
-Solaris
-.SH STABILITY
-stable - needs the syscall provider.
-.SH OPTIONS
-.TP
-\-a
+.\" $NetBSD: dtruss.1m,v 1.2 2020/06/24 18:43:38 sevan Exp $
+.Dd June 24, 2020
+.Dt DTRUSS 1
+.Os
+.Sh NAME
+.Nm dtruss
+.Nd process syscall details. Uses DTrace
+.Sh SYNOPSIS
+.Nm
+.Op Fl acdeflhoLs
+.Op Fl t Ar syscall
+.Op Fl p Ar PID | Fl n Ar name | command
+.Sh DESCRIPTION
+.Nm
+prints details on process system calls.
+It is like a DTrace version of truss, and has been designed to be less
+intrusive than truss.
+.Pp
+Of particular interest is the elapsed times and on cpu times, which can
+identify both system calls that are slow to complete, and those which are
+consuming CPU cycles.
+.Pp
+Since this uses DTrace, only the root user or users with the dtrace_kernel
+privilege can run this command.
+.Bl -tag -width Ds
+.It Fl a
 print all details
-.TP
-\-b bufsize
-dynamic variable buffer size. Increase this if you notice dynamic
-variable drop errors. The default is "4m" for 4 megabytes per CPU.
-.TP
-\-c
+.It Fl b Ar bufsize
+dynamic variable buffer size.
+Increase this if you notice dynamic variable drop errors.
+The default is "4m" for 4 megabytes per CPU.
+.It Fl c
 print system call counts
-.TP
-\-d
+.It Fl d
 print relative timestamps, us
-.TP
-\-e
+.It Fl e
 print elapsed times, us
-.TP
-\-f
+.It Fl f
 follow children as they are forked
-.TP
-\-l
+.It Fl l
 force printing of pid/lwpid per line
-.TP
-\-L
+.It Fl L
 don't print pid/lwpid per line
-.TP
-\-n name
+.It Fl n Ar name
 examine processes with this name
-.TP
-\-o
+.It Fl o
 print on-cpu times, us
-.TP
-\-s
+.It Fl s
 print stack backtraces
-.TP
-\-p PID
+.It Fl p Ar PID
 examine this PID
-.TP
-\-t syscall
+.It Fl t Ar syscall
 examine this syscall only
-.PP
-.SH EXAMPLES
-.TP
-run and examine the "df -h" command
-# 
-.B dtruss 
-df -h
-.PP
-.TP
-examine PID 1871
-# 
-.B dtruss
-\-p 1871 
-.PP
-.TP
-examine all processes called "tar"
-#
-.B dtruss
-\-n tar
-.PP
-.TP
-run test.sh and follow children
-#
-.B dtruss
-\-f test.sh
-.TP
-run the "date" command and print elapsed and on cpu times,
-#
-.B dtruss
-\-eo date
-.PP
-.SH FIELDS
-.TP
-PID/LWPID
+.El
+.Pp
+Description of fields
+.Bl -column
+.It PID/LWPID
 Process ID / Lightweight Process ID
-.TP
-RELATIVE
+.It RELATIVE
 relative timestamps to the start of the thread, us (microseconds)
-.TP
-ELAPSD
+.It ELAPSD
 elapsed time for this system call, us
-.TP
-CPU
+.It CPU
 on-cpu time for this system call, us
-.TP
-SYSCALL(args)
+.It SYSCALL(args)
 system call name, with arguments (some may be evaluated)
-.PP
-.SH DOCUMENTATION
-See the DTraceToolkit for further documentation under the 
-Docs directory. The DTraceToolkit docs may include full worked
-examples with verbose descriptions explaining the output.
-.SH EXIT
+.El
+.Sh EXAMPLES
+run and examine the "df -h" command
+.Bd -literal -offset indent
+.Ic dtruss df -h
+.Ed
+.Pp
+examine PID 1871
+.Bd -literal -offset indent
+.Ic dtruss -p 1871
+.Ed
+.Pp
+examine all processes called "tar"
+.Bd -literal -offset indent
+.Ic dtruss -n tar
+.Ed
+.Pp
+run test.sh and follow children
+.Bd -literal -offset indent
+.Ic dtruss -f test.sh
+.Ed
+.Pp
+run the "date" command and print elapsed and on cpu times,
+.Bd -literal -offset indent
+.Ic dtruss -eo date
+.Ed
+.Sh STABILITY
+stable - needs the syscall provider.
+.Sh DOCUMENTATION
+See the DTraceToolkit for further documentation under the Docs directory.
+The DTraceToolkit docs may include full worked examples with verbose

CVS commit: src/external/cddl/dtracetoolkit/dist/Man/man1m

2020-06-24 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Jun 24 18:06:01 UTC 2020

Modified Files:
src/external/cddl/dtracetoolkit/dist/Man/man1m: opensnoop.1m

Log Message:
mdocify


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m

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

Modified files:

Index: src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m
diff -u src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m:1.1.1.1 src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m:1.2
--- src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m:1.1.1.1	Wed Sep 30 22:01:09 2015
+++ src/external/cddl/dtracetoolkit/dist/Man/man1m/opensnoop.1m	Wed Jun 24 18:06:01 2020
@@ -1,139 +1,120 @@
-.TH opensnoop 1m  "$Date: 2015/09/30 22:01:09 $" "USER COMMANDS"
-.SH NAME
-opensnoop \- snoop file opens as they occur. Uses DTrace.
-.SH SYNOPSIS
-.B opensnoop
-[\-a|\-A|\-ceghsvxZ] [\-f pathname] [\-n name] [\-p PID]
-.SH DESCRIPTION
-opensnoop tracks file opens. As a process issues a file open, details
-such as UID, PID and pathname are printed out. 
-
-The returned file descriptor is printed,
-a value of -1 indicates an error. This can be useful
-for troubleshooting to determine if appliacions are attempting to
-open files that do not exist. 
-
+.\" $NetBSD: opensnoop.1m,v 1.2 2020/06/24 18:06:01 sevan Exp $
+.Dd June 24, 2020
+.Dt OPENSNOOP 1
+.Os
+.Sh NAME
+.Nm opensnoop
+.Nd snoop file opens as they occur. Uses DTrace
+.Sh SYNOPSIS
+.Nm
+.Op Fl a | Fl A | Fl ceghsvxZ
+.Op Fl f Ar pathname
+.Op Fl n Ar name
+.Op Fl p Ar PID
+.Sh DESCRIPTION
+.Nm
+tracks file opens.
+As a process issues a file open, details such as UID, PID and pathname are
+printed out.
+The returned file descriptor is printed, a value of -1 indicates an error.
+This can be useful for troubleshooting to determine if appliacions are
+attempting to open files that do not exist.
 Since this uses DTrace, only the root user or users with the
 dtrace_kernel privilege can run this command.
-.SH OS
-Solaris
-.SH STABILITY
-stable - needs the syscall provider.
-.SH OPTIONS
-.TP
-\-a
+.Bl -tag -width Ds
+.It Fl a
 print all data
-.TP
-\-A
+.It Fl A
 dump all data, space delimited
-.TP
-\-c
+.It Fl c
 print current working directory of process
-.TP
-\-e
+.It Fl e
 print errno value
-.TP
-\-g
+.It Fl g
 print full command arguments
-.TP
-\-s
+.It Fl s
 print start time, us
-.TP
-\-v
+.It Fl v
 print start time, string
-.TP
-\-x
+.It Fl x
 only print failed opens
-.TP
-\-Z
+.It Fl Z
 print zonename
-.TP
-\-f pathname
+.It Fl f Ar pathname
 file pathname to snoop
-.TP
-\-n name
+.It Fl n Ar name
 process name to snoop
-.TP
-\-p PID
+.It Fl p Ar PID
 process ID to snoop
-.PP
-.SH EXAMPLES
-.TP
-Default output, print file opens by process as they occur,
-# 
-.B opensnoop
-.PP
-.TP
-Print human readable timestamps,
-# 
-.B opensnoop
-\-v 
-.PP
-.TP
-See error codes,
-#
-.B opensnoop
-\-e
-.PP
-.TP
-Snoop this file only,
-#
-.B opensnoop
-\-f /etc/passwd
-.PP
-.SH FIELDS
-.TP
-ZONE
+.El
+.Pp
+Description of fields
+.Bl -column
+.It ZONE
 Zone name
-.TP
-UID
+.It UID
 User ID
-.TP
-PID
+.It PID
 Process ID
-.TP
-PPID
+.It PPID
 Parent Process ID
-.TP
-FD
+.It FD
 File Descriptor (-1 is error)
-.TP
-ERR
-errno value (see /usr/include/sys/errno.h)
-.TP
-CWD
+.It ERR
+errno value (see
+.Pa /usr/include/sys/errno.h
+)
+.It CWD
 current working directory of process
-.TP
-PATH
+.It PATH
 pathname for file open
-.TP
-COMM
+.It COMM
 command name for the process
-.TP
-ARGS
+.It ARGS
 argument listing for the process
-.TP
-TIME
+.It TIME
 timestamp for the open event, us
-.TP
-STRTIME
+.It STRTIME
 timestamp for the open event, string
-.SH DOCUMENTATION
-See the DTraceToolkit for further documentation under the 
-Docs directory. The DTraceToolkit docs may include full worked
-examples with verbose descriptions explaining the output.
-.SH EXIT
-opensnoop will run forever until Ctrl\-C is hit. 
-.SH BUGS
-occasionally the pathname for the file open cannot be read
-and the following error will be seen,
-
+.El
+.Sh EXAMPLES
+Default output, print file opens by process as they occur,
+.Bd -literal -offset indent
+.Ic opensnoop
+.Ed
+.Pp
+Print human readable timestamps,
+.Bd -literal -offset indent
+.Ic opensnoop -v
+.Ed
+.Pp
+See error codes,
+.Bd -literal -offset indent
+.Ic opensnoop -e
+.Ed
+.Pp
+Snoop this file only,
+.Bd -literal -offset indent
+.Ic opensnoop -f /etc/passwd
+.Ed
+.Sh STABILITY
+stable - needs the syscall provider.
+.Sh DOCUMENTATION
+See the DTraceToolkit for further documentation under the Docs directory.
+The DTraceToolkit docs may include full worked examples with verbose
+descriptions explaining the output.
+.Sh EXIT
+opensnoop will run forever until Ctrl\-C is hit.
+.Sh SEE ALSO
+.Xr dtrace 1
+.Sh AUTHORS
+.An Brendan Gregg
+[Sydney, Australia]
+.Sh BUGS
+Occasionally the pathname 

CVS commit: src/usr.bin/calendar/calendars

2020-06-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Jun 22 13:20:15 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.computer

Log Message:
Add Quake's birthday
https://twitter.com/romero/status/1275026229524074496


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/calendar/calendars/calendar.computer

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.computer
diff -u src/usr.bin/calendar/calendars/calendar.computer:1.15 src/usr.bin/calendar/calendars/calendar.computer:1.16
--- src/usr.bin/calendar/calendars/calendar.computer:1.15	Sat Jun 20 21:58:17 2020
+++ src/usr.bin/calendar/calendars/calendar.computer	Mon Jun 22 13:20:15 2020
@@ -52,6 +52,7 @@
 	Apple ][e known as the SDF-1, 1987
 06/19	FreeBSD project born, 1993
 06/20	X Window System born, 1984
+06/22	Quake released, 1996
 06/23	IBM unbundles software, 1969
 06/30	First advanced degree on computer related topic: to H. Karamanian,
 	Temple Univ., Phila, 1948, for symbolic differentiation on the ENIAC



CVS commit: src/usr.bin/calendar/calendars

2020-06-20 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jun 20 21:58:18 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.computer

Log Message:
X turned 36 today
http://www.talisman.org/x-debut.shtml


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/calendar/calendars/calendar.computer

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.computer
diff -u src/usr.bin/calendar/calendars/calendar.computer:1.14 src/usr.bin/calendar/calendars/calendar.computer:1.15
--- src/usr.bin/calendar/calendars/calendar.computer:1.14	Tue May 19 11:07:10 2020
+++ src/usr.bin/calendar/calendars/calendar.computer	Sat Jun 20 21:58:17 2020
@@ -51,6 +51,7 @@
 06/16	Super Dimension Fortress (SDF) BBS received it's first caller on an
 	Apple ][e known as the SDF-1, 1987
 06/19	FreeBSD project born, 1993
+06/20	X Window System born, 1984
 06/23	IBM unbundles software, 1969
 06/30	First advanced degree on computer related topic: to H. Karamanian,
 	Temple Univ., Phila, 1948, for symbolic differentiation on the ENIAC



CVS commit: src/tests/lib/libarchive

2020-06-16 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Jun 16 09:47:11 UTC 2020

Modified Files:
src/tests/lib/libarchive: t_libarchive.sh

Log Message:
Improve sentence


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/lib/libarchive/t_libarchive.sh

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

Modified files:

Index: src/tests/lib/libarchive/t_libarchive.sh
diff -u src/tests/lib/libarchive/t_libarchive.sh:1.5 src/tests/lib/libarchive/t_libarchive.sh:1.6
--- src/tests/lib/libarchive/t_libarchive.sh:1.5	Tue Jun 16 07:59:07 2020
+++ src/tests/lib/libarchive/t_libarchive.sh	Tue Jun 16 09:47:11 2020
@@ -1,4 +1,4 @@
-#   $NetBSD: t_libarchive.sh,v 1.5 2020/06/16 07:59:07 martin Exp $
+#   $NetBSD: t_libarchive.sh,v 1.6 2020/06/16 09:47:11 sevan Exp $
 #
 # Copyright (c) 2020 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -37,7 +37,7 @@ libarchive_body()
 {
 	local m=$(( $( sysctl -n hw.usermem64 ) / 1024 / 1024 ))
 	if [ $m -lt 400 ]; then
-		atf_skip "too few RAM"
+		atf_skip "Not enough RAM"
 	fi
 	local ncpu=$( sysctl -n hw.ncpuonline )
 	if [ $ncpu -lt 2 ]; then



CVS commit: src/games/fortune/datfiles

2020-06-15 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Jun 15 12:57:51 UTC 2020

Modified Files:
src/games/fortune/datfiles: fortunes

Log Message:
A revision of "The purpose of computing is insight, not numbers" by
Richard Hamming.
>From The Art of Doing Science and Engineering


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/games/fortune/datfiles/fortunes

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

Modified files:

Index: src/games/fortune/datfiles/fortunes
diff -u src/games/fortune/datfiles/fortunes:1.90 src/games/fortune/datfiles/fortunes:1.91
--- src/games/fortune/datfiles/fortunes:1.90	Mon May 18 20:19:08 2020
+++ src/games/fortune/datfiles/fortunes	Mon Jun 15 12:57:51 2020
@@ -16302,3 +16302,5 @@ Bell has two patents on UNIX
 a) set-user-id bit
 b) on "typo" !
 		-- John Lions, Australian UNIX Users Group Newsletter, Oct 1978
+%
+The purpose of computing numbers is not yet in sight



CVS commit: src/doc

2020-06-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jun 13 22:35:23 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
Partial scan of components


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1727 src/doc/3RDPARTY:1.1728
--- src/doc/3RDPARTY:1.1727	Sat Jun 13 22:03:38 2020
+++ src/doc/3RDPARTY	Sat Jun 13 22:35:23 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1727 2020/06/13 22:03:38 wiz Exp $
+#	$NetBSD: 3RDPARTY,v 1.1728 2020/06/13 22:35:23 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -42,11 +42,11 @@
 
 Package:	acpica
 Version:	20200430
-Current Vers:	20200430
+Current Vers:	20200528
 Maintainer:	Intel
 Archive Site:	http://www.acpica.org/downloads/
 Home Page:	http://www.acpica.org/
-Date:		2020-05-25
+Date:		2020-06-13
 Mailing List:	de...@acpica.org
 License:	BSD-like
 Responsible:	jruoho
@@ -61,7 +61,7 @@ Current Vers:	6.2
 Maintainer:	Erez Zadok 
 Archive Site:	ftp://ftp.am-utils.org/pub/am-utils/
 Home Page:	http://www.am-utils.org/
-Date:		2019-10-09
+Date:		2020-06-13
 Mailing List:	am-utils
 Responsible:	christos
 License:	BSD (4-clause)
@@ -78,7 +78,7 @@ Current Vers:	0.21
 Maintainer:	Julio Merino 
 Archive site:	https://github.com/jmmv/atf/releases
 Home page:	https://github.com/jmmv/atf
-Date:		2019-10-09
+Date:		2020-06-13
 Mailing List:	atf-de...@netbsd.org
 Responsible:	jmmv
 License:	The NetBSD Foundation's license (BSD 2-clause)
@@ -94,11 +94,11 @@ upfront.
 
 Package:	ath-hal
 Version:	FreeBSD SVN revision number 185521
-Current Vers:	FreeBSD SVN revision number 348331
+Current Vers:	FreeBSD SVN revision number 361486
 Maintainer:	Sam Leffler 
 Archive Site:	none
 Home Page:	https://svnweb.freebsd.org/base/head/sys/dev/ath/ath_hal/
-Date:		2019-10-09
+Date:		2020-06-13
 Mailing List:	none
 Responsible:	sam, alc
 License:	BSD-like (2-clause), ISC
@@ -111,7 +111,7 @@ Current Vers:	1.07.1
 Maintainer:	Phil Nelson 
 Archive Site:	ftp://ftp.gnu.org/gnu/bc/
 Home Page:	http://www.gnu.org/software/bc/
-Date:		2019-10-09
+Date:		2020-06-13
 Mailing List:	bug...@gnu.org
 Responsible:	phil, simonb
 License:	GPLv2, LGPGv2.1
@@ -125,7 +125,7 @@ Current Vers:	9.16.3/MPL
 Maintainer:	ISC
 Archive Site:	ftp://ftp.isc.org/isc/bind9/
 Home Page:	http://www.isc.org/software/bind/
-Date:		2020-05-24
+Date:		2020-06-13
 Mailing List:	https://lists.isc.org/mailman/listinfo/bind-announce
 Mailing List:	https://lists.isc.org/mailman/listinfo/bind-users
 Responsible:	christos
@@ -144,7 +144,7 @@ Current Vers:	1.38.0
 Maintainer:	libuv
 Archive Site:	https://dist.libuv.org/dist/
 Home Page:	https://libuv.org
-Date:		2020-05-24
+Date:		2020-06-13
 Mailing List:	https://groups.google.com/forum/#!forum/libuv
 Responsible:	christos
 License:	mit
@@ -153,11 +153,11 @@ Notes:
 
 Package:	unbound
 Version:	1.9.6
-Current Vers:	1.9.6
+Current Vers:	1.10.1
 Maintainer:	Nlnetlabs
 Archive Site:	https://www.unbound.net/downloads/unbound-latest.tar.gz
 Home Page:	https://www.unbound.net/
-Date:		2019-12-15
+Date:		2020-06-13
 Mailing List:	https://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
 Responsible:	christos
 License:	BSD-like
@@ -168,11 +168,11 @@ run configure and update config files in
 
 Package:	nsd
 Version:	4.2.4
-Current Vers:	4.2.4
+Current Vers:	4.3.1
 Maintainer:	Nlnetlabs
 Archive Site:	https://www.nlnetlabs.nl/svn/nsd/
 Home Page:	https://www.nlnetlabs.nl/projects/nsd/
-Date:		2019-12-15
+Date:		2020-06-13
 Mailing List:	https://open.nlnetlabs.nl/mailman/listinfo/nsd-users/
 Responsible:	christos
 License:	BSD-like
@@ -225,11 +225,11 @@ in the past.
 
 Package:	byacc
 Version:	20190617
-Current Vers:	20190617
+Current Vers:	20200330
 Maintainer:	Thomas Dickey 
 Archive Site:	http://www.invisible-island.net/byacc/byacc.html
 Home Page:	http://www.invisible-island.net/byacc/byacc.html
-Date:		2019-10-06
+Date:		2020-06-13
 Mailing List:
 Responsible:	christos
 License:	Public Domain
@@ -243,7 +243,7 @@ Current Vers:	1.0.8
 Maintainer:	Julian Seward 
 Archive Site:	https://sourceware.org/pub/bzip2/
 Home Page:	https://www.sourceware.org/bzip2/
-Date:		2019-10-09
+Date:		2020-06-13
 Mailing List:
 Responsible:
 License:	BSD (4-clause)
@@ -257,7 +257,7 @@ Current Vers:
 Maintainer:	Citrus
 Archive Site:	http://citrus.bsdclub.org/
 Home Page:	http://citrus.bsdclub.org/
-Date:		2019-10-09
+Date:		2020-06-13
 Mailing List:	bsd-loc...@haun.org
 Responsible:	tshiozak
 License:	Ambiguous. Either BSD or Perl Artistic License
@@ -279,7 +279,7 @@ Current Vers:	4.1
 Maintainer:	ISC
 Archive Site:	ftp://ftp.isc.org/isc/cron/
 Home Page:
-Date:		2019-10-09
+Date:		2020-06-13
 Mailing List:
 Responsible:
 License:	BSD-like
@@ -292,7 +292,7 @@ Current Vers:	1.12.13
 

CVS commit: src/doc

2020-06-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jun 13 21:23:00 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
New xz released


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1725 src/doc/3RDPARTY:1.1726
--- src/doc/3RDPARTY:1.1725	Thu Jun 11 09:17:10 2020
+++ src/doc/3RDPARTY	Sat Jun 13 21:23:00 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1725 2020/06/11 09:17:10 sevan Exp $
+#	$NetBSD: 3RDPARTY,v 1.1726 2020/06/13 21:23:00 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1483,11 +1483,11 @@ Notes:
 
 Package:	xz
 Version:	5.2.4
-Current Vers:	5.2.4
+Current Vers:	5.2.5
 Maintainer:	Lasse Collin 
 Archive Site:	http://tukaani.org/xz/
 Home Page:	http://tukaani.org/xz/
-Date: 		2019-10-09
+Date: 		2020-06-13
 Responsible:	joerg
 License:	public-domain
 Location:	external/public-domain/xz/dist



CVS commit: src/share/misc

2020-06-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jun 13 14:31:49 UTC 2020

Modified Files:
src/share/misc: acronyms

Log Message:
BAU


To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 src/share/misc/acronyms

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.303 src/share/misc/acronyms:1.304
--- src/share/misc/acronyms:1.303	Thu Jun 11 23:19:53 2020
+++ src/share/misc/acronyms	Sat Jun 13 14:31:49 2020
@@ -1,4 +1,4 @@
-$NetBSD: acronyms,v 1.303 2020/06/11 23:19:53 sevan Exp $
+$NetBSD: acronyms,v 1.304 2020/06/13 14:31:49 sevan Exp $
 10Q	thank you
 10X	thanks
 1337	elite ("leet")
@@ -59,6 +59,7 @@ B/W	bandwidth
 B/W	between
 BAI	goodbye
 BAK	back at keyboard
+BAU	business as usual
 BBIAB	be back in a bit
 BBL	[I'll] be back later
 BBR	burnt beyond repair



CVS commit: src/share/misc

2020-06-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jun 11 23:19:53 UTC 2020

Modified Files:
src/share/misc: acronyms acronyms.comp

Log Message:
QOI


To generate a diff of this commit:
cvs rdiff -u -r1.302 -r1.303 src/share/misc/acronyms
cvs rdiff -u -r1.306 -r1.307 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.302 src/share/misc/acronyms:1.303
--- src/share/misc/acronyms:1.302	Wed Jun 10 20:26:52 2020
+++ src/share/misc/acronyms	Thu Jun 11 23:19:53 2020
@@ -1,4 +1,4 @@
-$NetBSD: acronyms,v 1.302 2020/06/10 20:26:52 sevan Exp $
+$NetBSD: acronyms,v 1.303 2020/06/11 23:19:53 sevan Exp $
 10Q	thank you
 10X	thanks
 1337	elite ("leet")
@@ -469,6 +469,7 @@ PTT	post-telephone-telegraph
 PTV	parental tunnel vision
 QED	quod erat demonstrandum
 QFT	quoted for truth
+QOI	quality of information
 RA	residential advisor
 RAND	reasonable and non-discriminatory
 RCD	residual current device

Index: src/share/misc/acronyms.comp
diff -u src/share/misc/acronyms.comp:1.306 src/share/misc/acronyms.comp:1.307
--- src/share/misc/acronyms.comp:1.306	Fri Jun  5 19:45:51 2020
+++ src/share/misc/acronyms.comp	Thu Jun 11 23:19:53 2020
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.306 2020/06/05 19:45:51 sevan Exp $
+$NetBSD: acronyms.comp,v 1.307 2020/06/11 23:19:53 sevan Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -1285,6 +1285,8 @@ QBE	query by example
 QC	quality control
 QDI	quasi delay insensitive
 QCIF	quarter common intermediate format
+QOI	quality of implementation
+QOI	quick order interface
 QOS	quality of service
 QVL	qualified vendor list
 R/O	read only



CVS commit: src/doc

2020-06-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jun 11 09:17:11 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
bsd-family-tree


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1724 src/doc/3RDPARTY:1.1725
--- src/doc/3RDPARTY:1.1724	Thu Jun  4 13:11:03 2020
+++ src/doc/3RDPARTY	Thu Jun 11 09:17:10 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1724 2020/06/04 13:11:03 roy Exp $
+#	$NetBSD: 3RDPARTY,v 1.1725 2020/06/11 09:17:10 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -208,8 +208,8 @@ Todo[4]: Re-entrant functions of net/*
 Todo[5]: Reconcile the doc directory.
 
 Package:	bsd-family-tree
-Version:	359561
-Current Vers:	359561
+Version:	361673
+Current Vers:	361673
 Maintainer:	The FreeBSD Project
 Archive Site:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 Home Page:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree



CVS commit: src/share/misc

2020-06-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jun 11 09:15:31 UTC 2020

Modified Files:
src/share/misc: bsd-family-tree

Log Message:
Sync with r359561


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/share/misc/bsd-family-tree

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/bsd-family-tree
diff -u src/share/misc/bsd-family-tree:1.81 src/share/misc/bsd-family-tree:1.82
--- src/share/misc/bsd-family-tree:1.81	Thu Apr  2 11:09:24 2020
+++ src/share/misc/bsd-family-tree	Thu Jun 11 09:15:31 2020
@@ -493,7 +493,7 @@ Tenth   Edition 1989-10-xx [QCU]
 2.9BSD-Seismo		1985-08-xx [SMS]
 2.10BSD			1987-04-xx [KKK]
 2.10.1BSD		1989-01-xx [SMS]
-2.11BSD			1992-02-xx [SMS]
+2.11BSD			1991-03-14 [SMS]
 2.11BSD rev #430	1999-12-13 [SMS]
 
 32V			1978-1[01]-xx [QCU] 1979-03-26 [TUHS]
@@ -873,5 +873,5 @@ Steven M. Schultz for providing 2.8BSD, 
 Copyright (c) 1997-2012 Wolfram Schneider 
 URL: https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 
-$FreeBSD: head/share/misc/bsd-family-tree 359561 2020-04-02 11:08:19Z sevan $
-$NetBSD: bsd-family-tree,v 1.81 2020/04/02 11:09:24 sevan Exp $
+$FreeBSD: head/share/misc/bsd-family-tree 361673 2020-05-31 21:38:33Z imp $
+$NetBSD: bsd-family-tree,v 1.82 2020/06/11 09:15:31 sevan Exp $



CVS commit: src/share/misc

2020-06-10 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Jun 10 20:26:53 UTC 2020

Modified Files:
src/share/misc: acronyms

Log Message:
URM


To generate a diff of this commit:
cvs rdiff -u -r1.301 -r1.302 src/share/misc/acronyms

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.301 src/share/misc/acronyms:1.302
--- src/share/misc/acronyms:1.301	Tue Jun  9 19:45:29 2020
+++ src/share/misc/acronyms	Wed Jun 10 20:26:52 2020
@@ -1,4 +1,4 @@
-$NetBSD: acronyms,v 1.301 2020/06/09 19:45:29 nia Exp $
+$NetBSD: acronyms,v 1.302 2020/06/10 20:26:52 sevan Exp $
 10Q	thank you
 10X	thanks
 1337	elite ("leet")
@@ -587,6 +587,7 @@ UGT	universal greeting time
 UPC	Universal Product Code
 UR	your
 UR	{you're, you are}
+URM	underrepresented minority
 UTSL	use the source, Luke
 VCR	video cassette recorder
 VEG	very evil grin



CVS commit: src/share/man/man4

2020-06-08 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Jun  8 20:19:12 UTC 2020

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

Log Message:
Use Dx macro


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/aibs.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/aibs.4
diff -u src/share/man/man4/aibs.4:1.9 src/share/man/man4/aibs.4:1.10
--- src/share/man/man4/aibs.4:1.9	Tue Mar 18 18:20:39 2014
+++ src/share/man/man4/aibs.4	Mon Jun  8 20:19:12 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: aibs.4,v 1.9 2014/03/18 18:20:39 riastradh Exp $
+.\"	$NetBSD: aibs.4,v 1.10 2020/06/08 20:19:12 sevan Exp $
 .\"	$OpenBSD: aibs.4,v 1.4 2009/07/30 06:30:45 jmc Exp $
 .\"
 .\" Copyright (c) 2009 Constantine A. Murenin 
@@ -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 June 12, 2011
+.Dd June 8, 2020
 .Dt AIBS 4
 .Os
 .Sh NAME
@@ -194,7 +194,7 @@ The
 .Nm
 driver first appeared in
 .Ox 4.7 ,
-DragonFly 2.4.1
+.Dx 2.4.1
 and
 .Nx 6.0 .
 An earlier version of the driver, named
@@ -209,7 +209,8 @@ The
 .Nm
 driver was written for
 .Ox ,
-DragonFly BSD, and
+.Dx
+BSD, and
 .Nx
 by
 .An Constantine A. Murenin Aq Lk http://cnst.su/ ,



CVS commit: src/share/man/man3

2020-06-08 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Jun  8 17:28:10 UTC 2020

Modified Files:
src/share/man/man3: bits.3 types.3

Log Message:
Pp before Bl


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/share/man/man3/bits.3
cvs rdiff -u -r1.6 -r1.7 src/share/man/man3/types.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/bits.3
diff -u src/share/man/man3/bits.3:1.18 src/share/man/man3/bits.3:1.19
--- src/share/man/man3/bits.3:1.18	Mon Jul  3 21:30:58 2017
+++ src/share/man/man3/bits.3	Mon Jun  8 17:28:10 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: bits.3,v 1.18 2017/07/03 21:30:58 wiz Exp $
+.\"	$NetBSD: bits.3,v 1.19 2020/06/08 17:28:10 sevan Exp $
 .\"
 .\" Copyright (c) 2006, 2010 David Young.  All rights reserved.
 .\"
@@ -58,7 +58,6 @@ Use
 and
 .Fn __BITS
 to define bitmasks:
-.Pp
 .Bl -tag -width __BITS -offset indent
 .It Fn __BIT "n"
 Return a bitmask with bit
@@ -82,7 +81,6 @@ The least significant bit is bit 0.
 and
 .Fn __SHIFTOUT_MASK
 help read and write bitfields from words:
-.Pp
 .Bl -tag -width __SHIFTOUT_MASK -offset indent
 .It Fn __SHIFTIN "v" "mask"
 Left-shift bits

Index: src/share/man/man3/types.3
diff -u src/share/man/man3/types.3:1.6 src/share/man/man3/types.3:1.7
--- src/share/man/man3/types.3:1.6	Sun Apr 10 10:02:34 2011
+++ src/share/man/man3/types.3	Mon Jun  8 17:28:10 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: types.3,v 1.6 2011/04/10 10:02:34 jruoho Exp $
+.\"	$NetBSD: types.3,v 1.7 2020/06/08 17:28:10 sevan Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -79,7 +79,6 @@ and provides additional types as well as
 .Xr param 3 ) .
 .Ss Standard Types
 The following standards-compliant system data types are defined:
-.Pp
 .Bl -column -offset indent \
 "suseconds_t " "process and process group IDs " "clock_settime(3) "
 .It Sy Type Ta Sy Typical use Ta Sy Example



CVS commit: src/share/man/man2

2020-06-08 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Jun  8 17:19:44 UTC 2020

Modified Files:
src/share/man/man2: siginfo.2

Log Message:
white space


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/share/man/man2/siginfo.2

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

Modified files:

Index: src/share/man/man2/siginfo.2
diff -u src/share/man/man2/siginfo.2:1.23 src/share/man/man2/siginfo.2:1.24
--- src/share/man/man2/siginfo.2:1.23	Sat May 25 05:11:14 2019
+++ src/share/man/man2/siginfo.2	Mon Jun  8 17:19:44 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: siginfo.2,v 1.23 2019/05/25 05:11:14 kamil Exp $
+.\"	$NetBSD: siginfo.2,v 1.24 2020/06/08 17:19:44 sevan Exp $
 .\"
 .\" Copyright (c) 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -278,7 +278,7 @@ High priority input available
 .Pp
 For
 .Dv SIGILL ,
-.Dv SIGFPE , 
+.Dv SIGFPE ,
 .Dv SIGBUS
 and
 .Dv SIGSEGV



CVS commit: src/share/misc

2020-06-05 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Jun  5 19:45:51 UTC 2020

Modified Files:
src/share/misc: acronyms.comp

Log Message:
IME, SCIM


To generate a diff of this commit:
cvs rdiff -u -r1.305 -r1.306 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.305 src/share/misc/acronyms.comp:1.306
--- src/share/misc/acronyms.comp:1.305	Wed Jun  3 14:19:10 2020
+++ src/share/misc/acronyms.comp	Fri Jun  5 19:45:51 2020
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.305 2020/06/03 14:19:10 sevan Exp $
+$NetBSD: acronyms.comp,v 1.306 2020/06/05 19:45:51 sevan Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -738,6 +738,7 @@ ILM	internal loopback mode
 ILOM	integrated lights-out management
 ILP	instruction level parallelism
 IM	instant messaging
+IME	input method editor
 IMAP	Internet Message Access Protocol
 IMC	integrated memory controller
 IMCR	interrupt mode configuration register
@@ -1413,6 +1414,7 @@ SCCP	skinny call control protocol
 SCCS	Source Code Control System
 SCI	scalable coherent interface
 SCI	system control interrupt
+SCIM	smart common input method
 SCM	software configuration management
 SCM	source code management
 SCM	storage-class memory



CVS commit: src/share/misc

2020-06-03 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Jun  3 14:19:10 UTC 2020

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add FHRP, GLBP, HSRP


To generate a diff of this commit:
cvs rdiff -u -r1.304 -r1.305 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.304 src/share/misc/acronyms.comp:1.305
--- src/share/misc/acronyms.comp:1.304	Mon May 18 20:28:44 2020
+++ src/share/misc/acronyms.comp	Wed Jun  3 14:19:10 2020
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.304 2020/05/18 20:28:44 sevan Exp $
+$NetBSD: acronyms.comp,v 1.305 2020/06/03 14:19:10 sevan Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -579,6 +579,7 @@ FFS	Fast File System
 FFS	find first set
 FFT	fast Fourier transform
 FG	floating gate
+FHRP	first hop redundancy protocol
 FHSS	frequency hop spread spectrum
 FID	frequency identifier
 FIFO	first in, first out
@@ -628,6 +629,7 @@ GHES	generic hardware error source
 GIC	generic interrupt controller
 GID	group identifier
 GIF	graphics interchange format
+GLBP	gateway load balancing protocol
 GMCH	graphics and memory controller hub
 GNU	GNU's Not Unix
 GOP	graphics output protocol
@@ -678,6 +680,7 @@ HPD	hot plug detection
 HPET	high precision event timer
 HSM	hardware security module
 HSM	hierarchical storage management 
+HSRP	hot standby router protocol
 HT	hyper-threading
 HTC	hardware thermal control
 HTCC	high temperature co-fired ceramic



CVS commit: src/usr.bin/calendar/calendars

2020-06-03 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Jun  3 14:10:56 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday

Log Message:
Add Allen Ginsberg


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/calendar/calendars/calendar.birthday

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.birthday
diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.43 src/usr.bin/calendar/calendars/calendar.birthday:1.44
--- src/usr.bin/calendar/calendars/calendar.birthday:1.43	Mon May 18 20:57:06 2020
+++ src/usr.bin/calendar/calendars/calendar.birthday	Wed Jun  3 14:10:56 2020
@@ -112,6 +112,7 @@
 03/31	Rene Descartes born, 1596, mathematician & philosopher
 04/01	Alan Jay Perlis was born in Pittsburgh, Pennsylvania, 1922
 04/03	Washington Irving born, 1783
+04/05	Irwin Allen Ginsberg died in New York City, 1997
 04/05	Thomas Hobbes born, 1588, philosopher
 04/07	Florian Schneider-Esleben was born in Baden-Wurttemberg, Germany, 1947
 04/08	Buddha born, 563 BC
@@ -160,6 +161,7 @@
 06/01	Brigham Young born, 1801
 06/01	Marilyn Monroe born, 1928
 06/03	Henry James born, 1811
+06/03	Irwin Allen Ginsberg was born in Newark, New Jersey, 1926
 06/07	(Eugene Henri) Paul Gaugin born, 1848
 06/07	Alan Mathison Turing died, 1954
 06/07	George Bryan "Beau" Brummel born, 1778



CVS commit: src/sys/dev/pci

2020-05-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat May 30 22:39:41 UTC 2020

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

Log Message:
Use device_xname() to access dv_xname


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/pci/if_rge.c

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

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.13 src/sys/dev/pci/if_rge.c:1.14
--- src/sys/dev/pci/if_rge.c:1.13	Sat May 30 22:01:05 2020
+++ src/sys/dev/pci/if_rge.c	Sat May 30 22:39:40 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rge.c,v 1.13 2020/05/30 22:01:05 sevan Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.14 2020/05/30 22:39:40 sevan Exp $	*/
 /*	$OpenBSD: if_rge.c,v 1.3 2020/03/27 15:15:24 krw Exp $	*/
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.13 2020/05/30 22:01:05 sevan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.14 2020/05/30 22:39:40 sevan Exp $");
 
 /* #include "vlan.h" Sevan */
 
@@ -234,7 +234,7 @@ rge_attach(device_t parent, device_t sel
 	}
 	intrstr = pci_intr_string(pc, ih, intrbuf, sizeof(intrbuf));
 	sc->sc_ih = pci_intr_establish_xname(pc, ih, IPL_NET, rge_intr,
-	sc, sc->sc_dev.dv_xname);
+	sc, device_xname(sc->sc_dev));
 	if (sc->sc_ih == NULL) {
 		aprint_error_dev(sc->sc_dev, ": couldn't establish interrupt");
 		if (intrstr != NULL)
@@ -298,7 +298,7 @@ rge_attach(device_t parent, device_t sel
 
 	ifp = >sc_ec.ec_if;
 	ifp->if_softc = sc;
-	strlcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ);
+	strlcpy(ifp->if_xname, device_xname(sc->sc_dev), IFNAMSIZ);
 	ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
 #ifdef RGE_MPSAFE
 	ifp->if_xflags = IFEF_MPSAFE;
@@ -1813,7 +1813,7 @@ rge_config_imtype(struct rge_softc *sc, 
 		sc->rge_tx_ack = RGE_ISR_PCS_TIMEOUT;
 		break;
 	default:
-		panic("%s: unknown imtype %d", sc->sc_dev.dv_xname, imtype);
+		panic("%s: unknown imtype %d", device_xname(sc->sc_dev), imtype);
 	}
 }
 
@@ -1848,7 +1848,7 @@ rge_setup_intr(struct rge_softc *sc, int
 		rge_setup_sim_im(sc);
 		break;
 	default:
-		panic("%s: unknown imtype %d", sc->sc_dev.dv_xname, imtype);
+		panic("%s: unknown imtype %d", device_xname(sc->sc_dev), imtype);
 	}
 }
 



CVS commit: src/sys/dev/pci

2020-05-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat May 30 22:27:55 UTC 2020

Modified Files:
src/sys/dev/pci: if_rgereg.h

Log Message:
Use device_t for sc_dev


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/pci/if_rgereg.h

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

Modified files:

Index: src/sys/dev/pci/if_rgereg.h
diff -u src/sys/dev/pci/if_rgereg.h:1.3 src/sys/dev/pci/if_rgereg.h:1.4
--- src/sys/dev/pci/if_rgereg.h:1.3	Sun Jan 12 23:22:12 2020
+++ src/sys/dev/pci/if_rgereg.h	Sat May 30 22:27:55 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rgereg.h,v 1.3 2020/01/12 23:22:12 sevan Exp $	*/
+/*	$NetBSD: if_rgereg.h,v 1.4 2020/05/30 22:27:55 sevan Exp $	*/
 /*	$OpenBSD: if_rgereg.h,v 1.1 2019/11/18 03:03:37 kevlo Exp $	*/
 
 /*
@@ -272,7 +272,7 @@ enum rge_mac_type {
 #define RGE_RXCFG_CONFIG	0x40c00700
 
 struct rge_softc {
-	struct device		sc_dev;
+	device_t		sc_dev;
 	struct ethercom		sc_ec; 		/* Ethernet common data */
 	void			*sc_ih;		/* interrupt vectoring */
 	bus_space_handle_t	rge_bhandle;	/* bus space handle */



CVS commit: src/sys/dev/pci

2020-05-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat May 30 22:01:05 UTC 2020

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

Log Message:
Switch from printf to aprintf_error/normal


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/if_rge.c

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

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.12 src/sys/dev/pci/if_rge.c:1.13
--- src/sys/dev/pci/if_rge.c:1.12	Sat May 30 21:39:49 2020
+++ src/sys/dev/pci/if_rge.c	Sat May 30 22:01:05 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rge.c,v 1.12 2020/05/30 21:39:49 sevan Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.13 2020/05/30 22:01:05 sevan Exp $	*/
 /*	$OpenBSD: if_rge.c,v 1.3 2020/03/27 15:15:24 krw Exp $	*/
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.12 2020/05/30 21:39:49 sevan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.13 2020/05/30 22:01:05 sevan Exp $");
 
 /* #include "vlan.h" Sevan */
 
@@ -217,7 +217,7 @@ rge_attach(device_t parent, device_t sel
 			if (pci_mapreg_map(pa, RGE_PCI_BAR0, PCI_MAPREG_TYPE_IO,
 			0, >rge_btag, >rge_bhandle, NULL,
 			>rge_bsize)) {
-printf(": can't map mem or i/o space\n");
+aprint_error(": can't map mem or i/o space\n");
 return;
 			}
 		}
@@ -229,20 +229,20 @@ rge_attach(device_t parent, device_t sel
 	if (pci_intr_map(pa, ) == 0)
 		sc->rge_flags |= RGE_FLAG_MSI;
 	else if (pci_intr_map(pa, ) != 0) {
-		printf(": couldn't map interrupt\n");
+		aprint_error(": couldn't map interrupt\n");
 		return;
 	}
 	intrstr = pci_intr_string(pc, ih, intrbuf, sizeof(intrbuf));
 	sc->sc_ih = pci_intr_establish_xname(pc, ih, IPL_NET, rge_intr,
 	sc, sc->sc_dev.dv_xname);
 	if (sc->sc_ih == NULL) {
-		printf(": couldn't establish interrupt");
+		aprint_error_dev(sc->sc_dev, ": couldn't establish interrupt");
 		if (intrstr != NULL)
-			printf(" at %s", intrstr);
-		printf("\n");
+			aprint_error(" at %s\n", intrstr);
+		aprint_error("\n");
 		return;
 	}
-	printf(": %s", intrstr);
+	aprint_normal_dev(sc->sc_dev, "interrupting at %s\n", intrstr);
 
 	if (pci_dma64_available(pa))
 		sc->sc_dmat = pa->pa_dmat64;
@@ -262,7 +262,7 @@ rge_attach(device_t parent, device_t sel
 		sc->rge_type = MAC_CFG3;
 		break;
 	default:
-		printf(": unknown version 0x%08x\n", hwrev);
+		aprint_error(": unknown version 0x%08x\n", hwrev);
 		return;
 	}
 
@@ -285,7 +285,8 @@ rge_attach(device_t parent, device_t sel
 	rge_hw_init(sc);
 
 	rge_get_macaddr(sc, eaddr);
-	printf(", address %s\n", ether_sprintf(eaddr));
+	aprint_normal_dev(sc->sc_dev, "Ethernet address %s\n",
+	ether_sprintf(eaddr));
 
 	memcpy(sc->sc_enaddr, eaddr, ETHER_ADDR_LEN);
 
@@ -622,7 +623,7 @@ rge_watchdog(struct ifnet *ifp)
 {
 	struct rge_softc *sc = ifp->if_softc;
 
-	printf("%s: watchdog timeout\n", sc->sc_dev.dv_xname);
+	aprint_error_dev(sc->sc_dev, "watchdog timeout\n");
 	if_statinc(ifp, if_oerrors);
 
 	rge_init(ifp);
@@ -657,8 +658,8 @@ rge_init(struct ifnet *ifp)
 
 	/* Initialize RX descriptors list. */
 	if (rge_rx_list_init(sc) == ENOBUFS) {
-		printf("%s: init failed: no memory for RX buffers\n",
-		sc->sc_dev.dv_xname);
+		aprint_error_dev(sc->sc_dev,
+		"init failed: no memory for RX buffers\n");
 		rge_stop(ifp);
 		return (ENOBUFS);
 	}
@@ -903,7 +904,8 @@ rge_ifmedia_upd(struct ifnet *ifp)
 		ifp->if_baudrate = IF_Mbps(10);
 		break;
 	default:
-		printf("%s: unsupported media type\n", sc->sc_dev.dv_xname);
+		aprint_error_dev(sc->sc_dev,
+		"unsupported media type\n");
 		return (EINVAL);
 	}
 
@@ -960,14 +962,14 @@ rge_allocmem(struct rge_softc *sc)
 	error = bus_dmamap_create(sc->sc_dmat, RGE_TX_LIST_SZ, 1,
 	RGE_TX_LIST_SZ, 0, BUS_DMA_NOWAIT, >rge_ldata.rge_tx_list_map);
 	if (error) {
-		printf("%s: can't create TX list map\n", sc->sc_dev.dv_xname);
+		aprint_error_dev(sc->sc_dev, "can't create TX list map\n");
 		return (error);
 	}
 	error = bus_dmamem_alloc(sc->sc_dmat, RGE_TX_LIST_SZ, RGE_ALIGN, 0,
 	>rge_ldata.rge_tx_listseg, 1, >rge_ldata.rge_tx_listnseg,
 	BUS_DMA_NOWAIT); /* XXX OpenBSD adds BUS_DMA_ZERO */
 	if (error) {
-		printf("%s: can't alloc TX list\n", sc->sc_dev.dv_xname);
+		aprint_error_dev(sc->sc_dev, "can't alloc TX list\n");
 		return (error);
 	}
 
@@ -977,7 +979,7 @@ rge_allocmem(struct rge_softc *sc)
 	(void **) >rge_ldata.rge_tx_list,
 	BUS_DMA_NOWAIT); /* XXX OpenBSD adds BUS_DMA_COHERENT */
 	if (error) {
-		printf("%s: can't map TX dma buffers\n", sc->sc_dev.dv_xname);
+		aprint_error_dev(sc->sc_dev, "can't map TX dma buffers\n");
 		bus_dmamem_free(sc->sc_dmat, >rge_ldata.rge_tx_listseg,
 		sc->rge_ldata.rge_tx_listnseg);
 		return (error);
@@ -985,7 +987,7 @@ rge_allocmem(struct rge_softc *sc)
 	error = bus_dmamap_load(sc->sc_dmat, sc->rge_ldata.rge_tx_list_map,
 	sc->rge_ldata.rge_tx_list, RGE_TX_LIST_SZ, NULL, BUS_DMA_NOWAIT);
 	if (error) {
-		

CVS commit: src/sys/dev/pci

2020-05-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat May 30 21:39:49 UTC 2020

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

Log Message:
Initialise sc->sc_dev, otherwise unnamed interfaces show up and things go
downhill from there.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/if_rge.c

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

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.11 src/sys/dev/pci/if_rge.c:1.12
--- src/sys/dev/pci/if_rge.c:1.11	Wed May 20 20:18:37 2020
+++ src/sys/dev/pci/if_rge.c	Sat May 30 21:39:49 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rge.c,v 1.11 2020/05/20 20:18:37 sevan Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.12 2020/05/30 21:39:49 sevan Exp $	*/
 /*	$OpenBSD: if_rge.c,v 1.3 2020/03/27 15:15:24 krw Exp $	*/
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.11 2020/05/20 20:18:37 sevan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.12 2020/05/30 21:39:49 sevan Exp $");
 
 /* #include "vlan.h" Sevan */
 
@@ -203,6 +203,8 @@ rge_attach(device_t parent, device_t sel
 
 	pci_set_powerstate(pa->pa_pc, pa->pa_tag, PCI_PMCSR_STATE_D0);
 
+	sc->sc_dev = self;
+
 	/*
 	 * Map control/status registers.
 	 */



CVS commit: src/usr.bin/calendar/calendars

2020-05-21 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu May 21 08:43:58 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.music

Log Message:
The Hacienda must be rebuilt.
https://twitter.com/McrHistory/status/1263386700249776130
https://twitter.com/Mr_Dave_Haslam/status/1263373996172640256


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/calendar/calendars/calendar.music

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.music
diff -u src/usr.bin/calendar/calendars/calendar.music:1.23 src/usr.bin/calendar/calendars/calendar.music:1.24
--- src/usr.bin/calendar/calendars/calendar.music:1.23	Fri Mar 27 21:03:17 2020
+++ src/usr.bin/calendar/calendars/calendar.music	Thu May 21 08:43:57 2020
@@ -82,6 +82,7 @@
 05/18	Rick Wakeman is born in West London, England, 1949
 05/19	Pete Townshend is born in London, 1945
 05/20	The Jimi Hendrix Experience is signed by Reprise Records, 1967
+05/21	The Hacienda opened its doors in Manchester, England, 1982
 05/23	Blues great Elmore James dies, 1963
 05/24	Bob Dylan (Robert Zimmerman) is born in Duluth, 1941
 05/26	Al Jolson born, 1886
@@ -99,6 +100,7 @@
 06/21	Columbia records announces the first mass production of LPs, 1948
 06/22	Todd Rundgren is born in Upper Darby, Pennsylvania, 1948
 06/24	Jeff Beck is born in Surrey, England, 1944
+06/28	The Hacienda closed its doors, Manchester, England, 1997
 07/02	Felix Pappalardi and Leslie West form Mountain, 1969
 07/03	Jim Morrison dies in Paris, 1971
 07/06	The Jefferson Airplane is formed in San Francisco, 1965



CVS commit: src/sys/dev/pci

2020-05-20 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed May 20 20:18:38 UTC 2020

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

Log Message:
use device_private() instead of casting self as it doesn't work here.
Bump rcs tag which was missed in r1.9


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/if_rge.c

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

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.10 src/sys/dev/pci/if_rge.c:1.11
--- src/sys/dev/pci/if_rge.c:1.10	Thu Apr 30 00:32:16 2020
+++ src/sys/dev/pci/if_rge.c	Wed May 20 20:18:37 2020
@@ -1,5 +1,5 @@
-/*	$NetBSD: if_rge.c,v 1.10 2020/04/30 00:32:16 sevan Exp $	*/
-/*	$OpenBSD: if_rge.c,v 1.2 2020/01/02 09:00:45 kevlo Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.11 2020/05/20 20:18:37 sevan Exp $	*/
+/*	$OpenBSD: if_rge.c,v 1.3 2020/03/27 15:15:24 krw Exp $	*/
 
 /*
  * Copyright (c) 2019 Kevin Lo 
@@ -18,7 +18,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.10 2020/04/30 00:32:16 sevan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.11 2020/05/20 20:18:37 sevan Exp $");
 
 /* #include "vlan.h" Sevan */
 
@@ -189,7 +189,7 @@ rge_match(device_t parent, cfdata_t matc
 void
 rge_attach(device_t parent, device_t self, void *aux)
 {
-	struct rge_softc *sc = (struct rge_softc *)self;
+	struct rge_softc *sc = device_private(self);
 	struct pci_attach_args *pa = aux;
 	pci_chipset_tag_t pc = pa->pa_pc;
 	pci_intr_handle_t ih;



CVS commit: src/usr.bin/calendar/calendars

2020-05-19 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue May 19 11:07:10 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.computer

Log Message:
Add RISC-V's birthday
https://riscv.org/2020/05/happy-10th-birthday-risc-v/


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/calendar/calendars/calendar.computer

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.computer
diff -u src/usr.bin/calendar/calendars/calendar.computer:1.13 src/usr.bin/calendar/calendars/calendar.computer:1.14
--- src/usr.bin/calendar/calendars/calendar.computer:1.13	Thu Apr 30 12:13:39 2020
+++ src/usr.bin/calendar/calendars/calendar.computer	Tue May 19 11:07:10 2020
@@ -38,6 +38,7 @@
 05/01	First BASIC program run at Dartmouth, 1964
 05/06	EDSAC demonstrated, 1949
 05/16	First report on SNOBOL distributed (within BTL), 1963
+05/18	RISC-V project born, 2010
 05/21	DEC announces PDP-8, 1965
 05/22	Ethernet first described, 1973
 05/27	First joint meeting of U.S. and European ALGOL definition cte., 1958



CVS commit: src/usr.bin/calendar/calendars

2020-05-18 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon May 18 20:57:06 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday

Log Message:
Add Margaret Hamilton, Florian Schneider, Ron Hardy, Little Richard


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/calendar/calendars/calendar.birthday

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.birthday
diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.42 src/usr.bin/calendar/calendars/calendar.birthday:1.43
--- src/usr.bin/calendar/calendars/calendar.birthday:1.42	Mon May 11 12:42:58 2020
+++ src/usr.bin/calendar/calendars/calendar.birthday	Mon May 18 20:57:06 2020
@@ -80,6 +80,7 @@
 02/29	Herman Hollerith born, 1860
 03/01	David Niven born, 1910
 03/02	Dr. Seuss born, 1904
+03/02	Ron Hardy died in Chicago, Illinois, 1992
 03/04	Casimir Pulaski born, 1747
 03/05	John Belushi dies in Los Angeles, 1982
 03/07	Sir John Frederick William Herschel born, 1792, astronomer
@@ -112,6 +113,7 @@
 04/01	Alan Jay Perlis was born in Pittsburgh, Pennsylvania, 1922
 04/03	Washington Irving born, 1783
 04/05	Thomas Hobbes born, 1588, philosopher
+04/07	Florian Schneider-Esleben was born in Baden-Wurttemberg, Germany, 1947
 04/08	Buddha born, 563 BC
 04/08	David Rittenhouse born, 1732, astronomer & mathematician
 04/09	Edward Muybridge born, 1830, motion-picture pioneer
@@ -123,6 +125,7 @@
 		discovered Saturn's rings
 04/15	Leonardo da Vinci born, 1452
 04/16	Charles (Charlie) Chaplin (Sir) born in London, 1889
+04/21	Florian Schneider-Esleben died in Dusseldorf, Germany, 2020
 04/22	Immanuel Kant born, 1724
 04/24	Lawrence Gordon Tesler was born in The Bronx, New York City, 1945
 04/27	Louis Victor de Broglie born, 1774, physicist
@@ -133,6 +136,9 @@
 05/01	Little Walter (Marion Walter Jacobs) born in Alexandria,
 		Louisiana, 1930
 05/02	Dr. Benjamin Spock born, 1903
+05/08	Ron Hardy was born in Chicago, Illinois, 1958
+05/09	Little Richard (Richard Wayne Penniman) died in Tullahoma, Tennessee,
+		2020
 05/09	Pinza died, 1957
 05/10	Fred Astaire (Frederick Austerlitz) born in Omaha, Nebraska, 1899
 05/10	William Robert "Bert" Sutherland was born in Hastings, Nebraska, 1936
@@ -197,6 +203,7 @@
 08/13	Annie Oakley born, 1860
 08/13	Fidel Castro born, 1927
 08/17	Mae West born, 1892
+08/17	Margaret Heafield Hamilton was born in Paoli, Indiana, 1936
 08/18	Meriwether Lewis born, 1774, American explorer
 08/20	Leon Trotsky assassinated, 1940
 08/23	Gene Kelly born, 1912
@@ -275,6 +282,8 @@
 11/30	Mark Twain (Samuel Clemens) born in Florida, Missouri, 1835
 12/01	Woody Allen (Allen Stuart Konigsberg) born in Brooklyn, NY, 1935
 12/04	Tommy Bolin dies of a heroin overdose in Miami, 1976
+12/05	Little Richard (Richard Wayne Penniman) was born in Macon, Georgia,
+		1932
 12/05	Walt (Walter Elias) Disney born in Chicago, 1901
 12/08	Horace (Quintus Horatius Flaccus) born in Venosa (Italy), 65 BC
 12/08	James (Grover) Thurber born in Columbus, Ohio, 1894



CVS commit: src/share/misc

2020-05-18 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon May 18 20:28:44 UTC 2020

Modified Files:
src/share/misc: acronyms.comp

Log Message:
BMP, DGEMM, DIB, GEMM, WMF


To generate a diff of this commit:
cvs rdiff -u -r1.303 -r1.304 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.303 src/share/misc/acronyms.comp:1.304
--- src/share/misc/acronyms.comp:1.303	Tue May  5 01:28:17 2020
+++ src/share/misc/acronyms.comp	Mon May 18 20:28:44 2020
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.303 2020/05/05 01:28:17 ginsbach Exp $
+$NetBSD: acronyms.comp,v 1.304 2020/05/18 20:28:44 sevan Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -155,6 +155,8 @@ BLE	Bluetooth low energy
 BLOB	binary large object
 BM	bus master
 BMC	baseboard management controller
+BMP	basic multilingual plane
+BMP	bitmap image file
 BMIC	bus master interface controller
 BN	boundary neutral
 BNF	Backus-Naur form
@@ -394,9 +396,11 @@ DFSAN	Data Flow Sanitizer
 DFT	diagnostic function test
 DFT	discrete Fourier transform
 DGL	data generation language
+DGEMM	double precision general matrix multiply
 DH	Diffie-Hellman
 DHCP	Dynamic Host Configuration Protocol
 DIA	dedicated Internet access
+DIB	device independent bitmap
 DIFS	distributed inter-frame space
 DIMM	dual inline memory module
 DIRT	design in real time
@@ -617,6 +621,7 @@ GDT	global descriptor table
 GECOS	general comprehensive operating supervisor
 GEM	graphics environment manager
 GEM	graphics execution manager
+GEMM	general matrix multiply
 GENA	general event notification architecture
 GHC	Glasgow Haskell compiler
 GHES	generic hardware error source
@@ -1755,6 +1760,7 @@ WHEA	Windows hardware error architecture
 WIFI	wireless fidelity
 WLAN	wireless local area network
 WM	write miss
+WMF	Windows meta file
 WMI	Windows Management Instrumentation
 WOL	Wake-on-LAN
 WOM	Wake-on-Modem



CVS commit: src/games/fortune/datfiles

2020-05-18 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon May 18 20:19:08 UTC 2020

Modified Files:
src/games/fortune/datfiles: fortunes

Log Message:
Heads up on Bell patents
P21 on https://minnie.tuhs.org/Archive/Documentation/AUUGN/AUUGN-V01.1.pdf


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/games/fortune/datfiles/fortunes

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

Modified files:

Index: src/games/fortune/datfiles/fortunes
diff -u src/games/fortune/datfiles/fortunes:1.89 src/games/fortune/datfiles/fortunes:1.90
--- src/games/fortune/datfiles/fortunes:1.89	Thu Apr  2 05:55:02 2020
+++ src/games/fortune/datfiles/fortunes	Mon May 18 20:19:08 2020
@@ -16297,3 +16297,8 @@ Fail we may, sail we must
 %
 Don't shout at your JBODs, they don't like it!
 		-- Brendan Gregg, "Shouting in the Datacenter"
+%
+Bell has two patents on UNIX
+a) set-user-id bit
+b) on "typo" !
+		-- John Lions, Australian UNIX Users Group Newsletter, Oct 1978



CVS commit: src/usr.bin/calendar/calendars

2020-04-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Apr 30 12:13:39 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.computer

Log Message:
It was aboard the Space Shuttle Atlantis using a Macintosh Portable.
https://support.apple.com/kb/TA30635


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/calendar/calendars/calendar.computer

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.computer
diff -u src/usr.bin/calendar/calendars/calendar.computer:1.12 src/usr.bin/calendar/calendars/calendar.computer:1.13
--- src/usr.bin/calendar/calendars/calendar.computer:1.12	Thu Mar 19 07:20:36 2020
+++ src/usr.bin/calendar/calendars/calendar.computer	Thu Apr 30 12:13:39 2020
@@ -55,6 +55,7 @@
 	Temple Univ., Phila, 1948, for symbolic differentiation on the ENIAC
 07/08	Bell Telephone Co. formed (predecessor of AT), 1877
 07/08	CDC incorporated, 1957
+08/09	First email sent from space by the crew of STS-43, 1991
 08/14	First Unix-based mallet created, 1954
 08/14	IBM PC announced, 1981
 08/21	Structure and Interpretation of Computer Programs published, 1985



CVS commit: src/sys/dev/pci

2020-04-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Apr 30 00:32:16 UTC 2020

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

Log Message:
Sync with r1.3 from OpenBSD

"Use correct bit mask to promptly exit rge_set_phy_power() and
rge_exit_oob() timeout loops.

Spotted by CID 1491296 and 1491309."


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/if_rge.c

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

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.9 src/sys/dev/pci/if_rge.c:1.10
--- src/sys/dev/pci/if_rge.c:1.9	Sat Feb 29 21:27:19 2020
+++ src/sys/dev/pci/if_rge.c	Thu Apr 30 00:32:16 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rge.c,v 1.9 2020/02/29 21:27:19 thorpej Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.10 2020/04/30 00:32:16 sevan Exp $	*/
 /*	$OpenBSD: if_rge.c,v 1.2 2020/01/02 09:00:45 kevlo Exp $	*/
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.9 2020/02/29 21:27:19 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.10 2020/04/30 00:32:16 sevan Exp $");
 
 /* #include "vlan.h" Sevan */
 
@@ -1448,7 +1448,7 @@ rge_set_phy_power(struct rge_softc *sc, 
 		rge_write_phy(sc, 0, MII_BMCR, BMCR_AUTOEN);
 
 		for (i = 0; i < RGE_TIMEOUT; i++) {
-			if ((rge_read_phy_ocp(sc, 0xa420) & 0x0080) == 3)
+			if ((rge_read_phy_ocp(sc, 0xa420) & 0x0007) == 3)
 break;
 			DELAY(1000);
 		}
@@ -1889,7 +1889,7 @@ rge_exit_oob(struct rge_softc *sc)
 
 	if (rge_read_mac_ocp(sc, 0xd42c) & 0x0100) {
 		for (i = 0; i < RGE_TIMEOUT; i++) {
-			if ((rge_read_phy_ocp(sc, 0xa420) & 0x0080) == 2)
+			if ((rge_read_phy_ocp(sc, 0xa420) & 0x0007) == 2)
 break;
 			DELAY(1000);
 		}



CVS commit: src/doc

2020-04-21 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr 21 13:39:26 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
new openssl


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1712 src/doc/3RDPARTY:1.1713
--- src/doc/3RDPARTY:1.1712	Tue Apr 21 09:58:07 2020
+++ src/doc/3RDPARTY	Tue Apr 21 13:39:26 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1712 2020/04/21 09:58:07 roy Exp $
+#	$NetBSD: 3RDPARTY,v 1.1713 2020/04/21 13:39:26 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1088,11 +1088,11 @@ markus is very cooperative about it):
 
 Package:	OpenSSL
 Version:	1.0.2o/1.1.1f
-Current Vers:	1.0.2t/1.1.1f
+Current Vers:	1.0.2t/1.1.1g
 Maintainer:	The OpenSSL Project
 Archive Site:	ftp://ftp.openssl.org/source/
 Home Page:	http://www.openssl.org/
-Date:		2020-04-05
+Date:		2020-04-21
 Mailing List:	openssl-annou...@openssl.org
 Responsible:	christos, mjf, tls, riastradh, spz
 License:	OpenSSL and SSLeay license (both BSD-like)



CVS commit: src/libexec/utmp_update

2020-04-18 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Apr 18 22:03:51 UTC 2020

Modified Files:
src/libexec/utmp_update: utmp_update.8

Log Message:
document history


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

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

Modified files:

Index: src/libexec/utmp_update/utmp_update.8
diff -u src/libexec/utmp_update/utmp_update.8:1.2 src/libexec/utmp_update/utmp_update.8:1.3
--- src/libexec/utmp_update/utmp_update.8:1.2	Wed Apr 30 13:10:52 2008
+++ src/libexec/utmp_update/utmp_update.8	Sat Apr 18 22:03:51 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: utmp_update.8,v 1.2 2008/04/30 13:10:52 martin Exp $
+.\"	$NetBSD: utmp_update.8,v 1.3 2020/04/18 22:03:51 sevan Exp $
 .\"
 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd December 12, 2002
+.Dd April 18, 2020
 .Dt UTMP_UPDATE 8
 .Os
 .Sh NAME
@@ -59,3 +59,8 @@ returns 0 on success, and 1 if an error 
 .Sh SEE ALSO
 .Xr pututxline 3 ,
 .Xr utmpx 5
+.Sh HISTORY
+A
+.Nm
+utility appeared in
+.Nx 2.0 .



CVS commit: src/sbin/fsck

2020-04-18 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Apr 18 22:02:11 UTC 2020

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

Log Message:
grammar


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sbin/fsck/fsck.8

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

Modified files:

Index: src/sbin/fsck/fsck.8
diff -u src/sbin/fsck/fsck.8:1.40 src/sbin/fsck/fsck.8:1.41
--- src/sbin/fsck/fsck.8:1.40	Sun Sep 11 09:09:54 2016
+++ src/sbin/fsck/fsck.8	Sat Apr 18 22:02:11 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: fsck.8,v 1.40 2016/09/11 09:09:54 wiz Exp $
+.\"	$NetBSD: fsck.8,v 1.41 2020/04/18 22:02:11 sevan Exp $
 .\"
 .\" Copyright (c) 1996 Christos Zoulas.  All rights reserved.
 .\"
@@ -22,7 +22,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd September 11, 2016
+.Dd April 18, 2020
 .Dt FSCK 8
 .Os
 .Sh NAME
@@ -175,7 +175,7 @@ from the terminal).
 .Xr fsck_msdos 8 ,
 .Xr mount 8
 .Sh HISTORY
-A
+An
 .Nm
 utility appeared in
 .Bx 4.0 .



CVS commit: src/usr.bin/banner

2020-04-07 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr  7 17:57:33 UTC 2020

Modified Files:
src/usr.bin/banner: banner.1

Log Message:
Add history section


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/banner/banner.1

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

Modified files:

Index: src/usr.bin/banner/banner.1
diff -u src/usr.bin/banner/banner.1:1.9 src/usr.bin/banner/banner.1:1.10
--- src/usr.bin/banner/banner.1:1.9	Wed Feb 29 08:54:55 2012
+++ src/usr.bin/banner/banner.1	Tue Apr  7 17:57:33 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: banner.1,v 1.9 2012/02/29 08:54:55 wiz Exp $
+.\"	$NetBSD: banner.1,v 1.10 2020/04/07 17:57:33 sevan Exp $
 .\"
 .\"	@(#)Copyright (c) 1995, Simon J. Gerraty.
 .\"
@@ -15,7 +15,7 @@
 .\"	Please send copies of changes and bug-fixes to:
 .\"	s...@zen.void.oz.au
 .\"
-.Dd February 26, 2012
+.Dd April 7, 2020
 .Dt BANNER 1
 .Os
 .Sh NAME
@@ -61,3 +61,8 @@ font.
 .Ex -std
 .Sh SEE ALSO
 .Xr banner 6
+.Sh HISTORY
+The
+.Nm
+utility first appeared in
+.Nx 1.2 .



CVS commit: src

2020-04-05 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Apr  5 14:36:43 UTC 2020

Modified Files:
src/distrib/macppc/floppies/ramdisk: Makefile
src/etc/etc.macppc: MAKEDEV.conf
src/sys/arch/macppc/conf: INSTALL

Log Message:
Support the use of DHCP in the install environment


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/distrib/macppc/floppies/ramdisk/Makefile
cvs rdiff -u -r1.12 -r1.13 src/etc/etc.macppc/MAKEDEV.conf
cvs rdiff -u -r1.130 -r1.131 src/sys/arch/macppc/conf/INSTALL

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

Modified files:

Index: src/distrib/macppc/floppies/ramdisk/Makefile
diff -u src/distrib/macppc/floppies/ramdisk/Makefile:1.51 src/distrib/macppc/floppies/ramdisk/Makefile:1.52
--- src/distrib/macppc/floppies/ramdisk/Makefile:1.51	Sun Dec 29 18:26:17 2019
+++ src/distrib/macppc/floppies/ramdisk/Makefile	Sun Apr  5 14:36:43 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.51 2019/12/29 18:26:17 christos Exp $
+#	$NetBSD: Makefile,v 1.52 2020/04/05 14:36:43 sevan Exp $
 
 .include 
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -37,6 +37,7 @@ HACKSRC=	${DISTRIBDIR}/utils/libhack
 ${CRUNCHBIN}:	libhack.o
 
 .include "${DISTRIBDIR}/common/Makefile.crunch"
+.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
 .include "${DISTRIBDIR}/common/Makefile.makedev"
 .include "${DISTRIBDIR}/common/Makefile.image"
 

Index: src/etc/etc.macppc/MAKEDEV.conf
diff -u src/etc/etc.macppc/MAKEDEV.conf:1.12 src/etc/etc.macppc/MAKEDEV.conf:1.13
--- src/etc/etc.macppc/MAKEDEV.conf:1.12	Sun Sep 23 09:20:59 2018
+++ src/etc/etc.macppc/MAKEDEV.conf	Sun Apr  5 14:36:43 2020
@@ -1,10 +1,11 @@
-# $NetBSD: MAKEDEV.conf,v 1.12 2018/09/23 09:20:59 maxv Exp $
+# $NetBSD: MAKEDEV.conf,v 1.13 2020/04/05 14:36:43 sevan Exp $
 
 all_md)
 	makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1 wd2 wd3
 	makedev ss0 ch0 uk0 uk1
 	makedev mlx0 ld0 ld1 ld2 ld3
 	makedev tty00 tty01 tty10
+	makedev bpf
 	makedev usbs ttyCZ0 ttyCY0 audio speaker
 	makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
 	makedev nvram apm adb grf0 openfirm
@@ -25,6 +26,7 @@ floppy)
 	makedev st0 st1 cd0 cd1 wd0 wd1 wd2 wd3 md0
 	makedev ttyE0 wsmouse0 wskbd0 ttyEcfg
 	makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
+	makedev bpf
 	;;
 
 tty1[0-9])

Index: src/sys/arch/macppc/conf/INSTALL
diff -u src/sys/arch/macppc/conf/INSTALL:1.130 src/sys/arch/macppc/conf/INSTALL:1.131
--- src/sys/arch/macppc/conf/INSTALL:1.130	Wed Jan  8 13:28:14 2020
+++ src/sys/arch/macppc/conf/INSTALL	Sun Apr  5 14:36:43 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: INSTALL,v 1.130 2020/01/08 13:28:14 macallan Exp $
+#	$NetBSD: INSTALL,v 1.131 2020/04/05 14:36:43 sevan Exp $
 #
 # config file for INSTALL FLOPPY
 #
@@ -204,6 +204,7 @@ udav*	at uhub? port ?		# Davicom DM9601 
 pseudo-device	md			# memory disk
 #pseudo-device	fss			# file system snapshot device
 pseudo-device	loop			# network loopback
+pseudo-device	bpfilter		# packet filter
 pseudo-device	pty			# pseudo-terminals
 
 pseudo-device	wsmux			# mouse and keyboard multiplexor



CVS commit: src/usr.bin/calendar/calendars

2020-04-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Apr  2 11:34:33 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.netbsd

Log Message:
just spaces


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/calendar/calendars/calendar.netbsd

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.netbsd
diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.45 src/usr.bin/calendar/calendars/calendar.netbsd:1.46
--- src/usr.bin/calendar/calendars/calendar.netbsd:1.45	Thu Apr  2 11:32:31 2020
+++ src/usr.bin/calendar/calendars/calendar.netbsd	Thu Apr  2 11:34:33 2020
@@ -13,7 +13,7 @@
 02/11   NetBSD/sandpoint port started, 2001
 02/12   NetBSD 5.0.2 released, 2010
 02/13   NetBSD/alpha port started, 1995
-02/14 	NetBSD 9.0 released, 2020
+02/14   NetBSD 9.0 released, 2020
 02/18   NetBSD/newsmips port started, 1998
 02/20   NetBSD/hpcarm port started, 2001
 02/24   NetBSD/hp700 port renamed NetBSD/hppa, 2014
@@ -33,7 +33,7 @@
 03/21   NetBSD/i386 port started, 1993
 03/26   NetBSD/atari port started, 1995
 03/28   NetBSD/sun2 port started, 2001
-03/31 	NetBSD 8.2 released, 2020
+03/31   NetBSD 8.2 released, 2020
 04/12   NetBSD 6.0.5 released, 2014
 04/12   NetBSD 6.1.4 released, 2014
 04/14   NetBSD 2.0.2 released, 2005



CVS commit: src/usr.bin/calendar/calendars

2020-04-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Apr  2 11:32:31 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.netbsd

Log Message:
align


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.bin/calendar/calendars/calendar.netbsd

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.netbsd
diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.44 src/usr.bin/calendar/calendars/calendar.netbsd:1.45
--- src/usr.bin/calendar/calendars/calendar.netbsd:1.44	Thu Apr  2 11:27:55 2020
+++ src/usr.bin/calendar/calendars/calendar.netbsd	Thu Apr  2 11:32:31 2020
@@ -13,7 +13,7 @@
 02/11   NetBSD/sandpoint port started, 2001
 02/12   NetBSD 5.0.2 released, 2010
 02/13   NetBSD/alpha port started, 1995
-02/14	NetBSD 9.0 released, 2020
+02/14 	NetBSD 9.0 released, 2020
 02/18   NetBSD/newsmips port started, 1998
 02/20   NetBSD/hpcarm port started, 2001
 02/24   NetBSD/hp700 port renamed NetBSD/hppa, 2014
@@ -33,7 +33,7 @@
 03/21   NetBSD/i386 port started, 1993
 03/26   NetBSD/atari port started, 1995
 03/28   NetBSD/sun2 port started, 2001
-03/31	NetBSD 8.2 released, 2020
+03/31 	NetBSD 8.2 released, 2020
 04/12   NetBSD 6.0.5 released, 2014
 04/12   NetBSD 6.1.4 released, 2014
 04/14   NetBSD 2.0.2 released, 2005



CVS commit: src/usr.bin/calendar/calendars

2020-04-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Apr  2 11:27:55 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.netbsd

Log Message:
Add NetBSD 9.0 & 8.2

Heads up by Harold Gutch


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/calendar/calendars/calendar.netbsd

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.netbsd
diff -u src/usr.bin/calendar/calendars/calendar.netbsd:1.43 src/usr.bin/calendar/calendars/calendar.netbsd:1.44
--- src/usr.bin/calendar/calendars/calendar.netbsd:1.43	Sat Sep 21 09:23:11 2019
+++ src/usr.bin/calendar/calendars/calendar.netbsd	Thu Apr  2 11:27:55 2020
@@ -13,6 +13,7 @@
 02/11   NetBSD/sandpoint port started, 2001
 02/12   NetBSD 5.0.2 released, 2010
 02/13   NetBSD/alpha port started, 1995
+02/14	NetBSD 9.0 released, 2020
 02/18   NetBSD/newsmips port started, 1998
 02/20   NetBSD/hpcarm port started, 2001
 02/24   NetBSD/hp700 port renamed NetBSD/hppa, 2014
@@ -32,6 +33,7 @@
 03/21   NetBSD/i386 port started, 1993
 03/26   NetBSD/atari port started, 1995
 03/28   NetBSD/sun2 port started, 2001
+03/31	NetBSD 8.2 released, 2020
 04/12   NetBSD 6.0.5 released, 2014
 04/12   NetBSD 6.1.4 released, 2014
 04/14   NetBSD 2.0.2 released, 2005



CVS commit: src/doc

2020-04-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Apr  2 11:11:25 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
bsd-family-tree


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1705 src/doc/3RDPARTY:1.1706
--- src/doc/3RDPARTY:1.1705	Tue Mar 31 13:53:44 2020
+++ src/doc/3RDPARTY	Thu Apr  2 11:11:25 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1705 2020/03/31 13:53:44 sevan Exp $
+#	$NetBSD: 3RDPARTY,v 1.1706 2020/04/02 11:11:25 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -195,12 +195,12 @@ Todo[4]: Re-entrant functions of net/*
 Todo[5]: Reconcile the doc directory.
 
 Package:	bsd-family-tree
-Version:	359157
-Current Vers:	359157
+Version:	359561
+Current Vers:	359561
 Maintainer:	The FreeBSD Project
 Archive Site:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 Home Page:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
-Date:		2020-03-20
+Date:		2020-04-02
 Mailing List:
 Responsible:
 License:	BSD (2-clause) (see http://www.freebsd.org/cgi/cvsweb.cgi/src/COPYRIGHT)



CVS commit: src/share/misc

2020-04-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Apr  2 11:09:24 UTC 2020

Modified Files:
src/share/misc: bsd-family-tree

Log Message:
Sync with FreeBSD r359561


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/share/misc/bsd-family-tree

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/bsd-family-tree
diff -u src/share/misc/bsd-family-tree:1.80 src/share/misc/bsd-family-tree:1.81
--- src/share/misc/bsd-family-tree:1.80	Fri Mar 20 03:19:43 2020
+++ src/share/misc/bsd-family-tree	Thu Apr  2 11:09:24 2020
@@ -398,19 +398,21 @@ FreeBSD 5.2   |  |  
  | |  |   |  |   |||
  | |  |   |  |  NetBSD||
  | |  |   |  |   8.1  |DragonFly 5.6
- | |  |   |  |||
- | |  |   |  ||DragonFly 5.6.1
- | |   FreeBSD  macOS|||
- | | 11.3   10.15|||
- |  FreeBSD   |  |OpenBSD 6.6  |
- |   12.1   macOS|||
- | |   10.15.1   ||DragonFly 5.6.2
- | |  |  *--NetBSD||
- | v  |  |   9.0  ||
- ||  |||
- ||  ||DragonFly 5.8
- ||  |||
- ||  ||DragonFly 5.6.3
+ | |  |   |  |   |||
+ | |  |   |  |   ||DragonFly 5.6.1
+ | |   FreeBSD  macOS|   |||
+ | | 11.3   10.15|   |||
+ |  FreeBSD   |  |   |OpenBSD 6.6  |
+ |   12.1   macOS|   `---.||
+ | |   10.15.1   |   ||DragonFly 5.6.2
+ | |  |  *--NetBSD   |||
+ | v  |  |   9.0 |||
+ ||  |   |||
+ ||  |   ||DragonFly 5.8
+ ||  |   |||
+ ||  |   ||DragonFly 5.6.3
+ ||  |NetBSD  ||
+ ||  | 8.2||
  ||  |||
 FreeBSD 13 -current   |  NetBSD -current   OpenBSD -currentDragonFly -current
  ||  |||
@@ -806,6 +808,7 @@ FreeBSD 12.1		2019-11-04 [FBD]
 NetBSD 9.0 		2020-02-14 [NBD]
 DragonFly 5.8 		2020-03-03 [DFB]
 DragonFly 5.6.3 	2020-03-11 [DFB]
+NetBSD 8.2 		2020-03-31 [NBD]
 
 Bibliography
 
@@ -870,5 +873,5 @@ Steven M. Schultz for providing 2.8BSD, 
 Copyright (c) 1997-2012 Wolfram Schneider 
 URL: https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 
-$FreeBSD: head/share/misc/bsd-family-tree 359157 2020-03-20 03:15:23Z sevan $
-$NetBSD: bsd-family-tree,v 1.80 2020/03/20 03:19:43 sevan Exp $
+$FreeBSD: head/share/misc/bsd-family-tree 359561 2020-04-02 11:08:19Z sevan $
+$NetBSD: bsd-family-tree,v 1.81 2020/04/02 11:09:24 sevan Exp $



CVS commit: src/games/fortune/datfiles

2020-04-01 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Apr  2 05:55:02 UTC 2020

Modified Files:
src/games/fortune/datfiles: fortunes

Log Message:
Disks can sense vibes, DTrace confirms it.
https://youtu.be/tDacjrSCeq4


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/games/fortune/datfiles/fortunes

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

Modified files:

Index: src/games/fortune/datfiles/fortunes
diff -u src/games/fortune/datfiles/fortunes:1.88 src/games/fortune/datfiles/fortunes:1.89
--- src/games/fortune/datfiles/fortunes:1.88	Sat Feb 22 19:03:04 2020
+++ src/games/fortune/datfiles/fortunes	Thu Apr  2 05:55:02 2020
@@ -16294,3 +16294,6 @@ Fanfare, n.:
 The food available for consumption at a con.
 %
 Fail we may, sail we must
+%
+Don't shout at your JBODs, they don't like it!
+		-- Brendan Gregg, "Shouting in the Datacenter"



CVS commit: src/doc

2020-03-31 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Mar 31 13:53:44 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
New OpenSSL


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1704 src/doc/3RDPARTY:1.1705
--- src/doc/3RDPARTY:1.1704	Sat Mar 28 19:50:40 2020
+++ src/doc/3RDPARTY	Tue Mar 31 13:53:44 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1704 2020/03/28 19:50:40 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.1705 2020/03/31 13:53:44 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -1088,11 +1088,11 @@ markus is very cooperative about it):
 
 Package:	OpenSSL
 Version:	1.0.2o/1.1.1e
-Current Vers:	1.0.2t/1.1.1e
+Current Vers:	1.0.2t/1.1.1f
 Maintainer:	The OpenSSL Project
 Archive Site:	ftp://ftp.openssl.org/source/
 Home Page:	http://www.openssl.org/
-Date:		2020-03-21
+Date:		2020-03-31
 Mailing List:	openssl-annou...@openssl.org
 Responsible:	christos, mjf, tls, riastradh, spz
 License:	OpenSSL and SSLeay license (both BSD-like)



CVS commit: src/usr.bin/ktrace

2020-03-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Mar 29 17:50:23 UTC 2020

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
tense


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.bin/ktrace/ktrace.1

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

Modified files:

Index: src/usr.bin/ktrace/ktrace.1
diff -u src/usr.bin/ktrace/ktrace.1:1.44 src/usr.bin/ktrace/ktrace.1:1.45
--- src/usr.bin/ktrace/ktrace.1:1.44	Sun Mar 29 17:48:18 2020
+++ src/usr.bin/ktrace/ktrace.1	Sun Mar 29 17:50:23 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ktrace.1,v 1.44 2020/03/29 17:48:18 sevan Exp $
+.\"	$NetBSD: ktrace.1,v 1.45 2020/03/29 17:50:23 sevan Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -277,7 +277,7 @@ on process 67
 .Sh HISTORY
 The
 .Nm
-command appears in
+command appeared in
 .Bx 4.4 .
 The
 .Nm ktrace



CVS commit: src/usr.bin/ktrace

2020-03-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Mar 29 17:48:18 UTC 2020

Modified Files:
src/usr.bin/ktrace: ktrace.1

Log Message:
Document ktrace history


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/ktrace/ktrace.1

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

Modified files:

Index: src/usr.bin/ktrace/ktrace.1
diff -u src/usr.bin/ktrace/ktrace.1:1.43 src/usr.bin/ktrace/ktrace.1:1.44
--- src/usr.bin/ktrace/ktrace.1:1.43	Thu Jan  8 22:03:42 2015
+++ src/usr.bin/ktrace/ktrace.1	Sun Mar 29 17:48:18 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ktrace.1,v 1.43 2015/01/08 22:03:42 riastradh Exp $
+.\"	$NetBSD: ktrace.1,v 1.44 2020/03/29 17:48:18 sevan Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)ktrace.1	8.1 (Berkeley) 6/6/93
 .\"
-.Dd January 8, 2015
+.Dd March 29, 2020
 .Dt KTRACE 1
 .Os
 .Sh NAME
@@ -279,3 +279,7 @@ The
 .Nm
 command appears in
 .Bx 4.4 .
+The
+.Nm ktrace
+command appeared in
+.Nx 1.5 .



CVS commit: src/usr.bin/calendar/calendars

2020-03-27 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Mar 27 21:03:18 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.music

Log Message:
Add higher state of consciousness
https://twitter.com/joshwink1/status/1243360644042113024


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/calendar/calendars/calendar.music

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.music
diff -u src/usr.bin/calendar/calendars/calendar.music:1.22 src/usr.bin/calendar/calendars/calendar.music:1.23
--- src/usr.bin/calendar/calendars/calendar.music:1.22	Sun Feb 23 23:56:15 2020
+++ src/usr.bin/calendar/calendars/calendar.music	Fri Mar 27 21:03:17 2020
@@ -56,6 +56,8 @@
 03/22	Ten Years After plays their last concert, 1974
 03/25	Aretha Franklin is born in Detroit, 1943
 03/26	Emerson, Lake, and Palmer record "Pictures at an Exhibition" live, 1971
+03/26	Josh Wink's "Higher State of Consciousness" released on Strictly Rythm,
+	1995
 03/29	Dr. Hook gets a group picture on the cover of "Rolling Stone", 1973
 03/30	Eric Clapton is born in Surrey, England, 1945
 04/02	Marvin Gaye is born in Washington, D.C., 1939



CVS commit: src/sys/arch

2020-03-24 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Mar 24 17:38:33 UTC 2020

Modified Files:
src/sys/arch/evbarm/conf: MMNET_GENERIC
src/sys/arch/hpcarm/conf: NETBOOKPRO WZERO3

Log Message:
g/c UGEN_BULK_RA_WB which is not a supported option


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/evbarm/conf/MMNET_GENERIC
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/hpcarm/conf/NETBOOKPRO
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/hpcarm/conf/WZERO3

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

Modified files:

Index: src/sys/arch/evbarm/conf/MMNET_GENERIC
diff -u src/sys/arch/evbarm/conf/MMNET_GENERIC:1.48 src/sys/arch/evbarm/conf/MMNET_GENERIC:1.49
--- src/sys/arch/evbarm/conf/MMNET_GENERIC:1.48	Wed Jan 29 18:39:01 2020
+++ src/sys/arch/evbarm/conf/MMNET_GENERIC	Tue Mar 24 17:38:33 2020
@@ -1,4 +1,4 @@
-# $NetBSD: MMNET_GENERIC,v 1.48 2020/01/29 18:39:01 maya Exp $
+# $NetBSD: MMNET_GENERIC,v 1.49 2020/03/24 17:38:33 sevan Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include		"arch/evbarm/conf/std.mmnet"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.48 $"
+#ident 		"GENERIC-$Revision: 1.49 $"
 
 maxusers	32		# estimated number of users
 
@@ -472,8 +472,6 @@ ucom*	at uvscom? portno ?
 
 # USB Generic driver
 #ugen*	at uhub? port ?
-# On ugen bulk endpoints, perform read-ahead and write-behind.
-#options UGEN_BULK_RA_WB
 
 
 # IrDA and Consumer Ir devices

Index: src/sys/arch/hpcarm/conf/NETBOOKPRO
diff -u src/sys/arch/hpcarm/conf/NETBOOKPRO:1.30 src/sys/arch/hpcarm/conf/NETBOOKPRO:1.31
--- src/sys/arch/hpcarm/conf/NETBOOKPRO:1.30	Sun Jan 19 01:25:05 2020
+++ src/sys/arch/hpcarm/conf/NETBOOKPRO	Tue Mar 24 17:38:33 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: NETBOOKPRO,v 1.30 2020/01/19 01:25:05 thorpej Exp $
+#	$NetBSD: NETBOOKPRO,v 1.31 2020/03/24 17:38:33 sevan Exp $
 #
 #	NETBOOKPRO -- Psion Teklogix NETBOOK PRO
 #
@@ -8,7 +8,7 @@ include	"arch/hpcarm/conf/files.netbookp
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.30 $"
+#ident 		"GENERIC-$Revision: 1.31 $"
 
 # estimated number of users
 maxusers	32
@@ -268,8 +268,6 @@ ubt*	at uhub? port ?
 
 # USB Generic driver
 ugen*	at uhub? port ?
-# On ugen bulk endpoints, perform read-ahead and write-behind.
-options 	UGEN_BULK_RA_WB
 
 # Bluetooth Device Hub
 bthub* at bcsp?

Index: src/sys/arch/hpcarm/conf/WZERO3
diff -u src/sys/arch/hpcarm/conf/WZERO3:1.51 src/sys/arch/hpcarm/conf/WZERO3:1.52
--- src/sys/arch/hpcarm/conf/WZERO3:1.51	Sun Jan 19 01:25:05 2020
+++ src/sys/arch/hpcarm/conf/WZERO3	Tue Mar 24 17:38:33 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: WZERO3,v 1.51 2020/01/19 01:25:05 thorpej Exp $
+#	$NetBSD: WZERO3,v 1.52 2020/03/24 17:38:33 sevan Exp $
 #
 #	WZERO3 -- Sharp Windows Mobile 5 based PDA
 #
@@ -8,7 +8,7 @@ include	"arch/hpcarm/conf/files.wzero3"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.51 $"
+#ident 		"GENERIC-$Revision: 1.52 $"
 
 # estimated number of users
 maxusers	32
@@ -271,8 +271,6 @@ uk*	at scsibus? target ? lun ?	# SCSI un
 
 # USB Generic driver
 ugen*	at uhub? port ?
-# On ugen bulk endpoints, perform read-ahead and write-behind.
-#options 	UGEN_BULK_RA_WB
 
 
 # Pseudo-devices



CVS commit: src/sys/dev/pci

2020-03-20 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Mar 20 17:19:25 UTC 2020

Modified Files:
src/sys/dev/pci: if_wpi.c if_wpivar.h

Log Message:
Apply the same change as for if_iwi.c r1.114 here.

This driver sleeps during wpi_media_change(), and thus requires an adaptive
mutex for the media lock.


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/pci/if_wpi.c
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/pci/if_wpivar.h

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

Modified files:

Index: src/sys/dev/pci/if_wpi.c
diff -u src/sys/dev/pci/if_wpi.c:1.88 src/sys/dev/pci/if_wpi.c:1.89
--- src/sys/dev/pci/if_wpi.c:1.88	Thu Jan 30 06:10:26 2020
+++ src/sys/dev/pci/if_wpi.c	Fri Mar 20 17:19:25 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_wpi.c,v 1.88 2020/01/30 06:10:26 thorpej Exp $	*/
+/*	$NetBSD: if_wpi.c,v 1.89 2020/03/20 17:19:25 sevan Exp $	*/
 
 /*-
  * Copyright (c) 2006, 2007
@@ -18,7 +18,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_wpi.c,v 1.88 2020/01/30 06:10:26 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wpi.c,v 1.89 2020/03/20 17:19:25 sevan Exp $");
 
 /*
  * Driver for Intel PRO/Wireless 3945ABG 802.11 network adapters.
@@ -387,7 +387,11 @@ wpi_attach(device_t parent __unused, dev
 	/* override state transition machine */
 	sc->sc_newstate = ic->ic_newstate;
 	ic->ic_newstate = wpi_newstate;
-	ieee80211_media_init(ic, wpi_media_change, ieee80211_media_status);
+
+	/* XXX media locking needs revisiting */
+	mutex_init(>sc_media_mtx, MUTEX_DEFAULT, IPL_SOFTNET);
+	ieee80211_media_init_with_lock(ic,
+	wpi_media_change, ieee80211_media_status, >sc_media_mtx);
 
 	sc->amrr.amrr_min_success_threshold =  1;
 	sc->amrr.amrr_max_success_threshold = 15;

Index: src/sys/dev/pci/if_wpivar.h
diff -u src/sys/dev/pci/if_wpivar.h:1.22 src/sys/dev/pci/if_wpivar.h:1.23
--- src/sys/dev/pci/if_wpivar.h:1.22	Mon Aug 20 04:50:56 2018
+++ src/sys/dev/pci/if_wpivar.h	Fri Mar 20 17:19:25 2020
@@ -1,4 +1,4 @@
-/*  $NetBSD: if_wpivar.h,v 1.22 2018/08/20 04:50:56 riastradh Exp $*/
+/*  $NetBSD: if_wpivar.h,v 1.23 2020/03/20 17:19:25 sevan Exp $*/
 
 /*-
  * Copyright (c) 2006
@@ -172,6 +172,8 @@ struct wpi_softc {
 
 	struct bpf_if *		sc_drvbpf;
 
+	kmutex_t 		sc_media_mtx;	/* XXX */
+
 	union {
 		struct wpi_rx_radiotap_header th;
 		uint8_t pad[IEEE80211_RADIOTAP_HDRLEN];



CVS commit: src/sys/dev/pci

2020-03-20 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Mar 20 16:35:41 UTC 2020

Modified Files:
src/sys/dev/pci: if_iwn.c if_iwnvar.h

Log Message:
Apply the same change as for if_iwi.c r1.114 here, as part of kern/55090.

This driver sleeps during iwn_media_change(), and thus requires an adaptive
mutex for the media lock.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/dev/pci/if_iwn.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/pci/if_iwnvar.h

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

Modified files:

Index: src/sys/dev/pci/if_iwn.c
diff -u src/sys/dev/pci/if_iwn.c:1.93 src/sys/dev/pci/if_iwn.c:1.94
--- src/sys/dev/pci/if_iwn.c:1.93	Thu Jan 30 06:03:34 2020
+++ src/sys/dev/pci/if_iwn.c	Fri Mar 20 16:35:41 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_iwn.c,v 1.93 2020/01/30 06:03:34 thorpej Exp $	*/
+/*	$NetBSD: if_iwn.c,v 1.94 2020/03/20 16:35:41 sevan Exp $	*/
 /*	$OpenBSD: if_iwn.c,v 1.135 2014/09/10 07:22:09 dcoppa Exp $	*/
 
 /*-
@@ -22,7 +22,7 @@
  * adapters.
  */
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_iwn.c,v 1.93 2020/01/30 06:03:34 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwn.c,v 1.94 2020/03/20 16:35:41 sevan Exp $");
 
 #define IWN_USE_RBUF	/* Use local storage for RX */
 #undef IWN_HWCRYPTO	/* XXX does not even compile yet */
@@ -614,7 +614,11 @@ iwn_attach(device_t parent __unused, dev
 	/* Override 802.11 state transition machine. */
 	sc->sc_newstate = ic->ic_newstate;
 	ic->ic_newstate = iwn_newstate;
-	ieee80211_media_init(ic, iwn_media_change, ieee80211_media_status);
+
+	/* XXX media locking needs revisiting */
+	mutex_init(>sc_media_mtx, MUTEX_DEFAULT, IPL_SOFTNET);
+	ieee80211_media_init_with_lock(ic,
+	iwn_media_change, ieee80211_media_status, >sc_media_mtx);
 
 	sc->amrr.amrr_min_success_threshold =  1;
 	sc->amrr.amrr_max_success_threshold = 15;

Index: src/sys/dev/pci/if_iwnvar.h
diff -u src/sys/dev/pci/if_iwnvar.h:1.21 src/sys/dev/pci/if_iwnvar.h:1.22
--- src/sys/dev/pci/if_iwnvar.h:1.21	Sat Oct  5 23:27:20 2019
+++ src/sys/dev/pci/if_iwnvar.h	Fri Mar 20 16:35:41 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_iwnvar.h,v 1.21 2019/10/05 23:27:20 mrg Exp $	*/
+/*	$NetBSD: if_iwnvar.h,v 1.22 2020/03/20 16:35:41 sevan Exp $	*/
 /*	$OpenBSD: if_iwnvar.h,v 1.28 2014/09/09 18:55:08 sthen Exp $	*/
 
 /*-
@@ -324,6 +324,8 @@ struct iwn_softc {
 
 	struct bpf_if *		sc_drvbpf;
 
+	kmutex_t 		sc_media_mtx;	/* XXX */
+
 	union {
 		struct iwn_rx_radiotap_header th;
 		uint8_t	pad[IEEE80211_RADIOTAP_HDRLEN];



CVS commit: src/doc

2020-03-19 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Mar 20 03:21:14 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
bsd-family-tree


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1699 src/doc/3RDPARTY:1.1700
--- src/doc/3RDPARTY:1.1699	Wed Mar 18 19:34:15 2020
+++ src/doc/3RDPARTY	Fri Mar 20 03:21:14 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1699 2020/03/18 19:34:15 wiz Exp $
+#	$NetBSD: 3RDPARTY,v 1.1700 2020/03/20 03:21:14 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -195,12 +195,12 @@ Todo[4]: Re-entrant functions of net/*
 Todo[5]: Reconcile the doc directory.
 
 Package:	bsd-family-tree
-Version:	358264
-Current Vers:	358264
+Version:	359157
+Current Vers:	359157
 Maintainer:	The FreeBSD Project
 Archive Site:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 Home Page:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
-Date:		2020-02-23
+Date:		2020-03-20
 Mailing List:
 Responsible:
 License:	BSD (2-clause) (see http://www.freebsd.org/cgi/cvsweb.cgi/src/COPYRIGHT)



CVS commit: src/share/misc

2020-03-19 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Mar 20 03:19:43 UTC 2020

Modified Files:
src/share/misc: bsd-family-tree

Log Message:
Update to r359157 from FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/share/misc/bsd-family-tree

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/bsd-family-tree
diff -u src/share/misc/bsd-family-tree:1.79 src/share/misc/bsd-family-tree:1.80
--- src/share/misc/bsd-family-tree:1.79	Sun Feb 23 23:31:55 2020
+++ src/share/misc/bsd-family-tree	Fri Mar 20 03:19:43 2020
@@ -408,6 +408,10 @@ FreeBSD 5.2   |  |  
  | |  |  *--NetBSD||
  | v  |  |   9.0  ||
  ||  |||
+ ||  ||DragonFly 5.8
+ ||  |||
+ ||  ||DragonFly 5.6.3
+ ||  |||
 FreeBSD 13 -current   |  NetBSD -current   OpenBSD -currentDragonFly -current
  ||  |||
  vv  vvv
@@ -800,6 +804,8 @@ macOS 10.15		2019-10-07 [APL]
 macOS 10.15.1		2019-10-29 [APL] (security/critical release)
 FreeBSD 12.1		2019-11-04 [FBD]
 NetBSD 9.0 		2020-02-14 [NBD]
+DragonFly 5.8 		2020-03-03 [DFB]
+DragonFly 5.6.3 	2020-03-11 [DFB]
 
 Bibliography
 
@@ -864,5 +870,5 @@ Steven M. Schultz for providing 2.8BSD, 
 Copyright (c) 1997-2012 Wolfram Schneider 
 URL: https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 
-$FreeBSD: head/share/misc/bsd-family-tree 358264 2020-02-23 23:29:53Z sevan $
-$NetBSD: bsd-family-tree,v 1.79 2020/02/23 23:31:55 sevan Exp $
+$FreeBSD: head/share/misc/bsd-family-tree 359157 2020-03-20 03:15:23Z sevan $
+$NetBSD: bsd-family-tree,v 1.80 2020/03/20 03:19:43 sevan Exp $



CVS commit: src/usr.bin/calendar/calendars

2020-03-19 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Mar 19 07:20:36 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.computer

Log Message:
Note the birthday of Symbolics.com


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/calendar/calendars/calendar.computer

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.computer
diff -u src/usr.bin/calendar/calendars/calendar.computer:1.11 src/usr.bin/calendar/calendars/calendar.computer:1.12
--- src/usr.bin/calendar/calendars/calendar.computer:1.11	Mon Feb 24 00:02:55 2020
+++ src/usr.bin/calendar/calendars/calendar.computer	Thu Mar 19 07:20:36 2020
@@ -23,6 +23,7 @@
 03/04	First Cray-1 shipped to Los Alamos, 1976
 03/09	"GOTO considered harmful" (E.J. Dijkstra) published in CACM, 1968
 03/14	LISP introduced, 1960
+03/15	Symbolics.com, the first .com domain registered, 1985 
 03/21	NetBSD project born, 1993
 03/28	DEC announces PDP-11, 1970
 03/31	Eckert-Mauchly Computer Corp. founded, Phila, 1946



CVS commit: src/usr.bin/whois

2020-02-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Mar  1 02:45:04 UTC 2020

Modified Files:
src/usr.bin/whois: Makefile

Log Message:
RIPE definition no longer exists in source


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/whois/Makefile

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

Modified files:

Index: src/usr.bin/whois/Makefile
diff -u src/usr.bin/whois/Makefile:1.7 src/usr.bin/whois/Makefile:1.8
--- src/usr.bin/whois/Makefile:1.7	Tue Apr 14 22:15:29 2009
+++ src/usr.bin/whois/Makefile	Sun Mar  1 02:45:04 2020
@@ -1,9 +1,8 @@
-#	$NetBSD: Makefile,v 1.7 2009/04/14 22:15:29 lukem Exp $
+#	$NetBSD: Makefile,v 1.8 2020/03/01 02:45:04 sevan Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 
 USE_FORT?= yes	# network client
 
 PROG=		whois
-CPPFLAGS+=	-DRIPE
 
 .include 



CVS commit: src/usr.bin/whois

2020-02-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Mar  1 02:26:16 UTC 2020

Modified Files:
src/usr.bin/whois: whois.c

Log Message:
Order caps first


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/usr.bin/whois/whois.c

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

Modified files:

Index: src/usr.bin/whois/whois.c
diff -u src/usr.bin/whois/whois.c:1.37 src/usr.bin/whois/whois.c:1.38
--- src/usr.bin/whois/whois.c:1.37	Sun Mar  1 02:19:43 2020
+++ src/usr.bin/whois/whois.c	Sun Mar  1 02:26:16 2020
@@ -1,4 +1,4 @@
-/*  $NetBSD: whois.c,v 1.37 2020/03/01 02:19:43 sevan Exp $*/
+/*  $NetBSD: whois.c,v 1.38 2020/03/01 02:26:16 sevan Exp $*/
 /*  $OpenBSD: whois.c,v 1.58 2018/06/19 11:28:11 jca Exp $   */
 
 /*
@@ -41,7 +41,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
 #if 0
 static const char sccsid[] = "@(#)whois.c	8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: whois.c,v 1.37 2020/03/01 02:19:43 sevan Exp $");
+__RCSID("$NetBSD: whois.c,v 1.38 2020/03/01 02:26:16 sevan Exp $");
 #endif
 #endif /* not lint */
 
@@ -99,7 +99,7 @@ main(int argc, char *argv[])
 
 	country = host = NULL;
 	flags = rval = 0;
-	while ((ch = getopt(argc, argv, "aAc:dfgh:Iilmp:PqQRr")) != -1)
+	while ((ch = getopt(argc, argv, "Aac:dfgh:Iilmp:PqQRr")) != -1)
 		switch (ch) {
 		case 'a':
 			host = ANICHOST;



CVS commit: src/usr.bin/whois

2020-02-29 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Mar  1 02:19:43 UTC 2020

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

Log Message:
Merge in changes from OpenBSD 6.6 whois(1).
This improves recursion support and querying whois servers.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/whois/whois.1
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/whois/whois.c

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

Modified files:

Index: src/usr.bin/whois/whois.1
diff -u src/usr.bin/whois/whois.1:1.26 src/usr.bin/whois/whois.1:1.27
--- src/usr.bin/whois/whois.1:1.26	Thu Mar 15 22:35:03 2012
+++ src/usr.bin/whois/whois.1	Sun Mar  1 02:19:43 2020
@@ -1,8 +1,8 @@
-.\" $NetBSD: whois.1,v 1.26 2012/03/15 22:35:03 njoly Exp $
-.\"	$OpenBSD: whois.1,v 1.22 2003/09/02 18:50:07 jmc Exp $
+.\" $NetBSD: whois.1,v 1.27 2020/03/01 02:19:43 sevan Exp $
+.\" $OpenBSD: whois.1,v 1.36 2016/02/20 20:52:50 naddy Exp $
 .\"
 .\" Copyright (c) 1985, 1990, 1993
-.\"	The Regents of the University of California.  All rights reserved.
+.\"The Regents of the University of California.  All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
@@ -30,7 +30,7 @@
 .\"
 .\" @(#)whois.1	8.2 (Berkeley) 6/20/94
 .\"
-.Dd September 9, 2007
+.Dd March 1, 2020
 .Dt WHOIS 1
 .Os
 .Sh NAME
@@ -38,12 +38,12 @@
 .Nd Internet domain name and network number directory service
 .Sh SYNOPSIS
 .Nm whois
-.Op Fl 6AadfgilmQRr
+.Op Fl AadfgIilmPQRr
 .Oo
 .Fl c Ar country-code | Fl h Ar host
 .Oc
 .Op Fl p Ar port
-.Ar name Op Ar ...
+.Ar name ...
 .Sh DESCRIPTION
 The
 .Nm
@@ -53,11 +53,6 @@ Network Information Centers
 .Pp
 The options are as follows:
 .Bl -tag -width Ds
-.It Fl 6
-Use the IPv6 Resource Center
-.Pq Tn 6bone
-database.
-It contains network names and addresses for the IPv6 network.
 .It Fl A
 Use the Asia/Pacific Network Information Center
 .Pq Tn APNIC
@@ -69,11 +64,11 @@ Use the American Registry for Internet N
 .Pq Tn ARIN
 database.
 It contains network numbers used in those parts of the world
-not covered by
+covered neither by
 .Tn AfriNIC ,
 .Tn APNIC ,
-.Tn LACNIC
-or by
+.Tn LACNIC ,
+nor by
 .Tn RIPE .
 .Pp
 (Hint: All point of contact handles in the
@@ -107,8 +102,11 @@ By default
 .Nm
 constructs the name of a whois server to use from the top-level domain
 .Pq Tn TLD
-of the supplied (single) argument, and appending
-.Qq Li .whois-servers.net .
+of the supplied (single) argument.
+For newer generic domains (gTLDs), a lookup for whois.nic.tld is attempted.
+For other TLDs, or if this lookup fails,
+.Qq Li .whois-servers.net
+is appended to the TLD.
 This effectively allows a suitable whois server to be selected
 automatically for a large number of
 .Tn TLDs .
@@ -131,6 +129,11 @@ If the query is not a domain name or IP 
 .Nm
 will fall back to
 .Pa whois.crsnic.net .
+.It Fl I
+Use the Internet Assigned Numbers Authority
+.Pq whois.iana.org
+root zone database.
+It contains information about top-level domains.
 .It Fl i
 Use the Network Solutions Registry for Internet Numbers
 .Pq Tn whois.networksolutions.com
@@ -175,6 +178,10 @@ Use the Route Arbiter Database
 database.
 It contains route policy specifications for a large
 number of operators' networks.
+.It Fl P
+Use the PeeringDB database of AS numbers.
+It contains details about presence at internet peering points
+for many network operators.
 .It Fl p Ar port
 Connect to the whois server on
 .Ar port .
@@ -277,15 +284,6 @@ but other
 .Tn TLDs
 can be queried by using a similar syntax.)
 .Pp
-The following example demonstrates how to obtain information about an
-.Tn IPv6
-address or hostname using the
-.Fl 6
-option, which directs the query to
-.Tn 6bone .
-.Pp
-.Dl "whois -6 IPv6-IP-Address"
-.Pp
 The following example demonstrates how to query
 a whois server using a non-standard port, where
 .Dq Li query-data
@@ -296,13 +294,21 @@ on port
 (written numerically as 4321).
 .Pp
 .Dl "whois -h whois.example.com -p rwhois query-data"
-.Sh SEE ALSO
+.Sh STANDARDS
 .Rs
-.%A Ken Harrenstien
-.%A Vic White
+.%A K. Harrenstien
+.%A M. Stahl
+.%A E. Feinler
+.%D October 1985
+.%R RFC 954
 .%T NICNAME/WHOIS
-.%D 1 March 1982
-.%O RFC 812
+.Re
+.Pp
+.Rs
+.%A L. Daigle
+.%D September 2004
+.%R RFC 3912
+.%T WHOIS Protocol Specification
 .Re
 .Sh HISTORY
 The

Index: src/usr.bin/whois/whois.c
diff -u src/usr.bin/whois/whois.c:1.36 src/usr.bin/whois/whois.c:1.37
--- src/usr.bin/whois/whois.c:1.36	Wed Feb 20 09:27:52 2013
+++ src/usr.bin/whois/whois.c	Sun Mar  1 02:19:43 2020
@@ -1,5 +1,5 @@
-/*  $NetBSD: whois.c,v 1.36 2013/02/20 09:27:52 ws Exp $   */
-/*	$OpenBSD: whois.c,v 1.28 2003/09/18 22:16:15 fgsch Exp $	*/
+/*  $NetBSD: whois.c,v 1.37 2020/03/01 02:19:43 sevan Exp $*/
+/*  $OpenBSD: whois.c,v 1.58 2018/06/19 11:28:11 jca Exp $   

CVS commit: src/sys/dev/pci

2020-02-27 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Feb 27 23:15:34 UTC 2020

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

Log Message:
Cast to make up for the difference in type between our bus_dma_map(9) and
theirs. Where we expect kvap to be of void **, they expect caddr_t (typedef 
char *).


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/pci/if_rge.c

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

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.7 src/sys/dev/pci/if_rge.c:1.8
--- src/sys/dev/pci/if_rge.c:1.7	Thu Feb 27 22:58:57 2020
+++ src/sys/dev/pci/if_rge.c	Thu Feb 27 23:15:34 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rge.c,v 1.7 2020/02/27 22:58:57 sevan Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.8 2020/02/27 23:15:34 sevan Exp $	*/
 /*	$OpenBSD: if_rge.c,v 1.2 2020/01/02 09:00:45 kevlo Exp $	*/
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.7 2020/02/27 22:58:57 sevan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.8 2020/02/27 23:15:34 sevan Exp $");
 
 /* #include "vlan.h" Sevan */
 
@@ -968,7 +968,7 @@ rge_allocmem(struct rge_softc *sc)
 	/* Load the map for the TX ring. */
 	error = bus_dmamem_map(sc->sc_dmat, >rge_ldata.rge_tx_listseg,
 	sc->rge_ldata.rge_tx_listnseg, RGE_TX_LIST_SZ,
-	>rge_ldata.rge_tx_list,
+	(void **) >rge_ldata.rge_tx_list,
 	BUS_DMA_NOWAIT); /* XXX OpenBSD adds BUS_DMA_COHERENT */
 	if (error) {
 		printf("%s: can't map TX dma buffers\n", sc->sc_dev.dv_xname);
@@ -1018,7 +1018,7 @@ rge_allocmem(struct rge_softc *sc)
 	/* Load the map for the RX ring. */
 	error = bus_dmamem_map(sc->sc_dmat, >rge_ldata.rge_rx_listseg,
 	sc->rge_ldata.rge_rx_listnseg, RGE_RX_LIST_SZ,
-	>rge_ldata.rge_rx_list,
+	(void **) >rge_ldata.rge_rx_list,
 	BUS_DMA_NOWAIT);  /* XXX OpenBSD adds BUS_DMA_COHERENT */
 	if (error) {
 		printf("%s: can't map RX dma buffers\n", sc->sc_dev.dv_xname);



CVS commit: src/sys/dev/pci

2020-02-27 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Feb 27 22:58:58 UTC 2020

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

Log Message:
Add an implementation of MCLGETI.
Borrowed from sys/dev/pci/if_bwfm_pci.c


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/if_rge.c

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

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.6 src/sys/dev/pci/if_rge.c:1.7
--- src/sys/dev/pci/if_rge.c:1.6	Thu Feb 13 23:05:53 2020
+++ src/sys/dev/pci/if_rge.c	Thu Feb 27 22:58:57 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rge.c,v 1.6 2020/02/13 23:05:53 sevan Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.7 2020/02/27 22:58:57 sevan Exp $	*/
 /*	$OpenBSD: if_rge.c,v 1.2 2020/01/02 09:00:45 kevlo Exp $	*/
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.6 2020/02/13 23:05:53 sevan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.7 2020/02/27 22:58:57 sevan Exp $");
 
 /* #include "vlan.h" Sevan */
 
@@ -70,6 +70,25 @@ struct mbuf_list {
 	struct mbuf 	*ml_tail;
 	u_int 	ml_len;
 };
+
+static struct mbuf *
+MCLGETI(struct rge_softc *sc __unused, int how,
+struct ifnet *ifp __unused, u_int size)
+{
+	struct mbuf *m;
+
+	MGETHDR(m, how, MT_DATA);
+	if (m == NULL)
+		return NULL;
+
+	MEXTMALLOC(m, size, how);
+	if ((m->m_flags & M_EXT) == 0) {
+		m_freem(m);
+		return NULL;
+	}
+	return m;
+}
+
 #ifdef NET_MPSAFE
 #define 	RGE_MPSAFE	1
 #define 	CALLOUT_FLAGS	CALLOUT_MPSAFE



CVS commit: src/share/misc

2020-02-26 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Feb 26 23:38:09 UTC 2020

Modified Files:
src/share/misc: acronyms.comp

Log Message:
SSTP


To generate a diff of this commit:
cvs rdiff -u -r1.298 -r1.299 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.298 src/share/misc/acronyms.comp:1.299
--- src/share/misc/acronyms.comp:1.298	Sat Feb  8 00:47:57 2020
+++ src/share/misc/acronyms.comp	Wed Feb 26 23:38:08 2020
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.298 2020/02/08 00:47:57 sevan Exp $
+$NetBSD: acronyms.comp,v 1.299 2020/02/26 23:38:08 sevan Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -1531,6 +1531,7 @@ SSFDC	solid state floppy disc card
 SSH	secure shell
 SSI	server side includes
 SSID	service set identifier
+SSTP 	secure socket tunneling protocol
 SSL	secure sockets layer
 SSP	stack smashing protection
 STC	software thermal control



CVS commit: src/usr.bin/calendar/calendars

2020-02-23 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Feb 24 00:02:55 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.computer

Log Message:
Add K publish date
https://twitter.com/MIT_CSAIL/status/1231263883303645184


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/calendar/calendars/calendar.computer

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.computer
diff -u src/usr.bin/calendar/calendars/calendar.computer:1.10 src/usr.bin/calendar/calendars/calendar.computer:1.11
--- src/usr.bin/calendar/calendars/calendar.computer:1.10	Sat Feb  8 00:41:42 2020
+++ src/usr.bin/calendar/calendars/calendar.computer	Mon Feb 24 00:02:55 2020
@@ -18,6 +18,7 @@
 02/11	Last day of JOSS service at RAND Corp., 1966
 02/14	First micro-on-a-chip patented (TI), 1978
 02/15	ENIAC demonstrated, 1946
+02/22	The C Programming Language book is published, 1978
 03/01	First NPL (later PL/I) report published, 1964
 03/04	First Cray-1 shipped to Los Alamos, 1976
 03/09	"GOTO considered harmful" (E.J. Dijkstra) published in CACM, 1968



CVS commit: src/usr.bin/calendar/calendars

2020-02-23 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Feb 23 23:56:15 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.music

Log Message:
Add The KLF's Chill Out


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/calendar/calendars/calendar.music

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.music
diff -u src/usr.bin/calendar/calendars/calendar.music:1.21 src/usr.bin/calendar/calendars/calendar.music:1.22
--- src/usr.bin/calendar/calendars/calendar.music:1.21	Mon Feb 17 21:47:33 2020
+++ src/usr.bin/calendar/calendars/calendar.music	Sun Feb 23 23:56:15 2020
@@ -23,6 +23,7 @@
 02/02	Graham Nash is born in Lancashire, England, 1942
 02/03	The Day The Music Died; Buddy Holly, Richie Valens, and the Big
 	Bopper are killed in a plane crash outside Mason City, Iowa, 1959
+02/05	The KLF's "Chill Out" is released, 1990
 02/07	Beatles land at JFK airport to begin first U.S. tour, 1964
 02/07	Steven Stills makes the first digitally recorded rock album, 1979
 02/08	John Towner Williams born in New York City, 1932; composer



CVS commit: src/doc

2020-02-23 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Feb 23 23:32:57 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
bsd-family-tree


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1692 src/doc/3RDPARTY:1.1693
--- src/doc/3RDPARTY:1.1692	Sat Feb 22 23:40:05 2020
+++ src/doc/3RDPARTY	Sun Feb 23 23:32:57 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1692 2020/02/22 23:40:05 sevan Exp $
+#	$NetBSD: 3RDPARTY,v 1.1693 2020/02/23 23:32:57 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -195,12 +195,12 @@ Todo[4]: Re-entrant functions of net/*
 Todo[5]: Reconcile the doc directory.
 
 Package:	bsd-family-tree
-Version:	358254
-Current Vers:	358254
+Version:	358264
+Current Vers:	358264
 Maintainer:	The FreeBSD Project
 Archive Site:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 Home Page:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
-Date:		2020-02-22
+Date:		2020-02-23
 Mailing List:
 Responsible:
 License:	BSD (2-clause) (see http://www.freebsd.org/cgi/cvsweb.cgi/src/COPYRIGHT)



CVS commit: src/share/misc

2020-02-23 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Feb 23 23:31:55 UTC 2020

Modified Files:
src/share/misc: bsd-family-tree

Log Message:
Sync with r358264 which fixes NetBSD 9.0 release


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 src/share/misc/bsd-family-tree

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/bsd-family-tree
diff -u src/share/misc/bsd-family-tree:1.78 src/share/misc/bsd-family-tree:1.79
--- src/share/misc/bsd-family-tree:1.78	Sat Feb 22 23:38:04 2020
+++ src/share/misc/bsd-family-tree	Sun Feb 23 23:31:55 2020
@@ -799,7 +799,7 @@ OpenBSD 6.6		2019-10-17 [OBD]
 macOS 10.15		2019-10-07 [APL]
 macOS 10.15.1		2019-10-29 [APL] (security/critical release)
 FreeBSD 12.1		2019-11-04 [FBD]
-NetBSD 9.0 		2020-02-15 [NBD]
+NetBSD 9.0 		2020-02-14 [NBD]
 
 Bibliography
 
@@ -864,5 +864,5 @@ Steven M. Schultz for providing 2.8BSD, 
 Copyright (c) 1997-2012 Wolfram Schneider 
 URL: https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 
-$FreeBSD: head/share/misc/bsd-family-tree 358254 2020-02-22 23:36:10Z sevan $
-$NetBSD: bsd-family-tree,v 1.78 2020/02/22 23:38:04 sevan Exp $
+$FreeBSD: head/share/misc/bsd-family-tree 358264 2020-02-23 23:29:53Z sevan $
+$NetBSD: bsd-family-tree,v 1.79 2020/02/23 23:31:55 sevan Exp $



CVS commit: src/doc

2020-02-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb 22 23:40:06 UTC 2020

Modified Files:
src/doc: 3RDPARTY

Log Message:
bsd-family-tree


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1691 src/doc/3RDPARTY:1.1692
--- src/doc/3RDPARTY:1.1691	Tue Feb 18 21:14:16 2020
+++ src/doc/3RDPARTY	Sat Feb 22 23:40:05 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1691 2020/02/18 21:14:16 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.1692 2020/02/22 23:40:05 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -195,12 +195,12 @@ Todo[4]: Re-entrant functions of net/*
 Todo[5]: Reconcile the doc directory.
 
 Package:	bsd-family-tree
-Version:	355063
-Current Vers:	355063
+Version:	358254
+Current Vers:	358254
 Maintainer:	The FreeBSD Project
 Archive Site:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 Home Page:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
-Date:		2019-12-23
+Date:		2020-02-22
 Mailing List:
 Responsible:
 License:	BSD (2-clause) (see http://www.freebsd.org/cgi/cvsweb.cgi/src/COPYRIGHT)



CVS commit: src/share/misc

2020-02-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb 22 23:38:04 UTC 2020

Modified Files:
src/share/misc: bsd-family-tree

Log Message:
Sync with FreeBSD r358254


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/share/misc/bsd-family-tree

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/bsd-family-tree
diff -u src/share/misc/bsd-family-tree:1.77 src/share/misc/bsd-family-tree:1.78
--- src/share/misc/bsd-family-tree:1.77	Mon Dec 23 23:11:01 2019
+++ src/share/misc/bsd-family-tree	Sat Feb 22 23:38:04 2020
@@ -388,11 +388,11 @@ FreeBSD 5.2   |  |  
  ||   |  |   | |  |DragonFly 5.2.2
  | FreeBSD|  |   | *--NetBSD  ||
  |   11.2 |  |   | 7.2||
- || macOS|   | |  ||
- || 10.14|   | |  OpenBSD 6.4  |
- ||   |  |   | |  ||
- ||   |  |   | |  |DragonFly 5.4.0
- *--FreeBSD   |   |  |   | v  ||
+ || macOS|   |||
+ || 10.14|   |OpenBSD 6.4  |
+ ||   |  |   |||
+ ||   |  |   ||DragonFly 5.4.0
+ *--FreeBSD   |   |  |   |||
  |   12.0 |   |  |   ||DragonFly 5.4.1
  | |  |   |  |   |OpenBSD 6.5  |
  | |  |   |  |   |||
@@ -405,7 +405,8 @@ FreeBSD 5.2   |  |  
  |  FreeBSD   |  |OpenBSD 6.6  |
  |   12.1   macOS|||
  | |   10.15.1   ||DragonFly 5.6.2
- | v  |  |||
+ | |  |  *--NetBSD||
+ | v  |  |   9.0  ||
  ||  |||
 FreeBSD 13 -current   |  NetBSD -current   OpenBSD -currentDragonFly -current
  ||  |||
@@ -798,6 +799,7 @@ OpenBSD 6.6		2019-10-17 [OBD]
 macOS 10.15		2019-10-07 [APL]
 macOS 10.15.1		2019-10-29 [APL] (security/critical release)
 FreeBSD 12.1		2019-11-04 [FBD]
+NetBSD 9.0 		2020-02-15 [NBD]
 
 Bibliography
 
@@ -862,5 +864,5 @@ Steven M. Schultz for providing 2.8BSD, 
 Copyright (c) 1997-2012 Wolfram Schneider 
 URL: https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 
-$FreeBSD: head/share/misc/bsd-family-tree 355063 2019-11-24 19:16:57Z eadler $
-$NetBSD: bsd-family-tree,v 1.77 2019/12/23 23:11:01 sevan Exp $
+$FreeBSD: head/share/misc/bsd-family-tree 358254 2020-02-22 23:36:10Z sevan $
+$NetBSD: bsd-family-tree,v 1.78 2020/02/22 23:38:04 sevan Exp $



CVS commit: src/usr.bin/calendar/calendars

2020-02-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb 22 23:17:59 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday

Log Message:
Add Ken Kesey


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/calendar/calendars/calendar.birthday

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.birthday
diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.40 src/usr.bin/calendar/calendars/calendar.birthday:1.41
--- src/usr.bin/calendar/calendars/calendar.birthday:1.40	Sat Feb 22 19:25:25 2020
+++ src/usr.bin/calendar/calendars/calendar.birthday	Sat Feb 22 23:17:59 2020
@@ -216,6 +216,7 @@
 09/13	Walter Reed born, 1851
 09/15	Agatha Christie born in Torquay, England, 1890
 09/16	Allen Funt born in Brooklyn, NY, 1914
+09/17	Kenneth Elton Kesey was born in La Junta, Colorado, 1935
 09/18	Greta Garbo born, 1905
 09/20	Upton (Beall) Sinclair born, 1878
 09/21	H.G. (Herbert George) Wells born in Bromley, England, 1866
@@ -258,6 +259,7 @@
 11/05	Roy Rogers born, 1912
 11/08	Aaron Hillel Swartz was born in Highland Park, Illinois, 1986
 11/09	Carl Sagan born, 1934
+11/10	Kenneth Elton Kesey died in Eugene, Oregon, 2001
 11/10	Martin Luther born in Eisleben, Germany, 1483
 11/10	Soviet President Leonid Brezhnev dies at age 75, 1982
 11/11	Kurt Vonnegut, Jr, born in Indianapolis, 1922



CVS commit: src/usr.bin/calendar/calendars

2020-02-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb 22 19:25:25 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday

Log Message:
Add Ivan Sutherland's birthday


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/usr.bin/calendar/calendars/calendar.birthday

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.birthday
diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.39 src/usr.bin/calendar/calendars/calendar.birthday:1.40
--- src/usr.bin/calendar/calendars/calendar.birthday:1.39	Sat Feb 22 19:23:09 2020
+++ src/usr.bin/calendar/calendars/calendar.birthday	Sat Feb 22 19:25:25 2020
@@ -142,6 +142,7 @@
 05/12	Florence Nightingale born in Florence, Italy, 1820
 05/13	Arthur S. Sullivan born, 1842
 05/15	Mike Oldfield born in Essex, England, 1953
+05/16	Ivan Edward Sutherland was born in Hastings, Nebraska, 1938
 05/19	Ho Chi Minh born, 1890
 05/21	Plato (Aristocles) born in Athens(?), 427 BC
 05/27	Hubert H. Humphrey born, 1911



CVS commit: src/usr.bin/calendar/calendars

2020-02-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb 22 19:23:09 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday

Log Message:
Add Bert Sutherland
https://twitter.com/ComputerHistory/status/1230200277141250050


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/usr.bin/calendar/calendars/calendar.birthday

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.birthday
diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.38 src/usr.bin/calendar/calendars/calendar.birthday:1.39
--- src/usr.bin/calendar/calendars/calendar.birthday:1.38	Sat Feb 22 19:21:40 2020
+++ src/usr.bin/calendar/calendars/calendar.birthday	Sat Feb 22 19:23:09 2020
@@ -63,6 +63,7 @@
 02/17	Marion Anderson born, 1902
 02/17	T. J. Watson, Sr. born, 1874
 02/18	Ernst Mach born, 1838, philosopher & optics pioneer
+02/18	William Robert "Bert" Sutherland died in Mountain View, California, 2020
 02/19	Nicolas Copernicus born in Thorn, Poland, 1473
 02/20	Ludwig Boltzmann born, 1838, atomic physics pioneer
 02/21	Alexis De Rochon born, 1838, developed the spyglass
@@ -134,6 +135,7 @@
 05/02	Dr. Benjamin Spock born, 1903
 05/09	Pinza died, 1957
 05/10	Fred Astaire (Frederick Austerlitz) born in Omaha, Nebraska, 1899
+05/10	William Robert "Bert" Sutherland was born in Hastings, Nebraska, 1936
 05/11	Douglas Adams died, 2001
 05/11	Johnny Appleseed born, 1768
 05/11	Richard Philips Feynman was born is Queens, New York, 1918



CVS commit: src/usr.bin/calendar/calendars

2020-02-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb 22 19:21:41 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday

Log Message:
Add Larry Tesler
https://www.nytimes.com/2020/02/20/technology/lawrence-tesler-dead.html


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/usr.bin/calendar/calendars/calendar.birthday

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.birthday
diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.37 src/usr.bin/calendar/calendars/calendar.birthday:1.38
--- src/usr.bin/calendar/calendars/calendar.birthday:1.37	Thu Jan 30 23:46:21 2020
+++ src/usr.bin/calendar/calendars/calendar.birthday	Sat Feb 22 19:21:40 2020
@@ -57,6 +57,7 @@
 02/15	Galileo Galilei born in Pisa, Italy, 1564
 02/15	Richard Philips Feynman died in Los Angeles, California, 1988
 02/15	Susan B. Anthony born, 1820
+02/16	Lawrence Gordon Tesler died in Portola Valley, California, 2020
 02/16	Pierre Bouguer born, 1698, founder of photometry
 02/17	Frederick Eugene Ives born, 1856, pioneer of halftone
 02/17	Marion Anderson born, 1902
@@ -122,6 +123,7 @@
 04/15	Leonardo da Vinci born, 1452
 04/16	Charles (Charlie) Chaplin (Sir) born in London, 1889
 04/22	Immanuel Kant born, 1724
+04/24	Lawrence Gordon Tesler was born in The Bronx, New York City, 1945
 04/27	Louis Victor de Broglie born, 1774, physicist
 04/28	James Monroe born, 1758
 04/29	Jules Henri Poincare born, 1854, founder of topology



CVS commit: src/games/fortune/datfiles

2020-02-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb 22 19:03:04 UTC 2020

Modified Files:
src/games/fortune/datfiles: fortunes

Log Message:
Andrew Weatherall's tattoo and a track on A Pox On The Pioneers album.
https://pbs.twimg.com/media/ERAuddhU4AAFv3w?format=jpg=orig
Story:
https://www.dummymag.com/features/andrew-weatherall-interview-it-s-bollocks-it-s-discos-tell-me-tales-of-the/


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/games/fortune/datfiles/fortunes

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

Modified files:

Index: src/games/fortune/datfiles/fortunes
diff -u src/games/fortune/datfiles/fortunes:1.87 src/games/fortune/datfiles/fortunes:1.88
--- src/games/fortune/datfiles/fortunes:1.87	Sun Feb 16 23:14:19 2020
+++ src/games/fortune/datfiles/fortunes	Sat Feb 22 19:03:04 2020
@@ -16292,3 +16292,5 @@ I wonder why I wonder!
 %
 Fanfare, n.:
 The food available for consumption at a con.
+%
+Fail we may, sail we must



CVS commit: src/sys/arch/hpcmips/hpcmips

2020-02-17 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Feb 17 22:52:18 UTC 2020

Modified Files:
src/sys/arch/hpcmips/hpcmips: hpcapm_machdep.c

Log Message:
spelling


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/hpcmips/hpcmips/hpcapm_machdep.c

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

Modified files:

Index: src/sys/arch/hpcmips/hpcmips/hpcapm_machdep.c
diff -u src/sys/arch/hpcmips/hpcmips/hpcapm_machdep.c:1.5 src/sys/arch/hpcmips/hpcmips/hpcapm_machdep.c:1.6
--- src/sys/arch/hpcmips/hpcmips/hpcapm_machdep.c:1.5	Wed Mar 16 13:23:41 2011
+++ src/sys/arch/hpcmips/hpcmips/hpcapm_machdep.c	Mon Feb 17 22:52:18 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: hpcapm_machdep.c,v 1.5 2011/03/16 13:23:41 tsutsui Exp $	*/
+/*	$NetBSD: hpcapm_machdep.c,v 1.6 2020/02/17 22:52:18 sevan Exp $	*/
 
 /*
  * Copyright (c) 2000 Takemura Shin
@@ -29,7 +29,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: hpcapm_machdep.c,v 1.5 2011/03/16 13:23:41 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpcapm_machdep.c,v 1.6 2020/02/17 22:52:18 sevan Exp $");
 
 #include 
 #include 
@@ -67,8 +67,8 @@ machine_standby(void)
 		vrip_splpiu();
 
 		/*
-		 * STANDBY instruction puts the CPU into power saveing
-		 * state until some interrupt occuer.
+		 * STANDBY instruction puts the CPU into power saving
+		 * state until some interrupt occurs.
 		 * It sleeps until you push the power button.
 		 */
 		__asm(".set noreorder");
@@ -99,8 +99,8 @@ machine_sleep(void)
 		vrip_splpiu();
 
 		/*
-		 * SUSPEND instruction puts the CPU into power saveing
-		 * state until some interrupt occuer.
+		 * SUSPEND instruction puts the CPU into power saving
+		 * state until some interrupt occurs.
 		 * It sleeps until you push the power button.
 		 */
 		__asm(".set noreorder");



CVS commit: src/usr.bin/calendar/calendars

2020-02-17 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Feb 17 21:47:33 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.music

Log Message:
Add Andrew Weatherall
https://www.bbc.co.uk/news/entertainment-arts-51535685
http://www.rottersgolfclub.com/


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/calendar/calendars/calendar.music

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.music
diff -u src/usr.bin/calendar/calendars/calendar.music:1.20 src/usr.bin/calendar/calendars/calendar.music:1.21
--- src/usr.bin/calendar/calendars/calendar.music:1.20	Sat Nov 30 12:04:13 2019
+++ src/usr.bin/calendar/calendars/calendar.music	Mon Feb 17 21:47:33 2020
@@ -29,6 +29,7 @@
 	well-known for his many motion picture and television scores
 02/09	Carole King (Carole Klein) is born in Brooklyn, 1941
 02/12	The Beatles play Carnegie Hall in New York City, 1964
+02/17	Andrew James Weatherall dies in London, England, 2020
 02/17	Jazz great Thelonius Monk dies in Englewood, New Jersey, 1982
 02/18	Yoko Ono Lennon is born in Tokyo, 1933
 02/19	Paul McCartney's "Give Ireland Back to the Irish" is banned in
@@ -59,6 +60,7 @@
 04/02	Marvin Gaye is born in Washington, D.C., 1939
 04/04	Muddy Waters (McKinley Morganfield) is born in Rolling Fork,
 	Mississippi, 1915
+04/06	Andrew James Weatherall is born Windsor, Berkshire, England, 1963
 04/09	Paul Robeson born, 1898
 04/10	Paul McCartney announces he's quitting the Beatles, 1970
 04/14	Ritchie Blackmore (Deep Purple, Rainbow) is born, 1945



CVS commit: src/sys/dev/pci

2020-02-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Feb 13 23:05:53 UTC 2020

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

Log Message:
redundant include


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/if_rge.c

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

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.5 src/sys/dev/pci/if_rge.c:1.6
--- src/sys/dev/pci/if_rge.c:1.5	Tue Feb  4 07:41:21 2020
+++ src/sys/dev/pci/if_rge.c	Thu Feb 13 23:05:53 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rge.c,v 1.5 2020/02/04 07:41:21 skrll Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.6 2020/02/13 23:05:53 sevan Exp $	*/
 /*	$OpenBSD: if_rge.c,v 1.2 2020/01/02 09:00:45 kevlo Exp $	*/
 
 /*
@@ -18,9 +18,8 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.5 2020/02/04 07:41:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.6 2020/02/13 23:05:53 sevan Exp $");
 
-/* #include "bpfilter.h" Sevan */
 /* #include "vlan.h" Sevan */
 
 #include 



CVS commit: src/share/man/man4

2020-02-13 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Feb 13 22:48:12 UTC 2020

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

Log Message:
grammar


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 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.34 src/share/man/man4/gpio.4:1.35
--- src/share/man/man4/gpio.4:1.34	Sat Nov  2 18:56:41 2019
+++ src/share/man/man4/gpio.4	Thu Feb 13 22:48:11 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: gpio.4,v 1.34 2019/11/02 18:56:41 tnn Exp $
+.\" $NetBSD: gpio.4,v 1.35 2020/02/13 22:48:11 sevan 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 November 2, 2019
+.Dd February 13, 2020
 .Dt GPIO 4
 .Os
 .Sh NAME
@@ -232,7 +232,7 @@ The
 driver was written by
 .An Alexander Yurchenko Aq Mt gra...@openbsd.org .
 .Nm
-and was ported to
+was ported to
 .Nx
 by
 .An Jared D. McNeill Aq Mt jmcne...@netbsd.org .



CVS commit: src/share/misc

2020-02-07 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb  8 00:47:57 UTC 2020

Modified Files:
src/share/misc: acronyms.comp

Log Message:
LAG, MLAG, the G is for group, adjust MCLAG


To generate a diff of this commit:
cvs rdiff -u -r1.297 -r1.298 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.297 src/share/misc/acronyms.comp:1.298
--- src/share/misc/acronyms.comp:1.297	Mon Jan 27 10:56:29 2020
+++ src/share/misc/acronyms.comp	Sat Feb  8 00:47:57 2020
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.297 2020/01/27 10:56:29 nia Exp $
+$NetBSD: acronyms.comp,v 1.298 2020/02/08 00:47:57 sevan Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -811,6 +811,7 @@ KVM	kernel virtual machine
 KVM	kernel virtual memory
 KVM	keyboard, video, [and] mouse
 L2CAP	link layer control and adaptation protocol
+LAG	link aggregation group
 LAMP	Linux Apache MySQL {Perl,PHP,Python}
 LAN	local area network
 LAPIC	local advanced programmable interrupt controller
@@ -913,7 +914,7 @@ MCC	multiversion concurrency control
 MCE	machine check exception
 MCGA	Multi-Color Graphics Array
 MCH	memory controller hub
-MCLAG	multi-chassis link aggregation
+MCLAG	multi-chassis link aggregation group
 MCM	multi-chip module
 MCQ	memory controlled queue
 MD	machine-dependent
@@ -955,6 +956,7 @@ ML	machine learning
 ML	mailing list
 ML	markup language
 ML	maximum likelihood
+MLAG	multi-chassis link aggregation group
 MLC	multi-level cell
 MLD	multicast listener discovery
 MLHP	micro loop heat pipe



CVS commit: src/usr.bin/calendar/calendars

2020-02-07 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb  8 00:41:42 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.computer

Log Message:
Apple buys NeXT


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/calendar/calendars/calendar.computer

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.computer
diff -u src/usr.bin/calendar/calendars/calendar.computer:1.9 src/usr.bin/calendar/calendars/calendar.computer:1.10
--- src/usr.bin/calendar/calendars/calendar.computer:1.9	Sat Nov 30 12:04:13 2019
+++ src/usr.bin/calendar/calendars/calendar.computer	Sat Feb  8 00:41:42 2020
@@ -14,6 +14,7 @@
 01/25	First U.S. meeting of ALGOL definition committee, 1958
 01/26	EDVAC demonstrated, 1952
 01/31	Hewlett-Packard founded, 1939
+02/07	Apple and NeXT announce merger, 1997
 02/11	Last day of JOSS service at RAND Corp., 1966
 02/14	First micro-on-a-chip patented (TI), 1978
 02/15	ENIAC demonstrated, 1946



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

2020-01-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Jan 31 00:24:51 UTC 2020

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

Log Message:
new sentence, new line


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/man4.sparc/audioamd.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/audioamd.4
diff -u src/share/man/man4/man4.sparc/audioamd.4:1.5 src/share/man/man4/man4.sparc/audioamd.4:1.6
--- src/share/man/man4/man4.sparc/audioamd.4:1.5	Wed Apr 30 13:10:56 2008
+++ src/share/man/man4/man4.sparc/audioamd.4	Fri Jan 31 00:24:51 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: audioamd.4,v 1.5 2008/04/30 13:10:56 martin Exp $
+.\" $NetBSD: audioamd.4,v 1.6 2020/01/31 00:24:51 sevan Exp $
 .\"
 .\" Copyright (c) 2000 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 July 4, 2000
+.Dd January 31, 2020
 .Dt AUDIOAMD 4 sparc
 .Os
 .Sh NAME
@@ -38,10 +38,10 @@
 .Sh DESCRIPTION
 The
 .Nm
-driver provides support for the baseboard audio found on
-sun4c and sun4m systems.  The baseboard audio driver is based on the
-AMD 79c30 ISDN and audio interface.  The interface is only capable of
-playing and recording 8kHz mu-law audio.
+driver provides support for the baseboard audio found on sun4c and sun4m
+systems.
+The baseboard audio driver is based on the AMD 79c30 ISDN and audio interface.
+The interface is only capable of playing and recording 8kHz mu-law audio.
 .Sh SEE ALSO
 .Xr audio 4 ,
 .Xr sbus 4



CVS commit: src/usr.bin/audio/record

2020-01-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Jan 31 00:21:53 UTC 2020

Modified Files:
src/usr.bin/audio/record: audiorecord.1

Log Message:
audioamd is in the SPARC port


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/audio/record/audiorecord.1

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

Modified files:

Index: src/usr.bin/audio/record/audiorecord.1
diff -u src/usr.bin/audio/record/audiorecord.1:1.42 src/usr.bin/audio/record/audiorecord.1:1.43
--- src/usr.bin/audio/record/audiorecord.1:1.42	Tue Mar 18 18:20:44 2014
+++ src/usr.bin/audio/record/audiorecord.1	Fri Jan 31 00:21:53 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: audiorecord.1,v 1.42 2014/03/18 18:20:44 riastradh Exp $
+.\"	$NetBSD: audiorecord.1,v 1.43 2020/01/31 00:21:53 sevan Exp $
 .\"
 .\" Copyright (c) 1998, 1999, 2001, 2002, 2010 Matthew R. Green
 .\" All rights reserved.
@@ -24,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd December 30, 2010
+.Dd January 31, 2020
 .Dt AUDIORECORD 1
 .Os
 .Sh NAME
@@ -186,7 +186,6 @@ the audio device to be used.
 .Xr audioplay 1 ,
 .Xr aria 4 ,
 .Xr audio 4 ,
-.Xr audioamd 4 ,
 .Xr auich 4 ,
 .Xr autri 4 ,
 .Xr auvia 4 ,
@@ -203,6 +202,7 @@ the audio device to be used.
 .Xr guspnp 4 ,
 .Xr neo 4 ,
 .Xr sb 4 ,
+.Xr sparc/audioamd 4 ,
 .Xr sv 4 ,
 .Xr wss 4 ,
 .Xr yds 4 ,



CVS commit: src/usr.bin/asa

2020-01-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Fri Jan 31 00:15:38 UTC 2020

Modified Files:
src/usr.bin/asa: asa.1

Log Message:
new sentence, new line


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/asa/asa.1

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

Modified files:

Index: src/usr.bin/asa/asa.1
diff -u src/usr.bin/asa/asa.1:1.14 src/usr.bin/asa/asa.1:1.15
--- src/usr.bin/asa/asa.1:1.14	Mon Jul  3 21:34:18 2017
+++ src/usr.bin/asa/asa.1	Fri Jan 31 00:15:38 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: asa.1,v 1.14 2017/07/03 21:34:18 wiz Exp $
+.\"	$NetBSD: asa.1,v 1.15 2020/01/31 00:15:38 sevan Exp $
 .\"
 .\" Copyright (c) 1993 Winning Strategies, Inc.
 .\" All rights reserved.
@@ -28,7 +28,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 2, 2016
+.Dd January 31, 2020
 .Dt ASA 1
 .Os
 .Sh NAME
@@ -46,7 +46,8 @@ carriage-control characters to line-prin
 and writes them to the standard output.
 .Pp
 The first character of each line is interpreted as a carriage-control
-character.  The following characters are interpreted as follows:
+character.
+The following characters are interpreted as follows:
 .Bl -tag -width ""
 .It 
 Output the rest of the line without change.



CVS commit: src/usr.bin/finger

2020-01-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jan 30 23:59:59 UTC 2020

Modified Files:
src/usr.bin/finger: finger.1

Log Message:
finish with a full stop


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/finger/finger.1

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

Modified files:

Index: src/usr.bin/finger/finger.1
diff -u src/usr.bin/finger/finger.1:1.20 src/usr.bin/finger/finger.1:1.21
--- src/usr.bin/finger/finger.1:1.20	Thu Jan 30 23:50:23 2020
+++ src/usr.bin/finger/finger.1	Thu Jan 30 23:59:59 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: finger.1,v 1.20 2020/01/30 23:50:23 sevan Exp $
+.\"	$NetBSD: finger.1,v 1.21 2020/01/30 23:59:59 sevan Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -212,4 +212,4 @@ last login data base
 The
 .Nm
 command appeared in
-.Bx 2.0
+.Bx 2.0 .



CVS commit: src/usr.bin/finger

2020-01-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jan 30 23:50:23 UTC 2020

Modified Files:
src/usr.bin/finger: finger.1

Log Message:
Drop url which is now invalid, see CSRG archive or mirrors on TUHS.org or
svnweb.FreeBSD.org


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/finger/finger.1

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

Modified files:

Index: src/usr.bin/finger/finger.1
diff -u src/usr.bin/finger/finger.1:1.19 src/usr.bin/finger/finger.1:1.20
--- src/usr.bin/finger/finger.1:1.19	Thu Dec 22 12:39:40 2016
+++ src/usr.bin/finger/finger.1	Thu Jan 30 23:50:23 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: finger.1,v 1.19 2016/12/22 12:39:40 abhinav Exp $
+.\"	$NetBSD: finger.1,v 1.20 2020/01/30 23:50:23 sevan Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	from: @(#)finger.1	8.3 (Berkeley) 5/5/94
 .\"
-.Dd December 25, 2014
+.Dd January 30, 2020
 .Dt FINGER 1
 .Os
 .Sh NAME
@@ -212,5 +212,4 @@ last login data base
 The
 .Nm
 command appeared in
-.Bx 2.0 :
-.Lk ftp://ftp.tuhs.org.ua/PDP-11/Distributions/ucb/2bsd.tar.gz
+.Bx 2.0



CVS commit: src/share/misc

2020-01-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jan 30 23:47:45 UTC 2020

Modified Files:
src/share/misc: acronyms

Log Message:
Typo - heads up by Thorsten Glaser


To generate a diff of this commit:
cvs rdiff -u -r1.295 -r1.296 src/share/misc/acronyms

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.295 src/share/misc/acronyms:1.296
--- src/share/misc/acronyms:1.295	Mon Jan 27 10:56:29 2020
+++ src/share/misc/acronyms	Thu Jan 30 23:47:45 2020
@@ -1,4 +1,4 @@
-$NetBSD: acronyms,v 1.295 2020/01/27 10:56:29 nia Exp $
+$NetBSD: acronyms,v 1.296 2020/01/30 23:47:45 sevan Exp $
 10Q	thank you
 10X	thanks
 1337	elite ("leet")
@@ -44,7 +44,7 @@ ATEOTD	at the end of the day
 ATM	at the moment
 ATM	{automated,automatic} teller machine
 ATW	around the world
-AVB	alcohol by volume
+ABV	alcohol by volume
 AVI	automatic vehicle identification
 AWK	Aho, Weinberger, [and] Kernighan
 AWOL	absent without official leave



CVS commit: src/usr.bin/calendar/calendars

2020-01-30 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Thu Jan 30 23:46:21 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday

Log Message:
Add Doug Engelbart


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/calendar/calendars/calendar.birthday

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.birthday
diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.36 src/usr.bin/calendar/calendars/calendar.birthday:1.37
--- src/usr.bin/calendar/calendars/calendar.birthday:1.36	Wed Jan 22 21:07:56 2020
+++ src/usr.bin/calendar/calendars/calendar.birthday	Thu Jan 30 23:46:21 2020
@@ -35,6 +35,7 @@
 01/25	Virginia Woolf born, 1882
 01/25	W. Somerset Maugham born, 1874
 01/27	Samuel Gompers born, 1850
+01/30	Douglas Carl Engelbart was born in Portland, Oregon, 1925
 01/30	Franklin Delano Roosevelt born in Hyde Park, New York, 1882
 01/31	Jackie Robinson born, 1919
 02/01	Terence Graham Parry Jones was born in Colwyn Bay, Denbighshire, Wales, 1942
@@ -164,6 +165,7 @@
 06/25	Eric Arthur Blair (a.k.a. George Orwell) born, 1903
 06/27	Helen Keller born, 1880
 07/01	Fernando Jose Corbato was born in Oakland, California, 1926
+07/02	Douglas Carl Engelbart died in Atherton, California, 2013
 07/03	Franz Kafka born, 1883
 07/04	John Adams and Thomas Jefferson die on same day, 1826
 07/04	Nathaniel Hawthorne born in Salem, Massachusetts, 1804



CVS commit: src/usr.bin/calendar/calendars

2020-01-22 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Wed Jan 22 21:07:56 UTC 2020

Modified Files:
src/usr.bin/calendar/calendars: calendar.birthday

Log Message:
Add Terry Jones, once clarified who wasn't the messiah, but a very naughty boy


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.bin/calendar/calendars/calendar.birthday

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

Modified files:

Index: src/usr.bin/calendar/calendars/calendar.birthday
diff -u src/usr.bin/calendar/calendars/calendar.birthday:1.35 src/usr.bin/calendar/calendars/calendar.birthday:1.36
--- src/usr.bin/calendar/calendars/calendar.birthday:1.35	Sat Nov 30 12:04:13 2019
+++ src/usr.bin/calendar/calendars/calendar.birthday	Wed Jan 22 21:07:56 2020
@@ -22,6 +22,7 @@
 01/19	Robert Edward Lee born in Stratford Estate, Virginia, 1807
 01/20	Buzz Aldrin born, 1930
 01/20	George Burns born, 1898
+01/21	Terence Graham Parry Jones died in London, England, 2020
 01/21	Thomas Jonathan "Stonewall" Jackson born in Clarksburg, VA, 1824
 01/21	Vladimir Lenin died, 1924
 01/22	Sir Francis Bacon born, 1561
@@ -36,6 +37,7 @@
 01/27	Samuel Gompers born, 1850
 01/30	Franklin Delano Roosevelt born in Hyde Park, New York, 1882
 01/31	Jackie Robinson born, 1919
+02/01	Terence Graham Parry Jones was born in Colwyn Bay, Denbighshire, Wales, 1942
 02/03	Gertrude Stein born, 1874
 02/05	Alex Harvey (SAHB) born in Glasgow, Scotland, 1935
 02/06	King George VI of UK dies;  his daughter becomes Elizabeth II, 1952



CVS commit: src/sys/dev/pci

2020-01-12 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Jan 12 23:22:12 UTC 2020

Modified Files:
src/sys/dev/pci: if_rge.c if_rgereg.h

Log Message:
Start to switch from OpenBSD timeout(9) API to callout(9) and workqueue(9)
Replace functions with NetBSD counterparts.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/pci/if_rge.c src/sys/dev/pci/if_rgereg.h

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

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.2 src/sys/dev/pci/if_rge.c:1.3
--- src/sys/dev/pci/if_rge.c:1.2	Sat Jan 11 21:05:45 2020
+++ src/sys/dev/pci/if_rge.c	Sun Jan 12 23:22:12 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rge.c,v 1.2 2020/01/11 21:05:45 sevan Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.3 2020/01/12 23:22:12 sevan Exp $	*/
 /*	$OpenBSD: if_rge.c,v 1.2 2020/01/02 09:00:45 kevlo Exp $	*/
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.2 2020/01/11 21:05:45 sevan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.3 2020/01/12 23:22:12 sevan Exp $");
 
 /* #include "bpfilter.h" Sevan */
 /* #include "vlan.h" Sevan */
@@ -34,6 +34,8 @@ __KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1
 #include 
 #include 
 #include 
+#include 
+#include 
 
 #include 
 
@@ -69,6 +71,12 @@ struct mbuf_list {
 	struct mbuf 	*ml_tail;
 	u_int 	ml_len;
 };
+#ifdef NET_MPSAFE
+#define 	RGE_MPSAFE	1
+#define 	CALLOUT_FLAGS	CALLOUT_MPSAFE
+#else
+#define 	CALLOUT_FLAGS	0
+#endif
 #endif
 
 static int		rge_match(device_t, cfdata_t, void *);
@@ -113,7 +121,7 @@ void		rge_write_phy(struct rge_softc *, 
 void		rge_write_phy_ocp(struct rge_softc *, uint16_t, uint16_t);
 uint16_t	rge_read_phy_ocp(struct rge_softc *, uint16_t);
 int		rge_get_link_status(struct rge_softc *);
-void		rge_txstart(void *);
+void		rge_txstart(struct work *, void *);
 void		rge_tick(void *);
 void		rge_link_state(struct rge_softc *);
 
@@ -284,8 +292,9 @@ rge_attach(device_t parent, device_t sel
 	ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING;
 #endif
 
-	timeout_set(>sc_timeout, rge_tick, sc);
-	task_set(>sc_task, rge_txstart, sc);
+	callout_init(>sc_timeout, CALLOUT_FLAGS);
+	callout_setfunc(>sc_timeout, rge_tick, sc);
+	rge_txstart(>sc_task, sc);
 
 	/* Initialize ifmedia structures. */
 	ifmedia_init(>sc_media, IFM_IMASK, rge_ifmedia_upd,
@@ -521,9 +530,8 @@ rge_ioctl(struct ifnet *ifp, u_long cmd,
 }
 
 void
-rge_start(struct ifnet *ifq)
+rge_start(struct ifnet *ifp)
 {
-	struct ifnet *ifp = ifq->ifq_if;
 	struct rge_softc *sc = ifp->if_softc;
 	struct mbuf *m;
 	int free, idx, used;
@@ -546,11 +554,11 @@ rge_start(struct ifnet *ifq)
 
 	for (;;) {
 		if (RGE_TX_NSEGS >= free + 2) {
-			ifq_set_oactive(>if_snd);
+			SET(ifp->if_flags, IFF_OACTIVE);
 			break;
 		}
 
-		m = ifq_dequeue(ifq);
+		IFQ_DEQUEUE(>if_snd, m);
 		if (m == NULL)
 			break;
 
@@ -763,9 +771,9 @@ rge_init(struct ifnet *ifp)
 	rge_setup_intr(sc, RGE_IMTYPE_SIM);
 
 	ifp->if_flags |= IFF_RUNNING;
-	ifq_clr_oactive(>if_snd);
+	CLR(ifp->if_flags, IFF_OACTIVE);
 
-	timeout_add_sec(>sc_timeout, 1);
+	callout_schedule(>sc_timeout, 1);
 
 	return (0);
 }
@@ -2004,7 +2012,7 @@ rge_get_link_status(struct rge_softc *sc
 }
 
 void
-rge_txstart(void *arg)
+rge_txstart(struct work *wk, void *arg)
 {
 	struct rge_softc *sc = arg;
 
Index: src/sys/dev/pci/if_rgereg.h
diff -u src/sys/dev/pci/if_rgereg.h:1.2 src/sys/dev/pci/if_rgereg.h:1.3
--- src/sys/dev/pci/if_rgereg.h:1.2	Sat Jan 11 21:05:45 2020
+++ src/sys/dev/pci/if_rgereg.h	Sun Jan 12 23:22:12 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rgereg.h,v 1.2 2020/01/11 21:05:45 sevan Exp $	*/
+/*	$NetBSD: if_rgereg.h,v 1.3 2020/01/12 23:22:12 sevan Exp $	*/
 /*	$OpenBSD: if_rgereg.h,v 1.1 2019/11/18 03:03:37 kevlo Exp $	*/
 
 /*
@@ -291,7 +291,7 @@ struct rge_softc {
 
 	struct rge_list_data	rge_ldata;
 
-/*	struct task		sc_task; Sevan */
+	struct work		sc_task;
 
 	callout_t		sc_timeout;	/* tick timeout */
 



CVS commit: src/share/man/man9

2020-01-12 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Jan 12 20:49:21 UTC 2020

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

Log Message:
Update callout_halt() to match src/sys/sys/callout.h


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/share/man/man9/callout.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/callout.9
diff -u src/share/man/man9/callout.9:1.28 src/share/man/man9/callout.9:1.29
--- src/share/man/man9/callout.9:1.28	Thu Nov 20 15:43:52 2014
+++ src/share/man/man9/callout.9	Sun Jan 12 20:49:21 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: callout.9,v 1.28 2014/11/20 15:43:52 ozaki-r Exp $
+.\"	$NetBSD: callout.9,v 1.29 2020/01/12 20:49:21 sevan Exp $
 .\"
 .\" Copyright (c) 2000, 2003, 2009 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 21, 2014
+.Dd January 12, 2020
 .Dt CALLOUT 9
 .Os
 .Sh NAME
@@ -59,7 +59,7 @@
 .Ft bool
 .Fn "callout_stop" "callout_t *c"
 .Ft bool
-.Fn "callout_halt" "callout_t *c" "kmutex_t *interlock"
+.Fn "callout_halt" "callout_t *c" "void *interlock"
 .Ft bool
 .Fn "callout_pending" "callout_t *c"
 .Ft bool



CVS commit: src/sys/dev/pci

2020-01-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jan 11 21:05:46 UTC 2020

Modified Files:
src/sys/dev/pci: if_rge.c if_rgereg.h

Log Message:
Start porting to NetBSD. (WIP, incomplete)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/if_rge.c src/sys/dev/pci/if_rgereg.h

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

Modified files:

Index: src/sys/dev/pci/if_rge.c
diff -u src/sys/dev/pci/if_rge.c:1.1 src/sys/dev/pci/if_rge.c:1.2
--- src/sys/dev/pci/if_rge.c:1.1	Sat Jan 11 20:56:51 2020
+++ src/sys/dev/pci/if_rge.c	Sat Jan 11 21:05:45 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_rge.c,v 1.1 2020/01/11 20:56:51 sevan Exp $	*/
+/*	$NetBSD: if_rge.c,v 1.2 2020/01/11 21:05:45 sevan Exp $	*/
 /*	$OpenBSD: if_rge.c,v 1.2 2020/01/02 09:00:45 kevlo Exp $	*/
 
 /*
@@ -17,8 +17,13 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include "bpfilter.h"
-#include "vlan.h"
+#include 
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.2 2020/01/11 21:05:45 sevan Exp $");
+
+/* #include "bpfilter.h" Sevan */
+/* #include "vlan.h" Sevan */
+
+#include 
 
 #include 
 #include 
@@ -31,16 +36,20 @@
 #include 
 
 #include 
+
+#include 
+#include 
+
 #include 
 
 #include 
-#include 
+#include 
 
 #if NBPFILTER > 0
 #include 
 #endif
 
-#include 
+#include 
 #include 
 
 #include 
@@ -51,12 +60,23 @@
 
 #include 
 
-int		rge_match(struct device *, void *, void *);
-void		rge_attach(struct device *, struct device *, void *);
+#ifdef __NetBSD__
+#define letoh32 	htole32
+#define nitems(x) 	__arraycount(x)
+#define MBUF_LIST_INITIALIZER() 	{ NULL, NULL, 0 }
+struct mbuf_list {
+	struct mbuf 	*ml_head;
+	struct mbuf 	*ml_tail;
+	u_int 	ml_len;
+};
+#endif
+
+static int		rge_match(device_t, cfdata_t, void *);
+static void		rge_attach(device_t, device_t, void *); 
 int		rge_intr(void *);
 int		rge_encap(struct rge_softc *, struct mbuf *, int);
-int		rge_ioctl(struct ifnet *, u_long, caddr_t);
-void		rge_start(struct ifqueue *);
+int		rge_ioctl(struct ifnet *, u_long, void *);
+void		rge_start(struct ifnet *);
 void		rge_watchdog(struct ifnet *);
 int		rge_init(struct ifnet *);
 void		rge_stop(struct ifnet *);
@@ -112,33 +132,42 @@ static const struct {
 	RTL8125_MAC_CFG3_MCU
 };
 
-struct cfattach rge_ca = {
-	sizeof(struct rge_softc), rge_match, rge_attach
-};
+CFATTACH_DECL_NEW(rge, sizeof(struct rge_softc), rge_match, rge_attach,
+		NULL, NULL); /* Sevan - detach function? */
 
-struct cfdriver rge_cd = {
-	NULL, "rge", DV_IFNET
-};
+extern struct cfdriver rge_cd;
 
-const struct pci_matchid rge_devices[] = {
+static const struct {
+	pci_vendor_id_t 	vendor;
+	pci_product_id_t 	product;
+}rge_devices[] = {
 	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_E3000 },
-	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTL8125 }
+	{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8125 },
 };
 
-int
-rge_match(struct device *parent, void *match, void *aux)
+static int
+rge_match(device_t parent, cfdata_t match, void *aux)
 {
-	return (pci_matchbyid((struct pci_attach_args *)aux, rge_devices,
-	nitems(rge_devices)));
+	struct pci_attach_args *pa =aux;
+	int n;
+
+	for (n =0; n < __arraycount(rge_devices); n++) {
+		if (PCI_VENDOR(pa->pa_id) == rge_devices[n].vendor &&
+		PCI_PRODUCT(pa->pa_id) == rge_devices[n].product)
+			return 1;
+	}
+
+	return 0;
 }
 
 void
-rge_attach(struct device *parent, struct device *self, void *aux)
+rge_attach(device_t parent, device_t self, void *aux)
 {
 	struct rge_softc *sc = (struct rge_softc *)self;
 	struct pci_attach_args *pa = aux;
 	pci_chipset_tag_t pc = pa->pa_pc;
 	pci_intr_handle_t ih;
+	char intrbuf[PCI_INTRSTR_LEN];
 	const char *intrstr = NULL;
 	struct ifnet *ifp;
 	pcireg_t reg;
@@ -153,13 +182,13 @@ rge_attach(struct device *parent, struct
 	 */
 	if (pci_mapreg_map(pa, RGE_PCI_BAR2, PCI_MAPREG_TYPE_MEM |
 	PCI_MAPREG_MEM_TYPE_64BIT, 0, >rge_btag, >rge_bhandle,
-	NULL, >rge_bsize, 0)) {
+	NULL, >rge_bsize)) {
 		if (pci_mapreg_map(pa, RGE_PCI_BAR1, PCI_MAPREG_TYPE_MEM |
 		PCI_MAPREG_MEM_TYPE_32BIT, 0, >rge_btag,
-		>rge_bhandle, NULL, >rge_bsize, 0)) {
+		>rge_bhandle, NULL, >rge_bsize)) {
 			if (pci_mapreg_map(pa, RGE_PCI_BAR0, PCI_MAPREG_TYPE_IO,
 			0, >rge_btag, >rge_bhandle, NULL,
-			>rge_bsize, 0)) {
+			>rge_bsize)) {
 printf(": can't map mem or i/o space\n");
 return;
 			}
@@ -169,14 +198,14 @@ rge_attach(struct device *parent, struct
 	/* 
 	 * Allocate interrupt.
 	 */
-	if (pci_intr_map_msi(pa, ) == 0)
+	if (pci_intr_map(pa, ) == 0)
 		sc->rge_flags |= RGE_FLAG_MSI;
 	else if (pci_intr_map(pa, ) != 0) {
 		printf(": couldn't map interrupt\n");
 		return;
 	}
-	intrstr = pci_intr_string(pc, ih);
-	sc->sc_ih = pci_intr_establish(pc, ih, IPL_NET | IPL_MPSAFE, rge_intr,
+	intrstr = pci_intr_string(pc, ih, intrbuf, sizeof(intrbuf));
+	sc->sc_ih = pci_intr_establish_xname(pc, ih, IPL_NET, rge_intr,
 	sc, 

CVS commit: src

2020-01-11 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Jan 11 20:56:51 UTC 2020

Added Files:
src/share/man/man4: rge.4
src/sys/dev/pci: if_rge.c if_rgereg.h

Log Message:
Import rge(4) from OpenBSD for Realtek's RTL8125 based 2.5GbE network cards.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/share/man/man4/rge.4
cvs rdiff -u -r0 -r1.1 src/sys/dev/pci/if_rge.c src/sys/dev/pci/if_rgereg.h

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

Added files:

Index: src/share/man/man4/rge.4
diff -u /dev/null src/share/man/man4/rge.4:1.1
--- /dev/null	Sat Jan 11 20:56:51 2020
+++ src/share/man/man4/rge.4	Sat Jan 11 20:56:50 2020
@@ -0,0 +1,56 @@
+.\" $NetBSD: rge.4,v 1.1 2020/01/11 20:56:50 sevan Exp $
+.\" $OpenBSD: rge.4,v 1.2 2019/11/18 22:09:59 jmc Exp $
+.\"
+.\" Copyright (c) 2019 Kevin Lo 
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd $Mdocdate: November 18 2019 $
+.Dt RGE 4
+.Os
+.Sh NAME
+.Nm rge
+.Nd Realtek 8125 PCI Express 2.5Gb Ethernet device
+.Sh SYNOPSIS
+.Cd "rge* at pci?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for PCI Express 2.5Gb Ethernet adapters based
+on the Realtek RTL8125 Ethernet controller, including the following:
+.Pp
+.Bl -bullet -offset indent -compact
+.It
+Realtek RTL8125 2.5GbE Adapter (2500baseT)
+.It
+Rivet Networks Killer E3000 Adapter (2500baseT)
+.El
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr ifmedia 4 ,
+.Xr intro 4 ,
+.Xr netintro 4 ,
+.Xr pci 4 ,
+.Xr hostname.if 5 ,
+.Xr ifconfig 8
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Ox 6.6 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Kevin Lo Aq Mt ke...@openbsd.org .

Index: src/sys/dev/pci/if_rge.c
diff -u /dev/null src/sys/dev/pci/if_rge.c:1.1
--- /dev/null	Sat Jan 11 20:56:51 2020
+++ src/sys/dev/pci/if_rge.c	Sat Jan 11 20:56:51 2020
@@ -0,0 +1,2006 @@
+/*	$NetBSD: if_rge.c,v 1.1 2020/01/11 20:56:51 sevan Exp $	*/
+/*	$OpenBSD: if_rge.c,v 1.2 2020/01/02 09:00:45 kevlo Exp $	*/
+
+/*
+ * Copyright (c) 2019 Kevin Lo 
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+#include "bpfilter.h"
+#include "vlan.h"
+
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+#include 
+
+#include 
+#include 
+
+#include 
+#include 
+
+#if NBPFILTER > 0
+#include 
+#endif
+
+#include 
+#include 
+
+#include 
+
+#include 
+#include 
+#include 
+
+#include 
+
+int		rge_match(struct device *, void *, void *);
+void		rge_attach(struct device *, struct device *, void *);
+int		rge_intr(void *);
+int		rge_encap(struct rge_softc *, struct mbuf *, int);
+int		rge_ioctl(struct ifnet *, u_long, caddr_t);
+void		rge_start(struct ifqueue *);
+void		rge_watchdog(struct ifnet *);
+int		rge_init(struct ifnet *);
+void		rge_stop(struct ifnet *);
+int		rge_ifmedia_upd(struct ifnet *);
+void		rge_ifmedia_sts(struct ifnet *, struct ifmediareq *);
+int		rge_allocmem(struct rge_softc *);
+int		rge_newbuf(struct rge_softc *, int);
+void		rge_discard_rxbuf(struct rge_softc *, int);
+int		rge_rx_list_init(struct rge_softc *);
+void		rge_tx_list_init(struct rge_softc *);
+int		rge_rxeof(struct rge_softc *);
+int		rge_txeof(struct rge_softc *);
+void		rge_reset(struct rge_softc *);
+void		rge_iff(struct rge_softc *);
+void		rge_set_phy_power(struct rge_softc *, int);
+void		rge_phy_config(struct rge_softc *);
+void		rge_set_macaddr(struct rge_softc *, const uint8_t *);
+void		rge_get_macaddr(struct rge_softc *, uint8_t *);
+void		rge_hw_init(struct rge_softc *);
+void		rge_disable_phy_ocp_pwrsave(struct rge_softc 

CVS commit: src/sys/dev/pci

2019-12-28 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Dec 29 01:44:53 UTC 2019

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

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.1381 -r1.1382 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1380 -r1.1381 src/sys/dev/pci/pcidevs_data.h

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

Modified files:

Index: src/sys/dev/pci/pcidevs.h
diff -u src/sys/dev/pci/pcidevs.h:1.1381 src/sys/dev/pci/pcidevs.h:1.1382
--- src/sys/dev/pci/pcidevs.h:1.1381	Wed Dec 18 01:15:32 2019
+++ src/sys/dev/pci/pcidevs.h	Sun Dec 29 01:44:52 2019
@@ -1,10 +1,10 @@
-/*	$NetBSD: pcidevs.h,v 1.1381 2019/12/18 01:15:32 msaitoh Exp $	*/
+/*	$NetBSD: pcidevs.h,v 1.1382 2019/12/29 01:44:52 sevan Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: pcidevs,v 1.1393 2019/12/18 01:13:55 msaitoh Exp
+ *	NetBSD: pcidevs,v 1.1394 2019/12/29 01:42:45 sevan Exp
  */
 
 /*
@@ -7049,6 +7049,7 @@
 #define	PCI_PRODUCT_RDC_R6061_EHCI	0x6061		/* R6061 USB EHCI */
 
 /* Realtek products */
+#define	PCI_PRODUCT_REALTEK_E3000	0x3000		/* Killer E3000 */
 #define	PCI_PRODUCT_REALTEK_RTS5208	0x5208		/* RTS5208 PCI-E Card Reader */
 #define	PCI_PRODUCT_REALTEK_RTS5209	0x5209		/* RTS5209 PCI-E Card Reader */
 #define	PCI_PRODUCT_REALTEK_RTS5227	0x5227		/* RTS5227 PCI-E Card Reader */

Index: src/sys/dev/pci/pcidevs_data.h
diff -u src/sys/dev/pci/pcidevs_data.h:1.1380 src/sys/dev/pci/pcidevs_data.h:1.1381
--- src/sys/dev/pci/pcidevs_data.h:1.1380	Wed Dec 18 01:15:32 2019
+++ src/sys/dev/pci/pcidevs_data.h	Sun Dec 29 01:44:52 2019
@@ -1,10 +1,10 @@
-/*	$NetBSD: pcidevs_data.h,v 1.1380 2019/12/18 01:15:32 msaitoh Exp $	*/
+/*	$NetBSD: pcidevs_data.h,v 1.1381 2019/12/29 01:44:52 sevan Exp $	*/
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *	NetBSD: pcidevs,v 1.1393 2019/12/18 01:13:55 msaitoh Exp
+ *	NetBSD: pcidevs,v 1.1394 2019/12/29 01:42:45 sevan Exp
  */
 
 /*
@@ -12439,462 +12439,464 @@ static const uint16_t pci_products[] = {
 	32204, 6896, 8429, 0,
 	PCI_VENDOR_RDC, PCI_PRODUCT_RDC_R6061_EHCI, 
 	32210, 6896, 8434, 0,
+	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_E3000, 
+	9430, 32216, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTS5208, 
-	32216, 18636, 12085, 17104, 0,
+	3, 18636, 12085, 17104, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTS5209, 
-	32224, 18636, 12085, 17104, 0,
+	32230, 18636, 12085, 17104, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTS5227, 
-	32232, 18636, 12085, 17104, 0,
+	32238, 18636, 12085, 17104, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTS5229, 
-	32240, 18636, 12085, 17104, 0,
+	32246, 18636, 12085, 17104, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTS5249, 
-	32248, 18636, 12085, 17104, 0,
+	32254, 18636, 12085, 17104, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTS525A, 
-	32256, 18636, 12085, 17104, 0,
+	32262, 18636, 12085, 17104, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTL8402, 
-	32264, 18636, 12085, 17104, 0,
+	32270, 18636, 12085, 17104, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTL8411B, 
-	32272, 18636, 12085, 17104, 0,
+	32278, 18636, 12085, 17104, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTL8411, 
-	32281, 18636, 12085, 17104, 0,
+	32287, 18636, 12085, 17104, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8029, 
-	32289, 5668, 0,
+	32295, 5668, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8139D, 
-	32294, 5770, 5668, 0,
-	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8100, 
 	32300, 5770, 5668, 0,
+	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8100, 
+	32306, 5770, 5668, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8125, 
-	32305, 32310, 5668, 0,
+	32311, 32316, 5668, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8129, 
-	32305, 5770, 5668, 0,
+	32311, 5770, 5668, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8101E, 
-	32325, 5770, 5668, 0,
+	32331, 5770, 5668, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8138, 
-	32343, 5770, 5668, 0,
+	32349, 5770, 5668, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8139, 
 	7550, 5770, 5668, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169SC, 
-	32348, 5683, 5668, 0,
+	32354, 5683, 5668, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8168, 
-	32362, 5683, 5668, 0,
+	32368, 5683, 5668, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169, 
-	32372, 5683, 5668, 0,
+	32378, 5683, 5668, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTL8188CE, 
-	32382, 4759, 4534, 32392, 18636, 19248, 0,
+	32388, 4759, 4534, 32398, 18636, 19248, 0,
 	PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RTL8192CE, 
-	32400, 4759, 4534, 32392, 18636, 19248, 0,
+	

CVS commit: src/sys/dev/pci

2019-12-28 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Dec 29 01:42:46 UTC 2019

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

Log Message:
Killer E3000
from OpenBSD


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

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

Modified files:

Index: src/sys/dev/pci/pcidevs
diff -u src/sys/dev/pci/pcidevs:1.1393 src/sys/dev/pci/pcidevs:1.1394
--- src/sys/dev/pci/pcidevs:1.1393	Wed Dec 18 01:13:55 2019
+++ src/sys/dev/pci/pcidevs	Sun Dec 29 01:42:45 2019
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.1393 2019/12/18 01:13:55 msaitoh Exp $
+$NetBSD: pcidevs,v 1.1394 2019/12/29 01:42:45 sevan Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -7042,6 +7042,7 @@ product RDC	R6060_OHCI	0x6060	R6060 USB 
 product RDC	R6061_EHCI	0x6061	R6061 USB EHCI
 
 /* Realtek products */
+product REALTEK E3000 		0x3000	Killer E3000
 product REALTEK RTS5208		0x5208	RTS5208 PCI-E Card Reader
 product REALTEK RTS5209		0x5209	RTS5209 PCI-E Card Reader
 product REALTEK RTS5227		0x5227	RTS5227 PCI-E Card Reader



CVS commit: src/share/misc

2019-12-23 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Dec 23 23:31:18 UTC 2019

Modified Files:
src/share/misc: acronyms

Log Message:
AVB


To generate a diff of this commit:
cvs rdiff -u -r1.290 -r1.291 src/share/misc/acronyms

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.290 src/share/misc/acronyms:1.291
--- src/share/misc/acronyms:1.290	Mon Nov 11 04:11:53 2019
+++ src/share/misc/acronyms	Mon Dec 23 23:31:18 2019
@@ -1,4 +1,4 @@
-$NetBSD: acronyms,v 1.290 2019/11/11 04:11:53 pgoyette Exp $
+$NetBSD: acronyms,v 1.291 2019/12/23 23:31:18 sevan Exp $
 10Q	thank you
 10X	thanks
 1337	elite ("leet")
@@ -44,6 +44,7 @@ ATEOTD	at the end of the day
 ATM	at the moment
 ATM	{automated,automatic} teller machine
 ATW	around the world
+AVB	alcohol by volume
 AVI	automatic vehicle identification
 AWK	Aho, Weinberger, [and] Kernighan
 AWOL	absent without official leave



CVS commit: src/doc

2019-12-23 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Dec 23 23:12:00 UTC 2019

Modified Files:
src/doc: 3RDPARTY

Log Message:
bsd-family-tree


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

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

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.1681 src/doc/3RDPARTY:1.1682
--- src/doc/3RDPARTY:1.1681	Sun Dec 22 12:59:12 2019
+++ src/doc/3RDPARTY	Mon Dec 23 23:12:00 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.1681 2019/12/22 12:59:12 wiz Exp $
+#	$NetBSD: 3RDPARTY,v 1.1682 2019/12/23 23:12:00 sevan Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -195,12 +195,12 @@ Todo[4]: Re-entrant functions of net/*
 Todo[5]: Reconcile the doc directory.
 
 Package:	bsd-family-tree
-Version:	354417
-Current Vers:	354417
+Version:	355063
+Current Vers:	355063
 Maintainer:	The FreeBSD Project
 Archive Site:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 Home Page:	https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
-Date:		2019-11-06
+Date:		2019-12-23
 Mailing List:
 Responsible:
 License:	BSD (2-clause) (see http://www.freebsd.org/cgi/cvsweb.cgi/src/COPYRIGHT)



CVS commit: src/share/misc

2019-12-23 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Dec 23 23:11:01 UTC 2019

Modified Files:
src/share/misc: bsd-family-tree

Log Message:
Update to r355063


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/share/misc/bsd-family-tree

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/bsd-family-tree
diff -u src/share/misc/bsd-family-tree:1.76 src/share/misc/bsd-family-tree:1.77
--- src/share/misc/bsd-family-tree:1.76	Wed Nov  6 23:43:35 2019
+++ src/share/misc/bsd-family-tree	Mon Dec 23 23:11:01 2019
@@ -400,14 +400,14 @@ FreeBSD 5.2   |  |  
  | |  |   |  |   8.1  |DragonFly 5.6
  | |  |   |  |||
  | |  |   |  ||DragonFly 5.6.1
- | |   FreeBSD|  |||
- | | 11.3 |  |||
+ | |   FreeBSD  macOS|||
+ | | 11.3   10.15|||
  |  FreeBSD   |  |OpenBSD 6.6  |
- |   12.1 |  |||
- | |  |  |||
+ |   12.1   macOS|||
+ | |   10.15.1   ||DragonFly 5.6.2
  | v  |  |||
  ||  |||
-FreeBSD 13 -current   |  NetBSD -current   OpenBSD -current   DragonFly -current
+FreeBSD 13 -current   |  NetBSD -current   OpenBSD -currentDragonFly -current
  ||  |||
  vv  vvv
 
@@ -793,7 +793,10 @@ NetBSD 8.1		2019-06-04 [NBD]
 DragonFly 5.6		2019-06-17 [DFB]
 DragonFly 5.6.1		2019-06-19 [DFB]
 FreeBSD 11.3		2019-07-09 [FBD]
+DragonFly 5.6.2		2019-08-11 [DFB]
 OpenBSD 6.6		2019-10-17 [OBD]
+macOS 10.15		2019-10-07 [APL]
+macOS 10.15.1		2019-10-29 [APL] (security/critical release)
 FreeBSD 12.1		2019-11-04 [FBD]
 
 Bibliography
@@ -859,5 +862,5 @@ Steven M. Schultz for providing 2.8BSD, 
 Copyright (c) 1997-2012 Wolfram Schneider 
 URL: https://svnweb.freebsd.org/base/head/share/misc/bsd-family-tree
 
-$FreeBSD: head/share/misc/bsd-family-tree 354417 2019-11-06 23:40:09Z sevan $
-$NetBSD: bsd-family-tree,v 1.76 2019/11/06 23:43:35 sevan Exp $
+$FreeBSD: head/share/misc/bsd-family-tree 355063 2019-11-24 19:16:57Z eadler $
+$NetBSD: bsd-family-tree,v 1.77 2019/12/23 23:11:01 sevan Exp $



CVS commit: src/share/misc

2019-12-14 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Dec 14 13:36:14 UTC 2019

Modified Files:
src/share/misc: acronyms.comp

Log Message:
PCBC


To generate a diff of this commit:
cvs rdiff -u -r1.295 -r1.296 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.295 src/share/misc/acronyms.comp:1.296
--- src/share/misc/acronyms.comp:1.295	Sun Dec  1 23:08:09 2019
+++ src/share/misc/acronyms.comp	Sat Dec 14 13:36:14 2019
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.295 2019/12/01 23:08:09 sevan Exp $
+$NetBSD: acronyms.comp,v 1.296 2019/12/14 13:36:14 sevan Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -1135,6 +1135,7 @@ PC	program counter
 PCB	printed circuit board
 PCB	process control block
 PCB	Protocol Control Block
+PCBC	propagating cipher block chaining
 PCC	Portable C Compiler
 PCD	page-level cache disable
 PCE	path computation element



CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2019-12-08 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Dec  9 00:15:11 UTC 2019

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: arc.c

Log Message:
We currently lack a tunable to control ZFS prefetch, so skip the warning and
FreeBSD specific instructions on settings.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c

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

Modified files:

Index: src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c
diff -u src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.15 src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.16
--- src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c:1.15	Sun Dec  1 20:26:05 2019
+++ src/external/cddl/osnet/dist/uts/common/fs/zfs/arc.c	Mon Dec  9 00:15:11 2019
@@ -6218,6 +6218,7 @@ arc_init(void)
 	}
 
 #ifdef _KERNEL
+#ifdef __FreeBSD__
 	if (TUNABLE_INT_FETCH("vfs.zfs.prefetch_disable", _prefetch_disable))
 		prefetch_tunable_set = 1;
 
@@ -6239,6 +6240,7 @@ arc_init(void)
 		zfs_prefetch_disable = 1;
 	}
 #endif
+#endif
 	/* Warn about ZFS memory and address space requirements. */
 	if (((uint64_t)physmem * PAGESIZE) < (256 + 128 + 64) * (1 << 20)) {
 		printf("ZFS WARNING: Recommended minimum RAM size is 512MB; "
@@ -6247,9 +6249,11 @@ arc_init(void)
 	if (kmem_size() < 512 * (1 << 20)) {
 		printf("ZFS WARNING: Recommended minimum kmem_size is 512MB; "
 		"expect unstable behavior.\n");
+#ifdef __FreeBSD__
 		printf(" Consider tuning vm.kmem_size and "
 		"vm.kmem_size_max\n");
 		printf(" in /boot/loader.conf.\n");
+#endif
 	}
 #endif
 }



CVS commit: src/etc/rc.d

2019-12-08 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Mon Dec  9 00:11:32 UTC 2019

Modified Files:
src/etc/rc.d: zfs

Log Message:
This script just makes sure that the ZFS module loads and unloads, mountall
script takes care of mounting filesystems.
Don't try to unmount all file systems before unloading the ZFS module, leave
that to the operator in preperation or the mountall script to take care
of. Module will of course fail to unload then if file systems are still
mounted.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/etc/rc.d/zfs

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

Modified files:

Index: src/etc/rc.d/zfs
diff -u src/etc/rc.d/zfs:1.4 src/etc/rc.d/zfs:1.5
--- src/etc/rc.d/zfs:1.4	Sun Dec  8 00:58:16 2019
+++ src/etc/rc.d/zfs	Mon Dec  9 00:11:32 2019
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: zfs,v 1.4 2019/12/08 00:58:16 sevan Exp $
+# $NetBSD: zfs,v 1.5 2019/12/09 00:11:32 sevan Exp $
 #
 
 # PROVIDE: zfs
@@ -29,7 +29,6 @@ zfs_start()
 zfs_stop()
 {
 	if [ -x /sbin/zfs ]; then
-		zfs unmount -a
 		modunload zfs
 	fi
 	return 0;



CVS commit: src/etc/rc.d

2019-12-07 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sun Dec  8 00:58:16 UTC 2019

Modified Files:
src/etc/rc.d: zfs

Log Message:
We don't need to require the presence of /etc/zfs/zpool.cache to unmount &
unload the module, just like for the start target.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/etc/rc.d/zfs

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

Modified files:

Index: src/etc/rc.d/zfs
diff -u src/etc/rc.d/zfs:1.3 src/etc/rc.d/zfs:1.4
--- src/etc/rc.d/zfs:1.3	Wed Dec  4 16:46:50 2019
+++ src/etc/rc.d/zfs	Sun Dec  8 00:58:16 2019
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: zfs,v 1.3 2019/12/04 16:46:50 jmcneill Exp $
+# $NetBSD: zfs,v 1.4 2019/12/08 00:58:16 sevan Exp $
 #
 
 # PROVIDE: zfs
@@ -28,7 +28,7 @@ zfs_start()
 
 zfs_stop()
 {
-	if [ -x /sbin/zfs -a -f /etc/zfs/zpool.cache ]; then
+	if [ -x /sbin/zfs ]; then
 		zfs unmount -a
 		modunload zfs
 	fi



  1   2   3   4   5   6   7   >