CVS commit: src/sys/compat/netbsd32

2021-01-19 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jan 19 08:10:17 UTC 2021

Modified Files:
src/sys/compat/netbsd32: netbsd32_compat_20.c

Log Message:
Fix syntax error


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/compat/netbsd32/netbsd32_compat_20.c

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



CVS commit: src/sys/dev/ofisa

2021-01-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Tue Jan 19 14:35:30 UTC 2021

Modified Files:
src/sys/dev/ofisa: pckbc_ofisa.c

Log Message:
Use device_compatible_entry / of_search_compatible() for the child
nodes rather than using of_compatible() to match against different
sets of compatible strings.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/ofisa/pckbc_ofisa.c

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



CVS commit: src/sys/dev/ofisa

2021-01-19 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Tue Jan 19 14:39:20 UTC 2021

Modified Files:
src/sys/dev/ofisa: atppc_ofisa.c com_ofisa.c ess_ofisa.c if_cs_ofisa.c
joy_ofisa.c lpt_ofisa.c ofisa.c sb_ofisa.c wdc_ofisa.c

Log Message:
of_compatible() is a hokey API (returning -1 for no match) and nothing
here relies on its reverse-index return value semantics, so just use
of_match_compat_data() instead.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/ofisa/atppc_ofisa.c
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/ofisa/com_ofisa.c \
src/sys/dev/ofisa/joy_ofisa.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/ofisa/ess_ofisa.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/ofisa/if_cs_ofisa.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/ofisa/lpt_ofisa.c
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/ofisa/ofisa.c
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/ofisa/sb_ofisa.c
cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ofisa/wdc_ofisa.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/make

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 17:49:13 UTC 2021

Modified Files:
src/usr.bin/make: cond.c
src/usr.bin/make/unit-tests: cond-op-not.exp cond-op-not.mk
cond-op-parentheses.exp cond-op-parentheses.mk

Log Message:
make(1): demonstrate wrong return value in CondParser_Term


To generate a diff of this commit:
cvs rdiff -u -r1.235 -r1.236 src/usr.bin/make/cond.c
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/cond-op-not.exp \
src/usr.bin/make/unit-tests/cond-op-parentheses.mk
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/cond-op-not.mk
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/cond-op-parentheses.exp

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



CVS commit: src/usr.bin/make

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 17:57:07 UTC 2021

Modified Files:
src/usr.bin/make: cond.c

Log Message:
make(1): fix possible return values for CondParser_Term

The invalid return values didn't do any harm since CondParser_Factor and
CondParser_Expr passed them through, and CondParser_Eval carefully
checks for TOK_TRUE or TOK_FALSE and treats everything else as an error.

No change in observable behavior since there is no debug logging in that
part of the code.


To generate a diff of this commit:
cvs rdiff -u -r1.236 -r1.237 src/usr.bin/make/cond.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/make/unit-tests

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 18:09:12 UTC 2021

Modified Files:
src/usr.bin/make/unit-tests: cond-op.exp cond-op.mk

Log Message:
make(1): demonstrate missing error handling for malformed conditions


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/cond-op.exp
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/make/unit-tests/cond-op.mk

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



CVS commit: src/usr.bin/make

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 18:13:37 UTC 2021

Modified Files:
src/usr.bin/make: cond.c
src/usr.bin/make/unit-tests: cond-op.exp cond-op.mk

Log Message:
make(1): add error handling for edge case in malformed conditions


To generate a diff of this commit:
cvs rdiff -u -r1.237 -r1.238 src/usr.bin/make/cond.c
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/cond-op.exp
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/make/unit-tests/cond-op.mk

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



CVS commit: src/usr.bin/make

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 18:18:43 UTC 2021

Modified Files:
src/usr.bin/make: cond.c

Log Message:
make(1): condense code for parsing and evaluating conditionals


To generate a diff of this commit:
cvs rdiff -u -r1.238 -r1.239 src/usr.bin/make/cond.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/make

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 18:20:30 UTC 2021

Modified Files:
src/usr.bin/make: cond.c
src/usr.bin/make/unit-tests: cond-op.mk

Log Message:
make(1): update references to the renamed CondParser functions


To generate a diff of this commit:
cvs rdiff -u -r1.239 -r1.240 src/usr.bin/make/cond.c
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/make/unit-tests/cond-op.mk

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



CVS commit: src/usr.bin/make

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 19:29:35 UTC 2021

Modified Files:
src/usr.bin/make: cond.c

Log Message:
make(1): distinguish between tokens and results in conditionals

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/usr.bin/make/cond.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/make/unit-tests

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 19:54:57 UTC 2021

Modified Files:
src/usr.bin/make/unit-tests: cond-cmp-string.exp cond-cmp-string.mk

Log Message:
make(1): add test for unsupported relational string comparisons


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/unit-tests/cond-cmp-string.exp
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/make/unit-tests/cond-cmp-string.mk

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



CVS commit: src/usr.bin/make

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 20:51:46 UTC 2021

Modified Files:
src/usr.bin/make: compat.c cond.c for.c job.c main.c make.h
make_malloc.c make_malloc.h metachar.c metachar.h nonints.h str.c
trace.c trace.h
src/usr.bin/make/filemon: filemon.h filemon_dev.c filemon_ktrace.c

Log Message:
make(1): remove do-not-format markers from comments

These markers had been used inconsistently.  Furthermore the source code
had not been formatted automatically before 2020 at all, otherwise there
wouldn't have been any trailing whitespace left.


To generate a diff of this commit:
cvs rdiff -u -r1.219 -r1.220 src/usr.bin/make/compat.c
cvs rdiff -u -r1.241 -r1.242 src/usr.bin/make/cond.c
cvs rdiff -u -r1.134 -r1.135 src/usr.bin/make/for.c
cvs rdiff -u -r1.397 -r1.398 src/usr.bin/make/job.c
cvs rdiff -u -r1.513 -r1.514 src/usr.bin/make/main.c
cvs rdiff -u -r1.243 -r1.244 src/usr.bin/make/make.h
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/make/make_malloc.c
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/make/make_malloc.h
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/make/metachar.c
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/make/metachar.h
cvs rdiff -u -r1.186 -r1.187 src/usr.bin/make/nonints.h
cvs rdiff -u -r1.78 -r1.79 src/usr.bin/make/str.c
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/make/trace.c
cvs rdiff -u -r1.5 -r1.6 src/usr.bin/make/trace.h
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/filemon/filemon.h
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/filemon/filemon_dev.c
cvs rdiff -u -r1.12 -r1.13 src/usr.bin/make/filemon/filemon_ktrace.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/make

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 21:55:20 UTC 2021

Modified Files:
src/usr.bin/make: cond.c

Log Message:
make(1): remove struct If from evaluation of conditionals

The variant of the .if directive can be stored in the CondParser
directly, instead of pointing to a struct If.

The type CondParser may have to be renamed since the condition is not
only parsed, it is evaluated as well.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.242 -r1.243 src/usr.bin/make/cond.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/make

2021-01-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Jan 19 22:12:44 UTC 2021

Modified Files:
src/usr.bin/make: cond.c

Log Message:
make(1): extract DetermineKindOfConditional from Cond_EvalLine


To generate a diff of this commit:
cvs rdiff -u -r1.243 -r1.244 src/usr.bin/make/cond.c

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



CVS commit: src/sys/dev/ofw

2021-01-19 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jan 20 00:41:15 UTC 2021

Modified Files:
src/sys/dev/ofw: ofw_subr.c

Log Message:
update comment to match new reality


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/ofw/ofw_subr.c

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/sunxi

2021-01-19 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Wed Jan 20 00:48:49 UTC 2021

Modified Files:
src/sys/arch/arm/sunxi: sunxi_sramc.c

Log Message:
Fix previous; of_search_compatible returns the sentinel when there is no
match, so we need to test ->data for NULL, not the return value.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/sunxi/sunxi_sramc.c

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



CVS commit: src/sys/arch

2021-01-19 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Jan 20 01:20:26 UTC 2021

Modified Files:
src/sys/arch/evbarm/conf: ARMADILLO9 CUBOX DUOVERO GUMSTIX HDL_G
HPT5325 OPENBLOCKS_A6 PEPPER SHEEVAPLUG
src/sys/arch/riscv/conf: GENERIC

Log Message:
do not enable kernel OSS compat in configs without compat_linux

perhaps kernel OSS compat can be merged into compat_linux to avoid
further confusion


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/evbarm/conf/ARMADILLO9
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/evbarm/conf/CUBOX
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/evbarm/conf/DUOVERO
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/evbarm/conf/GUMSTIX
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/evbarm/conf/HDL_G
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/evbarm/conf/HPT5325
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/evbarm/conf/OPENBLOCKS_A6
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/evbarm/conf/PEPPER
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/evbarm/conf/SHEEVAPLUG
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/riscv/conf/GENERIC

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



CVS commit: src/sys/dev/pci/ixgbe

2021-01-19 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Jan 20 06:53:17 UTC 2021

Modified Files:
src/sys/dev/pci/ixgbe: ixgbe_vf.c

Log Message:
 The max number of queue(pair) is not 7 but 8. Inspired by DPDK.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/ixgbe/ixgbe_vf.c

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