CVS commit: src

2021-04-02 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Apr  2 07:00:33 UTC 2021

Modified Files:
src/doc: CHANGES
Added Files:
src/sys/arch/evbppc/conf: DHT Makefile.dht.inc files.dht std.dht
src/sys/arch/evbppc/dht: autoconf.c locore.S machdep.c
src/sys/arch/evbppc/include: dht.h

Log Message:
evbppc: Add support for DHT Walnut 405GP evaluation board.
(Digital Home Technologies PCB 01070201 Rev. 1.1)

Official web page seems gone, but analyses by Linux people are at:

- https://elinux.org/DHT-Walnut
- 
http://web.archive.org/web/20070225171826/http://supernova.stanford.edu/dingdong/

The board features:

- 266MHz PowerPC 405GP processor
- one PC133 SDRAM slot
- two 32-bit 5V PCI slot
- on-chip ethernet controller with DP83843 PHY
- on-chip serial port / GPIO controller
- on-board PDC20265 IDE controller

Hardware limitations:

- no MAC address assigned
- no RTC present

Known problem:

- atabus(4) channels cannot be attached to pdcide(4) for cold boot

dmesg:

- https://dmesgd.nycbug.org/index.cgi?do=view&id=5997

Have fun!


To generate a diff of this commit:
cvs rdiff -u -r1.2788 -r1.2789 src/doc/CHANGES
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbppc/conf/DHT \
src/sys/arch/evbppc/conf/Makefile.dht.inc \
src/sys/arch/evbppc/conf/files.dht src/sys/arch/evbppc/conf/std.dht
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbppc/dht/autoconf.c \
src/sys/arch/evbppc/dht/locore.S src/sys/arch/evbppc/dht/machdep.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/evbppc/include/dht.h

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



CVS commit: src/sbin/rndctl

2021-04-02 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Apr  2 07:04:05 UTC 2021

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

Log Message:
rndctl.8: reflect current reality


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sbin/rndctl/rndctl.8

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



CVS commit: src/etc/etc.evbppc

2021-04-02 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Apr  2 07:08:36 UTC 2021

Modified Files:
src/etc/etc.evbppc: Makefile.inc

Log Message:
- Hook DHT kernel
- Add bin and ub to KERNEL_SUFFIXES
- Group and sort kernels


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/etc/etc.evbppc/Makefile.inc

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



CVS commit: src/distrib/notes

2021-04-02 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Apr  2 07:09:11 UTC 2021

Modified Files:
src/distrib/notes/common: contents
src/distrib/notes/evbppc: contents

Log Message:
Document DHT kernel for evbppc.


To generate a diff of this commit:
cvs rdiff -u -r1.184 -r1.185 src/distrib/notes/common/contents
cvs rdiff -u -r1.8 -r1.9 src/distrib/notes/evbppc/contents

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



CVS commit: src/sbin/rndctl

2021-04-02 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Fri Apr  2 07:17:56 UTC 2021

Modified Files:
src/sbin/rndctl: rndctl.c

Log Message:
rndctl: make -l's "Flags" field reflect current reality

don't print "legacy options" RND_FLAG_ESTIMATE_TIME and
"RND_FLAG_ESTIMATE_VALUE"

only print "estimate" if we have actually counted any bits from
something, since it's no longer really possible to "enable estimation".

ideally, there should also be a "samples" field so it's clear
collected bits are not being counted.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sbin/rndctl/rndctl.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 08:38:44 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: make debug logging compatible with C90

The previous code used the GCC-style varargs macros, which did not even
conform to C99.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.185 -r1.186 src/usr.bin/xlint/lint1/init.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/macppc/conf

2021-04-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Apr  2 09:27:32 UTC 2021

Modified Files:
src/sys/arch/macppc/conf: POWERMAC_G5

Log Message:
Add gpt wedge support


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/macppc/conf/POWERMAC_G5

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



CVS commit: src/sys/dev/usb

2021-04-02 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Fri Apr  2 09:27:44 UTC 2021

Modified Files:
src/sys/dev/usb: if_udav.c

Log Message:
Call usbnet_attach before usbnet_{lock_core,busy}

kern/56090: panic in udav_attach


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/sys/dev/usb/if_udav.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 09:39:25 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: externs1.h init.c lint1.h mem1.c

Log Message:
lint: rename mbl to memory_block

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -u -r1.186 -r1.187 src/usr.bin/xlint/lint1/init.c
cvs rdiff -u -r1.90 -r1.91 src/usr.bin/xlint/lint1/lint1.h
cvs rdiff -u -r1.37 -r1.38 src/usr.bin/xlint/lint1/mem1.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 09:45:55 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: mem1.c

Log Message:
lint: extract filename ID counter into separate function

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/usr.bin/xlint/lint1/mem1.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 09:52:36 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: cgram.y externs1.h mem1.c tree.c

Log Message:
lint: rename getnode to expr_zalloc_tnode

The new name highlights that the returned memory is only valid in the
scope of the current expression.  This was misleading before since the
other related functions all have a 't' (probably for 'temporary') in
their names.

Also encode in the function name that the returned memory is zeroed out
as that could not be inferred from the old name.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.207 -r1.208 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.96 -r1.97 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -u -r1.39 -r1.40 src/usr.bin/xlint/lint1/mem1.c
cvs rdiff -u -r1.255 -r1.256 src/usr.bin/xlint/lint1/tree.c

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



CVS commit: src/distrib/sets/lists/base

2021-04-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Apr  2 10:06:27 UTC 2021

Modified Files:
src/distrib/sets/lists/base: shl.mi

Log Message:
named/filter-.so is unrelated to DYNAMICROOT


To generate a diff of this commit:
cvs rdiff -u -r1.914 -r1.915 src/distrib/sets/lists/base/shl.mi

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



CVS commit: src/usr.bin/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 10:13:03 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h func.c init.c mem1.c
tree.c

Log Message:
lint: name memory allocation functions consistently

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.208 -r1.209 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.167 -r1.168 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.97 -r1.98 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -u -r1.98 -r1.99 src/usr.bin/xlint/lint1/func.c
cvs rdiff -u -r1.187 -r1.188 src/usr.bin/xlint/lint1/init.c
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/xlint/lint1/mem1.c
cvs rdiff -u -r1.256 -r1.257 src/usr.bin/xlint/lint1/tree.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 10:30:35 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: mem1.c

Log Message:
lint: rename members of struct memory_block

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/xlint/lint1/mem1.c

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



CVS commit: src/sys/kern

2021-04-02 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Fri Apr  2 10:39:22 UTC 2021

Modified Files:
src/sys/kern: subr_evcnt.c

Log Message:
Make extern declaration of intrcnt a u_int instead of a long.  Matches
some declartions in some ports.  Fixes build on news68k (and probably
newsmips).


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/kern/subr_evcnt.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 11:53:25 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h func.c init.c tree.c

Log Message:
lint: rename functions for duplicating types

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.209 -r1.210 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.168 -r1.169 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.98 -r1.99 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -u -r1.99 -r1.100 src/usr.bin/xlint/lint1/func.c
cvs rdiff -u -r1.188 -r1.189 src/usr.bin/xlint/lint1/init.c
cvs rdiff -u -r1.257 -r1.258 src/usr.bin/xlint/lint1/tree.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-04-02 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Apr  2 12:11:42 UTC 2021

Modified Files:
src/sys/arch/atari/include: intr.h
src/sys/arch/cesfic/cesfic: isr.c
src/sys/arch/luna68k/luna68k: isr.c
src/sys/arch/mac68k/mac68k: intr.c
src/sys/arch/mvme68k/mvme68k: isr.c
src/sys/arch/next68k/next68k: isr.c
src/sys/arch/sun3/sun3: clock.c
src/sys/arch/sun3/sun3x: clock.c

Log Message:
For ports with __HAVE_LEGACY_INTRCNT, turn intrcnt[] and derived
variables into u_int, to match with kern/subr_evcnt.c.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/atari/include/intr.h
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/cesfic/cesfic/isr.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/luna68k/luna68k/isr.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/mac68k/mac68k/intr.c
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/mvme68k/mvme68k/isr.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/next68k/next68k/isr.c
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/sun3/sun3/clock.c
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/sun3/sun3x/clock.c

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



CVS commit: src

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 12:16:50 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_init.c msg_144.c
src/usr.bin/xlint/common: tyname.c
src/usr.bin/xlint/lint1: cgram.y decl.c err.c func.c init.c lex.c
main1.c mem1.c tree.c
src/usr.bin/xlint/lint2: chk.c emit2.c hash.c main2.c read.c
src/usr.bin/xlint/xlint: xlint.c

Log Message:
lint: add parentheses after sizeof, as required by share/misc/style

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/tests/usr.bin/xlint/lint1/d_c99_init.c
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_144.c
cvs rdiff -u -r1.36 -r1.37 src/usr.bin/xlint/common/tyname.c
cvs rdiff -u -r1.210 -r1.211 src/usr.bin/xlint/lint1/cgram.y
cvs rdiff -u -r1.169 -r1.170 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.99 -r1.100 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.100 -r1.101 src/usr.bin/xlint/lint1/func.c
cvs rdiff -u -r1.189 -r1.190 src/usr.bin/xlint/lint1/init.c
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/xlint/lint1/lex.c
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/xlint/lint1/main1.c
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/xlint/lint1/mem1.c
cvs rdiff -u -r1.258 -r1.259 src/usr.bin/xlint/lint1/tree.c
cvs rdiff -u -r1.41 -r1.42 src/usr.bin/xlint/lint2/chk.c \
src/usr.bin/xlint/lint2/read.c
cvs rdiff -u -r1.18 -r1.19 src/usr.bin/xlint/lint2/emit2.c
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/xlint/lint2/hash.c \
src/usr.bin/xlint/lint2/main2.c
cvs rdiff -u -r1.57 -r1.58 src/usr.bin/xlint/xlint/xlint.c

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



CVS commit: src/tests/usr.bin/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 13:16:38 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_130.c

Log Message:
tests/lint: add test for enum type mismatch


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/tests/usr.bin/xlint/lint1/msg_130.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 14:19:33 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: remove unused brace_level.bl_array_of_unknown_size

Since init.c 1.177 from 2021-03-29, the type of the object to be
initialized is no longer modified in the middle of the initialization,
as required by C99 6.7.8p22.  Therefore it is no longer necessary to
keep this redundant information around.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 src/usr.bin/xlint/lint1/init.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 14:32:27 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: rename members of brace_level

The terms 'member' and 'subscript' are distinctive enough.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 src/usr.bin/xlint/lint1/init.c

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



CVS commit: src/doc

2021-04-02 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Fri Apr  2 14:41:07 UTC 2021

Modified Files:
src/doc: CHANGES

Log Message:
Fix style to appease changes2html.


To generate a diff of this commit:
cvs rdiff -u -r1.2789 -r1.2790 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/usr.bin/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 14:50:47 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: init.c

Log Message:
lint: reorder struct members to be in comprehension order

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 src/usr.bin/xlint/lint1/init.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 15:06:35 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: func.c tree.c

Log Message:
lint: rename getopname to op_name

There are several functions called 'get' that allocate memory.  Remove
this possible confusion.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/usr.bin/xlint/lint1/func.c
cvs rdiff -u -r1.259 -r1.260 src/usr.bin/xlint/lint1/tree.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 16:17:19 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: tree.c

Log Message:
lint: replace a new modtab with op_name

This reduces the types of variables that are passed around.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.260 -r1.261 src/usr.bin/xlint/lint1/tree.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 16:38:08 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: tree.c

Log Message:
lint: rename local variable in build_colon

The name 'rtp' was confusing since it did not correspond to 'rn'.  The
'r' meant 'result', not 'right-hand side'.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.261 -r1.262 src/usr.bin/xlint/lint1/tree.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/powerpc/oea

2021-04-02 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Fri Apr  2 16:59:59 UTC 2021

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
clarify comment in previous
( this is a hack, should go away when the root cause is fixed etc. )
no functional change


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/powerpc/oea/ofwoea_machdep.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 17:01:39 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: tree.c

Log Message:
lint: clean up merge_qualifiers

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.262 -r1.263 src/usr.bin/xlint/lint1/tree.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 17:10:52 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: tree.c

Log Message:
lint: fix typo from previous commit in merge_qualifiers


To generate a diff of this commit:
cvs rdiff -u -r1.263 -r1.264 src/usr.bin/xlint/lint1/tree.c

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



CVS commit: src

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 17:25:04 UTC 2021

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: Makefile t_integration.sh
Added Files:
src/tests/usr.bin/xlint/lint1: op_colon.c op_colon.exp

Log Message:
tests/lint: prevent typo from tree.c 1.264 from happening again


To generate a diff of this commit:
cvs rdiff -u -r1.1034 -r1.1035 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.37 -r1.38 src/tests/usr.bin/xlint/lint1/Makefile \
src/tests/usr.bin/xlint/lint1/t_integration.sh
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/xlint/lint1/op_colon.c \
src/tests/usr.bin/xlint/lint1/op_colon.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/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 22:05:44 UTC 2021

Modified Files:
src/usr.bin/xlint/lint1: lex.c lint1.h

Log Message:
lint: reduce memory usage

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/xlint/lint1/lex.c
cvs rdiff -u -r1.91 -r1.92 src/usr.bin/xlint/lint1/lint1.h

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



CVS commit: [thorpej-cfargs] src/sys

2021-04-02 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Fri Apr  2 22:17:46 UTC 2021

Modified Files:
src/sys/arch/alpha/jensenio [thorpej-cfargs]: jensenio.c
src/sys/arch/alpha/pci [thorpej-cfargs]: irongate.c sio.c ttwoga.c
src/sys/arch/amd64/amd64 [thorpej-cfargs]: amd64_mainbus.c
src/sys/arch/amiga/pci [thorpej-cfargs]: empb.c
src/sys/arch/arc/isa [thorpej-cfargs]: isabus.c
src/sys/arch/arm/acpi [thorpej-cfargs]: acpi_machdep.c
src/sys/arch/arm/at91 [thorpej-cfargs]: at91pio.c
src/sys/arch/arm/ep93xx [thorpej-cfargs]: epgpio.c
src/sys/arch/arm/footbridge [thorpej-cfargs]: footbridge.c
src/sys/arch/arm/gemini [thorpej-cfargs]: gemini_obio.c obio_lpchc.c
src/sys/arch/arm/nvidia [thorpej-cfargs]: tegra_drm_fb.c
src/sys/arch/arm/rockchip [thorpej-cfargs]: rk_drm.c
src/sys/arch/arm/sunxi [thorpej-cfargs]: sunxi_drm.c
src/sys/arch/arm/ti [thorpej-cfargs]: ti_lcdc.c
src/sys/arch/arm/xscale [thorpej-cfargs]: i80312.c i80321.c ixp425.c
src/sys/arch/bebox/bebox [thorpej-cfargs]: mainbus.c
src/sys/arch/evbarm/ifpga [thorpej-cfargs]: ifpga.c
src/sys/arch/evbarm/tsarm [thorpej-cfargs]: tspld.c
src/sys/arch/evbmips/adm5120 [thorpej-cfargs]: mainbus.c
src/sys/arch/evbppc/virtex [thorpej-cfargs]: autoconf.c design_gsrd1.c
design_gsrd2.c
src/sys/arch/hp300/dev [thorpej-cfargs]: dnkbd.c
src/sys/arch/hpcarm/dev [thorpej-cfargs]: j720tp.c
src/sys/arch/hpcmips/hpcmips [thorpej-cfargs]: mainbus.c
src/sys/arch/hpcsh/dev [thorpej-cfargs]: j6x0tp.c
src/sys/arch/hpcsh/hpcsh [thorpej-cfargs]: mainbus.c
src/sys/arch/hppa/dev [thorpej-cfargs]: dino.c mongoose.c
src/sys/arch/i386/i386 [thorpej-cfargs]: i386_mainbus.c
src/sys/arch/i386/pci [thorpej-cfargs]: elan520.c pceb.c viapcib.c
src/sys/arch/ia64/ia64 [thorpej-cfargs]: mainbus.c
src/sys/arch/ibmnws/ibmnws [thorpej-cfargs]: mainbus.c
src/sys/arch/luna68k/dev [thorpej-cfargs]: lunaws.c
src/sys/arch/macppc/dev [thorpej-cfargs]: cuda.c ofb.c pmu.c
src/sys/arch/mips/adm5120/dev [thorpej-cfargs]: admgpio.c admpci.c
src/sys/arch/mips/alchemy/dev [thorpej-cfargs]: auspi.c
src/sys/arch/mips/cavium/dev [thorpej-cfargs]: octeon_mpi.c
src/sys/arch/mips/rmi [thorpej-cfargs]: rmixl_pcie.c rmixl_pcix.c
src/sys/arch/mvmeppc/mvmeppc [thorpej-cfargs]: mainbus.c
src/sys/arch/powerpc/booke/dev [thorpej-cfargs]: pq3gpio.c
src/sys/arch/powerpc/pci [thorpej-cfargs]: pchb.c
src/sys/arch/prep/pci [thorpej-cfargs]: pceb.c
src/sys/arch/prep/prep [thorpej-cfargs]: mainbus.c
src/sys/arch/rs6000/rs6000 [thorpej-cfargs]: mainbus.c
src/sys/arch/sandpoint/sandpoint [thorpej-cfargs]: mainbus.c
src/sys/arch/sgimips/dev [thorpej-cfargs]: imc.c
src/sys/arch/usermode/dev [thorpej-cfargs]: vncfb.c
src/sys/arch/vax/uba [thorpej-cfargs]: qv.c
src/sys/arch/x86/pci [thorpej-cfargs]: ichlpcib.c pchb.c tcpcib.c
src/sys/arch/x86/x86 [thorpej-cfargs]: cpu.c mainbus.c mp.c
src/sys/arch/xen/x86 [thorpej-cfargs]: cpu.c xen_mainbus.c
src/sys/arch/xen/xen [thorpej-cfargs]: hypervisor.c
src/sys/arch/xen/xenbus [thorpej-cfargs]: xenbus_probe.c
src/sys/dev [thorpej-cfargs]: video.c
src/sys/dev/acpi [thorpej-cfargs]: acpi.c
src/sys/dev/adb [thorpej-cfargs]: adb_kbd.c
src/sys/dev/ata [thorpej-cfargs]: ata.c
src/sys/dev/cardbus [thorpej-cfargs]: cardslot.c
src/sys/dev/fdt [thorpej-cfargs]: fdt_i2c.c fdt_spi.c
src/sys/dev/flash [thorpej-cfargs]: flash.c flash_mtdparts.c
src/sys/dev/hyperv [thorpej-cfargs]: genfb_vmbus.c
src/sys/dev/i2c [thorpej-cfargs]: gttwsi_core.c motoi2c.c
src/sys/dev/ic [thorpej-cfargs]: ahcisata_core.c cpc700.c gcscpcib.c
mvsata.c siisata.c vga.c
src/sys/dev/isa [thorpej-cfargs]: fd.c sb.c
src/sys/dev/nand [thorpej-cfargs]: nand.c
src/sys/dev/nor [thorpej-cfargs]: nor.c
src/sys/dev/pci [thorpej-cfargs]: coram.c cxdtv.c genfb_pci.c igma.c
jmide.c machfb.c pccbb.c radeonfb.c unichromefb.c vga_pci.c
voyager.c
src/sys/dev/ppbus [thorpej-cfargs]: ppbus_gpio.c
src/sys/dev/scsipi [thorpej-cfargs]: atapi_wdc.c
src/sys/dev/std [thorpej-cfargs]: ieee1212.c
src/sys/dev/tc [thorpej-cfargs]: tcu.c
src/sys/dev/usb [thorpej-cfargs]: auvitek_dtv.c auvitek_i2c.c
emdtv_dtv.c emdtv_ir.c umass_scsipi.c usb_subr.c
src/sys/dev/wsfb [thorpej-cfargs]: genfb.c
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu [thorpej-cfargs]:
amdgpu_fb.c
src/sys/external/bsd/drm2/dist/drm/i915 [thorpej-cfargs]: intel_fbdev.c
src/sys/external/bsd/drm2/dist/drm/nouveau [thorpej-cfargs]:
nouve

CVS commit: src/tests/usr.bin/xlint/lint1

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 22:38:42 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_239.c msg_239.exp

Log Message:
tests/lint: add test for constant argument to '!'


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/msg_239.c \
src/tests/usr.bin/xlint/lint1/msg_239.exp

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



CVS commit: src

2021-04-02 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Fri Apr  2 22:41:54 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.exp msg_239.c
msg_239.exp
src/usr.bin/xlint/lint1: err.c tree.c

Log Message:
lint: reword message about constant argument to '!'

In the other messages, operators are typically written in their literal
form as well.  Using single quotes disambiguates them from normal
punctuation.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 \
src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.exp
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_239.c \
src/tests/usr.bin/xlint/lint1/msg_239.exp
cvs rdiff -u -r1.100 -r1.101 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.264 -r1.265 src/usr.bin/xlint/lint1/tree.c

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



CVS commit: [thorpej-cfargs] src/sys/dev/pci

2021-04-02 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 01:52:16 UTC 2021

Modified Files:
src/sys/dev/pci [thorpej-cfargs]: ismt.c

Log Message:
ismt_config_interrupts(): remove a now-unused variable.


To generate a diff of this commit:
cvs rdiff -u -r1.7.10.1 -r1.7.10.2 src/sys/dev/pci/ismt.c

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



CVS commit: [thorpej-cfargs] src/sys

2021-04-02 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 01:57:19 UTC 2021

Modified Files:
src/sys/arch/acorn32/eb7500atx [thorpej-cfargs]: rsbus.c
src/sys/arch/acorn32/mainbus [thorpej-cfargs]: pioc.c
src/sys/arch/amiga/clockport [thorpej-cfargs]: clockport.c
src/sys/arch/arm/at91 [thorpej-cfargs]: at91bus.c at91pio.c
src/sys/arch/arm/broadcom [thorpej-cfargs]: bcm53xx_ccb.c
src/sys/arch/arm/ep93xx [thorpej-cfargs]: epgpio.c epsoc.c
src/sys/arch/arm/gemini [thorpej-cfargs]: gemini_gmac.c gemini_lpc.c
gemini_obio.c
src/sys/arch/arm/imx [thorpej-cfargs]: imx23_ahb.c imx23_apbh.c
imx23_apbx.c imx23_usb.c imx31_ahb.c imx31_aips.c imx51_axi.c
imx51_usb.c
src/sys/arch/arm/iomd [thorpej-cfargs]: vidc20.c
src/sys/arch/arm/ixp12x0 [thorpej-cfargs]: ixpsip.c
src/sys/arch/arm/mainbus [thorpej-cfargs]: mainbus.c
src/sys/arch/arm/mpcore [thorpej-cfargs]: mpcore_axi.c mpcore_pmr.c
src/sys/arch/arm/omap [thorpej-cfargs]: omap2_gpmc.c omap2_l3i.c
omap2_obio.c omap_emifs.c omap_ocp.c omap_tipb.c omapl1x_tipb.c
src/sys/arch/arm/s3c2xx0 [thorpej-cfargs]: s3c2410.c s3c2410_extint.c
s3c2410_spi.c s3c2440.c s3c2440_extint.c s3c2440_i2s.c
s3c2440_spi.c s3c2800.c
src/sys/arch/arm/sa11x0 [thorpej-cfargs]: sa.c sa11x0.c
src/sys/arch/arm/xscale [thorpej-cfargs]: becc.c ixp425_ixme.c
ixp425_npe.c ixp425_sip.c pxa2x0.c
src/sys/arch/arm/zynq [thorpej-cfargs]: zynq_axi.c
src/sys/arch/atari/vme [thorpej-cfargs]: vme.c
src/sys/arch/cesfic/cesfic [thorpej-cfargs]: autoconf.c
src/sys/arch/cobalt/cobalt [thorpej-cfargs]: mainbus.c
src/sys/arch/dreamcast/dev/g1 [thorpej-cfargs]: g1bus.c
src/sys/arch/dreamcast/dev/g2 [thorpej-cfargs]: g2bus.c
src/sys/arch/epoc32/epoc32 [thorpej-cfargs]: external.c internal.c
src/sys/arch/evbarm/adi_brh [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/g42xxeb [thorpej-cfargs]: gb225.c obio.c
src/sys/arch/evbarm/gumstix [thorpej-cfargs]: gxio.c
src/sys/arch/evbarm/hdl_g [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/ifpga [thorpej-cfargs]: ifpga.c
src/sys/arch/evbarm/iq80310 [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/iq80321 [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/iyonix [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/lubbock [thorpej-cfargs]: obio.c
src/sys/arch/evbarm/tsarm [thorpej-cfargs]: tspld.c
src/sys/arch/evbsh3/evbsh3 [thorpej-cfargs]: mainbus.c
src/sys/arch/hp300/dev [thorpej-cfargs]: hpib.c
src/sys/arch/hp300/hp300 [thorpej-cfargs]: autoconf.c
src/sys/arch/hpcarm/dev [thorpej-cfargs]: ipaq_atmelgpio.c ipaq_saip.c
j720ssp.c nbppcon.c uda1341.c
src/sys/arch/hpcmips/dev [thorpej-cfargs]: plum.c plumiobus.c ucb1200.c
src/sys/arch/hpcmips/hpcmips [thorpej-cfargs]: mainbus.c
src/sys/arch/hpcmips/tx [thorpej-cfargs]: tx39sib.c tx39spi.c
tx39uart.c txcsbus.c txsim.c
src/sys/arch/hpcmips/vr [thorpej-cfargs]: vrc4173bcu.c vrip.c
src/sys/arch/hpcsh/hpcsh [thorpej-cfargs]: mainbus.c
src/sys/arch/iyonix/iyonix [thorpej-cfargs]: obio.c
src/sys/arch/landisk/dev [thorpej-cfargs]: obio.c
src/sys/arch/mac68k/mac68k [thorpej-cfargs]: mainbus.c
src/sys/arch/mac68k/obio [thorpej-cfargs]: obio.c
src/sys/arch/mips/ralink [thorpej-cfargs]: ralink_mainbus.c
src/sys/arch/mips/rmi [thorpej-cfargs]: rmixl_iobus.c rmixl_mainbus.c
rmixl_obio.c rmixl_usbi.c
src/sys/arch/mips/sibyte/dev [thorpej-cfargs]: sbgbus.c
src/sys/arch/mipsco/obio [thorpej-cfargs]: obio.c
src/sys/arch/mmeye/mmeye [thorpej-cfargs]: mainbus.c
src/sys/arch/news68k/dev [thorpej-cfargs]: hb.c
src/sys/arch/news68k/news68k [thorpej-cfargs]: mainbus.c
src/sys/arch/newsmips/dev [thorpej-cfargs]: hb.c
src/sys/arch/next68k/dev [thorpej-cfargs]: intio.c
src/sys/arch/next68k/next68k [thorpej-cfargs]: mainbus.c
src/sys/arch/playstation2/dev [thorpej-cfargs]: sbus.c
src/sys/arch/playstation2/playstation2 [thorpej-cfargs]: mainbus.c
src/sys/arch/powerpc/booke/dev [thorpej-cfargs]: pq3etsec.c
src/sys/arch/prep/pnpbus [thorpej-cfargs]: pnpbus.c
src/sys/arch/rs6000/mca [thorpej-cfargs]: ioplanar.c
src/sys/arch/sandpoint/sandpoint [thorpej-cfargs]: eumb.c
src/sys/arch/sgimips/gio [thorpej-cfargs]: gio.c
src/sys/arch/sgimips/ioc [thorpej-cfargs]: ioc.c
src/sys/arch/sgimips/mace [thorpej-cfargs]: mace.c
src/sys/arch/sgimips/sgimips [thorpej-cfargs]: mainbus.c
src/sys/arch/sh3/dev [thorpej-cfargs]: adc.c shb.c
src/sys/arch/sparc/dev [thorpej-cfargs]: obio.c
src/sys/arch/sun3/sun3 [thorpej-cfargs]: autoco

CVS commit: src/sys/dev

2021-04-02 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Apr  3 03:21:53 UTC 2021

Modified Files:
src/sys/dev: spkr.c spkr_audio.c
src/sys/dev/isa: spkr_pcppi.c

Log Message:
Improve SPKRDEBUG code.
- Replace wrong aprint_debug_dev() with device_printf().
  By this, it no longer need to print dev_t.
- Improve some messages.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/spkr.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/spkr_audio.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/isa/spkr_pcppi.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

2021-04-02 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Apr  3 04:10:30 UTC 2021

Modified Files:
src/sys/dev: spkr.c spkr_audio.c spkrvar.h
src/sys/dev/isa: spkr_pcppi.c

Log Message:
Rework about the rest note in speaker(4).
- Obsolete the sc_rest callback.  The rest note operation can be done by
  the common spkr layer.  This also fixes PR kern/56060.
  This work-in-progress patch was left in my local tree for years. :(
- Improve calculations of tone and rest length.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/dev/spkr.c
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/spkr_audio.c
cvs rdiff -u -r1.9 -r1.10 src/sys/dev/spkrvar.h
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/isa/spkr_pcppi.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/at

2021-04-02 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Apr  3 04:33:08 UTC 2021

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

Log Message:
Revert parsedate(3) XXX as per discussion with kre@.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/at/at.c

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



CVS commit: [thorpej-cfargs] src/sys

2021-04-02 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Sat Apr  3 06:54:29 UTC 2021

Modified Files:
src/sys/arch/powerpc/booke/dev [thorpej-cfargs]: pq3obio.c
src/sys/arch/x86/pci [thorpej-cfargs]: amdpcib.c amdsmn.c
src/sys/dev/audio [thorpej-cfargs]: audio.c
src/sys/dev/fdt [thorpej-cfargs]: fdtbus.c
src/sys/dev/gpio [thorpej-cfargs]: gpio.c
src/sys/dev/ic [thorpej-cfargs]: apple_smc.c
src/sys/dev/isa [thorpej-cfargs]: isa.c pcppi.c
src/sys/dev/scsipi [thorpej-cfargs]: scsiconf.c
src/sys/kern [thorpej-cfargs]: subr_autoconf.c
src/sys/sys [thorpej-cfargs]: device.h

Log Message:
config_attach_loc() -> config_attach() with CFARG_LOCATORS argument.


To generate a diff of this commit:
cvs rdiff -u -r1.5.4.2 -r1.5.4.3 src/sys/arch/powerpc/booke/dev/pq3obio.c
cvs rdiff -u -r1.3.96.1 -r1.3.96.2 src/sys/arch/x86/pci/amdpcib.c
cvs rdiff -u -r1.10.4.3 -r1.10.4.4 src/sys/arch/x86/pci/amdsmn.c
cvs rdiff -u -r1.91.2.4 -r1.91.2.5 src/sys/dev/audio/audio.c
cvs rdiff -u -r1.40.2.2 -r1.40.2.3 src/sys/dev/fdt/fdtbus.c
cvs rdiff -u -r1.64.10.6 -r1.64.10.7 src/sys/dev/gpio/gpio.c
cvs rdiff -u -r1.6.50.2 -r1.6.50.3 src/sys/dev/ic/apple_smc.c
cvs rdiff -u -r1.138.76.4 -r1.138.76.5 src/sys/dev/isa/isa.c
cvs rdiff -u -r1.45.22.3 -r1.45.22.4 src/sys/dev/isa/pcppi.c
cvs rdiff -u -r1.290.4.3 -r1.290.4.4 src/sys/dev/scsipi/scsiconf.c
cvs rdiff -u -r1.277.2.7 -r1.277.2.8 src/sys/kern/subr_autoconf.c
cvs rdiff -u -r1.167.2.5 -r1.167.2.6 src/sys/sys/device.h

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