CVS commit: src/sys

2020-03-28 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Mar 28 08:35:37 UTC 2020

Modified Files:
src/sys/arch/amd64/conf: GENERIC
src/sys/arch/evbarm/conf: GENERIC GENERIC64
src/sys/arch/i386/conf: GENERIC
src/sys/arch/macppc/conf: GENERIC
src/sys/arch/sparc64/conf: GENERIC
src/sys/dev/audio: audiodef.h

Log Message:
Reduce default AUDIO_BLK_MS from 40msec to 10msec on all platform except m68k
(m68k uses 40msec default as before).  And remove the option from GENERIC.
- It's not good idea to set such parameter in individual GENERICs.
- 4msec is (probably no problem for most modern real hardware but)
  too aggressive to be default.
- 10msec is too severe for antique machines but it's hard to draw a line.


To generate a diff of this commit:
cvs rdiff -u -r1.563 -r1.564 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/evbarm/conf/GENERIC
cvs rdiff -u -r1.147 -r1.148 src/sys/arch/evbarm/conf/GENERIC64
cvs rdiff -u -r1.1226 -r1.1227 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.365 -r1.366 src/sys/arch/macppc/conf/GENERIC
cvs rdiff -u -r1.225 -r1.226 src/sys/arch/sparc64/conf/GENERIC
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/audio/audiodef.h

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



CVS commit: src/sys/arch/arm/sociox

2020-03-28 Thread Tohru Nishimura
Module Name:src
Committed By:   nisimura
Date:   Sat Mar 28 13:15:24 UTC 2020

Modified Files:
src/sys/arch/arm/sociox: if_scx.c

Log Message:
- comb down rcvfilt() filter adjustment  logic.
- some mii_statchg() can be written in simpler form.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/arm/sociox/if_scx.c

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



CVS commit: src/usr.bin/tic

2020-03-28 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Mar 28 15:19:56 UTC 2020

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

Log Message:
tic: promote record type when merging newer into older


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.bin/tic/tic.c

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



CVS commit: src/usr.bin/tic

2020-03-28 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Mar 28 15:20:30 UTC 2020

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

Log Message:
Whitespace


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

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



CVS commit: src/usr.bin/tic

2020-03-28 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Mar 28 15:22:27 UTC 2020

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

Log Message:
tic: use EXIT_FAILURE rather than magic numbers


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

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



CVS commit: src/lib/libterminfo

2020-03-28 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Mar 28 15:23:33 UTC 2020

Modified Files:
src/lib/libterminfo: term_private.h

Log Message:
Whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libterminfo/term_private.h

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



CVS commit: src/lib/libterminfo

2020-03-28 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Mar 28 15:25:53 UTC 2020

Modified Files:
src/lib/libterminfo: compile.c

Log Message:
terminfo: use , as a record version delimiter rather than @

@ is allowed in a terminfo description, but a comma is not.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/lib/libterminfo/compile.c

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



CVS commit: src/lib/libterminfo

2020-03-28 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Mar 28 15:27:54 UTC 2020

Modified Files:
src/lib/libterminfo: compile.c

Log Message:
terminfo: Add a comment for prior change.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libterminfo/compile.c

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



CVS commit: src/usr.bin/tic

2020-03-28 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sat Mar 28 15:37:04 UTC 2020

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

Log Message:
tic: free the old buffer after promoting the record type


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

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



CVS commit: src/distrib/evbarm/instkernel

2020-03-28 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Mar 28 15:41:23 UTC 2020

Modified Files:
src/distrib/evbarm/instkernel: Makefile

Log Message:
Try to fix previous: include etc.evbarm/Makefile.inc to get proper sub-arch
settings and key the subdirs off KERENEL_SETS instead of ALL_KERNELS
(which is not always defined)


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/distrib/evbarm/instkernel/Makefile

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



CVS commit: src/lib/libterminfo

2020-03-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 28 15:45:56 UTC 2020

Modified Files:
src/lib/libterminfo: compile.c

Log Message:
PR/55118: Andreas Gustafsson: Oops, set the right flag variable.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libterminfo/compile.c

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



CVS commit: src/usr.bin/infocmp

2020-03-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 28 15:50:25 UTC 2020

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

Log Message:
Deal with both .db and .cdb extensions...


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

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



CVS commit: src/sys/fs/autofs

2020-03-28 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Sat Mar 28 17:29:57 UTC 2020

Modified Files:
src/sys/fs/autofs: autofs.c

Log Message:
autofs: Make autofs(5) timeout messages include affected process name and PID

Sync warning message with FreeBSD and DragonFlyBSD.
taken-from: FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/autofs/autofs.c

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



CVS commit: src/sys

2020-03-28 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Mar 28 18:37:18 UTC 2020

Modified Files:
src/sys/arch/arm/amlogic: gxlphy.c
src/sys/dev/mii: brgphy.c ihphy.c micphy.c nsphyter.c ukphy.c

Log Message:
Don't set DVF_DETACH_SHUTDOWN.  The MII layer wants to manage the lifecycle
of the PHY devices, and if a NIC driver chooses not to detach its PHYs
at shutdown, that's the driver's business.

PR kern/55121.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/amlogic/gxlphy.c
cvs rdiff -u -r1.88 -r1.89 src/sys/dev/mii/brgphy.c
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/mii/ihphy.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/mii/micphy.c
cvs rdiff -u -r1.45 -r1.46 src/sys/dev/mii/nsphyter.c
cvs rdiff -u -r1.53 -r1.54 src/sys/dev/mii/ukphy.c

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



CVS import: src/sys/external/bsd/acpica/dist

2020-03-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 28 19:46:43 UTC 2020

Update of /cvsroot/src/sys/external/bsd/acpica/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv13405

Log Message:

26 March 2020. Summary of changes for version 20200326:


1) ACPICA kernel-resident subsystem:

Performed a code clean-up to prevent build errors on early versions of 
GCC-10.

Added the NHLT table signature. iASL data table compiler/disassembler 
support for this table is coming soon.


2) iASL Compiler/Disassembler and ACPICA tools: 

AcpiExec: Fixed several problems with the namespace initialization file 
(-fi option). Includes fixes to prevent AE_ALREADY_EXISTS 
errors, several seg faults, and enhancements to line parsing within the 
init file. In addition, each object found in the init file and it's new 
value is displayed, as well as any such entries that do not have a 
corresponding name in the namespace. For reference, the syntax for the 
various supported data types are presented below:
PCHG 0x // Integer
\DEV1.STR1 "XYZ"// String
BUF1 (88 99 AA) // Buffer
PKG1 [0x 0x]// Package
\BF1 0x7980 // BufferField
RCRV 0x0123456789ABCDEF // Field Unit

iASL: Added a custom iASL macro __EXPECT__(iASL-Error-Code). This macro 
can be used anywhere in a given ASL file to configure iASL to expect an 
iASL compiler error code on the line where this macro was placed. If the 
error code does not exist, an error is generated. This is intended to be 
used for ACPICA's ASL test suite, but can be used by ASL developers as 
well.

iASL: table compiler: Implemented IVRS IVHD type 11h parsing. The AMD 
IVRS table parsing supported only IVHD type 10h structures. Parsing an 
IVHD type 11h caused the iasl to report unknown subtable type. Add 
necessary structure definition for IVHD type 11h and apply correct 
parsing method based on subtable type. Micha? ?ygowski.

iASL: table compiler: Fixed IVRS table IVHD type 10h reserved field name 
According to AMD IOMMU Specification Revision 3.05 the reserved field 
should be IOMMU Feature Reporting. Change the name of the field to the 
correct one. Micha? ?ygowski.

acpiexec: removed redeclaration of AcpiGbl_DbOpt_NoRegionSupport. Patch 
based on suggestions by David Seifert and Benjamin Berg.

iASL: table compiler: removed an unused variable (DtCompilerParserResult) 
causing linking errors. Patch based on suggestions by David Seifert and 
Benjamin Berg.

iASL: table compiler: make LexBuffer static to avoid linking errors in 
newer compilers. Patch based on suggestions by David Seifert and Benjamin 
Berg.

iASL: fixed type matching between External and Named objects. External 
object types can only be expressed with ACPI object type values that are 
defined in the ACPI spec. However, iASL uses ACPI object type values that 
are local to ACPICA in addition to the values defined in the ACPI spec. 
This change implements type matching to map some object type values 
specific to ACPICA to ones that are defined in the ACPI spec.

iASL: Dropped the type mismatch compiler error that can arise from 
External declarations to a warning. This warning can occur when there is 
a type difference between the external declaration and the actual object 
declaration (when compiling multiple files/modules simultaneously).

iASL: removed an incorrect error message regarding externals. This change 
removes an incorrect error that is emitted when a duplicate external 
declaration does not contain a type that opens a scope. This is incorrect 
because the duplicate external with conflicting types are already caught 
by iASL and it doesn't make any sense to enforce what this conflicting 
type should be.

AcpiXtract: fix AX_IS_TABLE_BLOCK_HEADER macro. This macro needs to be 
surrounded by parens. Otherwise, a logical statement that applies a 
logical not operator to this macro could result in a computation that 
applies the operator to the left side of the logical and but not the 
right. Reported-by: John Levon 

Fixed a problem with the local version of sprint(): On 32-bit, the 
provided sprintf() is non-functional: with a size of ACPI_UINT32_MAX, 
String + Size will wrap, meaning End < Start, and 
AcpiUtBoundStringOutput() will never output anything as a result. The 
symptom seen of this was acpixtract failing to output anything -- with a 
custom build that included utprint.c. Signed-off-by: John Levon 


iASL: Changed the "PlatformCommChannel" ASL keyword to "PCC", as per the 
ACPI specification.



14 February 2020. Summary of changes for version 20200214:


1) ACPICA kernel-resident subsystem:

Enable sleep button on ACPI legacy wake:  Hibernation (S4) is triggered 
in a guest when it receives a sleep trigger from the hypervisor. When the 
guest resumes from this power 

CVS commit: src/sys/external/bsd/acpica/dist

2020-03-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 28 19:49:28 UTC 2020

Modified Files:
src/sys/external/bsd/acpica/dist/common: dmtables.c dmtbdump.c
dmtbinfo.c
src/sys/external/bsd/acpica/dist/compiler: aslanalyze.c aslcompile.c
aslcompiler.h aslcompiler.l aslerror.c aslfileio.c aslfiles.c
aslload.c asllookup.c aslopcodes.c aslopt.c asloptions.c
aslpredef.c aslprepkg.c aslsupport.l asltree.c aslutils.c
aslwalks.c aslxref.c dtcompile.c dtcompilerparser.y dtfield.c
dtparser.y dtsubtable.c dttable.c dtutils.c prparser.y prutils.c
src/sys/external/bsd/acpica/dist/debugger: dbcmds.c dbdisply.c dbexec.c
dbinput.c dbmethod.c dbnames.c dbtest.c dbutils.c
src/sys/external/bsd/acpica/dist/disassembler: dmbuffer.c dmcstyle.c
dmresrc.c dmresrcl.c dmresrcl2.c dmwalk.c
src/sys/external/bsd/acpica/dist/dispatcher: dscontrol.c dsopcode.c
dspkginit.c dsutils.c
src/sys/external/bsd/acpica/dist/events: evregion.c evrgnini.c
evxface.c
src/sys/external/bsd/acpica/dist/executer: exconfig.c exdebug.c
exdump.c
src/sys/external/bsd/acpica/dist/hardware: hwesleep.c hwregs.c
hwsleep.c hwxfsleep.c
src/sys/external/bsd/acpica/dist/include: acapps.h acdebug.h acdisasm.h
acexcep.h acglobal.h acinterp.h aclocal.h acmacros.h acnamesp.h
acoutput.h acpiosxf.h acpixf.h acresrc.h actables.h actbl1.h
actypes.h acutils.h amlresrc.h
src/sys/external/bsd/acpica/dist/include/platform: acgcc.h acnetbsd.h
src/sys/external/bsd/acpica/dist/namespace: nsaccess.c nsdump.c
nseval.c nsinit.c nsrepair2.c nsxfeval.c nsxfname.c
src/sys/external/bsd/acpica/dist/os_specific/service_layers:
oslinuxtbl.c
src/sys/external/bsd/acpica/dist/parser: psopcode.c psopinfo.c
src/sys/external/bsd/acpica/dist/resources: rsdump.c rsdumpinfo.c
rsutils.c rsxface.c
src/sys/external/bsd/acpica/dist/tables: tbdata.c tbfadt.c tbinstal.c
tbutils.c tbxface.c tbxfload.c tbxfroot.c
src/sys/external/bsd/acpica/dist/tools/acpidump: apfiles.c
src/sys/external/bsd/acpica/dist/tools/acpixtract: acpixtract.c
src/sys/external/bsd/acpica/dist/utilities: utcache.c utdebug.c
utdecode.c utdelete.c uteval.c utglobal.c utmisc.c utmutex.c
utnonansi.c utobject.c utosi.c utprint.c uttrack.c utuuid.c

Log Message:
merge conflicts


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/acpica/dist/common/dmtables.c
cvs rdiff -u -r1.11 -r1.12 src/sys/external/bsd/acpica/dist/common/dmtbdump.c
cvs rdiff -u -r1.17 -r1.18 src/sys/external/bsd/acpica/dist/common/dmtbinfo.c
cvs rdiff -u -r1.13 -r1.14 \
src/sys/external/bsd/acpica/dist/compiler/aslanalyze.c \
src/sys/external/bsd/acpica/dist/compiler/aslwalks.c \
src/sys/external/bsd/acpica/dist/compiler/dttable.c \
src/sys/external/bsd/acpica/dist/compiler/dtutils.c
cvs rdiff -u -r1.18 -r1.19 \
src/sys/external/bsd/acpica/dist/compiler/aslcompile.c
cvs rdiff -u -r1.15 -r1.16 \
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h \
src/sys/external/bsd/acpica/dist/compiler/aslfiles.c \
src/sys/external/bsd/acpica/dist/compiler/dtcompile.c \
src/sys/external/bsd/acpica/dist/compiler/dtfield.c
cvs rdiff -u -r1.14 -r1.15 \
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.l \
src/sys/external/bsd/acpica/dist/compiler/aslerror.c \
src/sys/external/bsd/acpica/dist/compiler/aslsupport.l \
src/sys/external/bsd/acpica/dist/compiler/asltree.c \
src/sys/external/bsd/acpica/dist/compiler/dtparser.y \
src/sys/external/bsd/acpica/dist/compiler/prparser.y
cvs rdiff -u -r1.10 -r1.11 \
src/sys/external/bsd/acpica/dist/compiler/aslfileio.c
cvs rdiff -u -r1.16 -r1.17 \
src/sys/external/bsd/acpica/dist/compiler/aslload.c \
src/sys/external/bsd/acpica/dist/compiler/aslxref.c
cvs rdiff -u -r1.12 -r1.13 \
src/sys/external/bsd/acpica/dist/compiler/asllookup.c \
src/sys/external/bsd/acpica/dist/compiler/asloptions.c \
src/sys/external/bsd/acpica/dist/compiler/aslprepkg.c \
src/sys/external/bsd/acpica/dist/compiler/prutils.c
cvs rdiff -u -r1.11 -r1.12 \
src/sys/external/bsd/acpica/dist/compiler/aslopcodes.c \
src/sys/external/bsd/acpica/dist/compiler/aslpredef.c \
src/sys/external/bsd/acpica/dist/compiler/dtsubtable.c
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/acpica/dist/compiler/aslopt.c
cvs rdiff -u -r1.25 -r1.26 \
src/sys/external/bsd/acpica/dist/compiler/aslutils.c
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/bsd/acpica/dist/compiler/dtcompilerparser.y
cvs rdiff -u -r1.13 -r1.14 src/sys/external/bsd/acpica/dist/debugger/dbcmds.c \
src/sys/external/bsd/acpica/dist/debugger/dbnames.c \
src/sys/external/bsd/acpica/dist/deb

CVS commit: src/doc

2020-03-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Mar 28 19:50:41 UTC 2020

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
new acpica


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

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



CVS commit: src

2020-03-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Mar 28 20:13:13 UTC 2020

Modified Files:
src: build.sh

Log Message:
Allow path components that start with ~


To generate a diff of this commit:
cvs rdiff -u -r1.333 -r1.334 src/build.sh

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



CVS commit: src/etc

2020-03-28 Thread Kimmo Suominen
Module Name:src
Committed By:   kim
Date:   Sun Mar 29 06:44:16 UTC 2020

Modified Files:
src/etc: crontab

Log Message:
Fix skipped daily in Eastern Europe

- Move /etc/daily from 03:15 -> 04:15
- Move /etc/weekly from 04:30 -> 05:30 (to keep the spacing)

This should prevent problems during daylight savings changeover (which
is usually between 01:00 -> 04:00, depending upon the region) where the
cronjobs may be executed twice, or never at all...

This expands on the previous fix in revision 1.13 from 1997.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/etc/crontab

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