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

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Feb 28 07:51:29 UTC 2021

Modified Files:
src/share/man/man4/man4.i386: intro.4

Log Message:
Add SEE ALSOs for various bus types

suggested by mrg


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/share/man/man4/man4.i386/intro.4

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



CVS commit: [netbsd-9] src/doc

2021-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 28 07:09:00 UTC 2021

Modified Files:
src/doc [netbsd-9]: CHANGES-9.2

Log Message:
Tickets #1216 - #1218


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.51 -r1.1.2.52 src/doc/CHANGES-9.2

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



CVS commit: [netbsd-9] src/sys/dev/audio

2021-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 28 07:07:38 UTC 2021

Modified Files:
src/sys/dev/audio [netbsd-9]: audio.c

Log Message:
Pull up following revision(s) (requested by isaki in ticket #1218):

sys/dev/audio/audio.c: revision 1.84

Fix a return value of audiopoll().
fo_poll is expected to return revents rather than errno on error.


To generate a diff of this commit:
cvs rdiff -u -r1.28.2.19 -r1.28.2.20 src/sys/dev/audio/audio.c

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



CVS commit: [netbsd-9] src/sys/dev/audio

2021-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 28 07:05:14 UTC 2021

Modified Files:
src/sys/dev/audio [netbsd-9]: audio.c

Log Message:
Pull up following revision(s) (requested by isaki in ticket #1217):

sys/dev/audio/audio.c: revision 1.46
sys/dev/audio/audio.c: revision 1.82
sys/dev/audio/audio.c: revision 1.85
sys/dev/audio/audio.c: revision 1.87
sys/dev/audio/audio.c: revision 1.88

Change two aprint_error_dev() to device_printf() (and improve messages).
This is also called from other than boot.

Add missing newline.

Revise comments.

Change (harmless) zero-length debug messages.
sys/modules is compiled with -Wzero-length-format and this
makes sys/modules compilable even if AUDIO_DEBUG is defined.

Improve error messages.
- prefix MD device name if it's considered to be related to the MD driver.
- revise some messages.


To generate a diff of this commit:
cvs rdiff -u -r1.28.2.18 -r1.28.2.19 src/sys/dev/audio/audio.c

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



CVS commit: [netbsd-9] src/sys/arch/hppa/gsc

2021-02-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Feb 28 07:01:01 UTC 2021

Modified Files:
src/sys/arch/hppa/gsc [netbsd-9]: harmony.c

Log Message:
Pull up following revision(s) (requested by isaki in ticket #1216):
sys/arch/hppa/gsc/harmony.c: revision 1.8
sys/arch/hppa/gsc/harmony.c: revision 1.9
sys/arch/hppa/gsc/harmony.c: revision 1.10

Fix locking against myself.
trigger_output will be called with sc_intr_lock held.

>From source code review, not tested.

Fix my mistakes in rev1.6.
- I had to merge the channel bit and the speed bits.
  Reported by macallan@.
- I also fix my indent, while I'm here.

Simplify harmony_speed_bits().
It no longer needs to write back the speed value.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.2.1 src/sys/arch/hppa/gsc/harmony.c

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



CVS commit: src/libexec/httpd

2021-02-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 28 05:19:52 UTC 2021

Modified Files:
src/libexec/httpd: bozohttpd.8

Log Message:
update version, dates, add emily to list of contributors.  sort list.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/libexec/httpd/bozohttpd.8

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



CVS commit: src/libexec/httpd

2021-02-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 28 04:18:46 UTC 2021

Modified Files:
src/libexec/httpd: Makefile

Log Message:
avoid warnings from the previous when using objdirs.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/libexec/httpd/Makefile

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



CVS commit: src

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 03:59:28 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_161.c msg_161.exp
src/usr.bin/xlint/lint1: lint1.h tree.c

Log Message:
lint: do not warn about constant expressions involving sizeof

These expressions are indeed constant for a specific platform, but on
another platform their value may change.  This makes them unsuspicious
and legitimate for portable code.

Seen in rump_syscalls.c, as 'sizeof(int) > sizeof(register_t)'.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/xlint/lint1/msg_161.c
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_161.exp
cvs rdiff -u -r1.66 -r1.67 src/usr.bin/xlint/lint1/lint1.h
cvs rdiff -u -r1.226 -r1.227 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-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 03:33:18 UTC 2021

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

Log Message:
lint: rename parameter in function 'expr'

For symmetry with the function is_constcond_false.

No functional change.


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

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 03:29:12 UTC 2021

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

Log Message:
tests/lint: add test for constant expression involving sizeof


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_161.c
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_161.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-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 03:14:44 UTC 2021

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

Log Message:
lint: document allowed types for bit-fields

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/usr.bin/xlint/lint1/decl.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-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 03:05:12 UTC 2021

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

Log Message:
lint: extract declare_bit_field from declarator_1_struct_union

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/usr.bin/xlint/lint1/decl.c

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



CVS commit: src

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 02:45:37 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_035.c msg_035.exp
src/usr.bin/xlint/lint1: decl.c err.c

Log Message:
lint: add type information to 'illegal bit-field type'


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/usr.bin/xlint/lint1/msg_035.c
cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/xlint/lint1/msg_035.exp
cvs rdiff -u -r1.139 -r1.140 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.85 -r1.86 src/usr.bin/xlint/lint1/err.c

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



CVS commit: src/libexec/httpd

2021-02-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Feb 28 02:39:15 UTC 2021

Modified Files:
src/libexec/httpd: Makefile

Log Message:
give BOZOVER a default so exporting a distfile is easy.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/libexec/httpd/Makefile

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

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 02:37:04 UTC 2021

Modified Files:
src/usr.bin/xlint/common: tyname.c

Log Message:
lint: extract type_name_of_array from type_name

No functional change.


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

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



CVS commit: src

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 02:29:29 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_210.exp msg_245.exp
src/usr.bin/xlint/common: tyname.c

Log Message:
lint: output precise type information for struct/union/enum

Previously, 'typedef enum { E } name' was output as 'name', which
omitted the information that this was an enum type.  Now it is output as
'enum typedef name'.

Previously, 'typedef struct { int member; } name' was output as 'struct
', which omitted the typedef name.  Now it is output as 'struct
typedef name'.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_210.exp
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_245.exp
cvs rdiff -u -r1.31 -r1.32 src/usr.bin/xlint/common/tyname.c

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



CVS commit: src

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 02:00:06 UTC 2021

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

Log Message:
lint: add type information for 'incompatible struct pointers'


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_245.c
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/msg_245.exp
cvs rdiff -u -r1.84 -r1.85 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.224 -r1.225 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/tests/usr.bin/xlint/lint1

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 01:53:50 UTC 2021

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

Log Message:
tests/lint: add test for 'illegal structure pointer combination'


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

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-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 01:36:46 UTC 2021

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

Log Message:
tests/lint: add test for unconst pointer cast


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

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



CVS commit: src

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 01:30:22 UTC 2021

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

Log Message:
lint: add type information to enum type mismatch


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_130.c
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_130.exp
cvs rdiff -u -r1.83 -r1.84 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.223 -r1.224 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/tests/usr.bin/xlint/lint1

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 01:22:02 UTC 2021

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

Log Message:
tests/lint: add test for '<<' in traditional C


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

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

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 01:20:54 UTC 2021

Modified Files:
src/tests/usr.bin/xlint: check-expect.lua
src/tests/usr.bin/xlint/lint1: msg_135.c msg_153.c msg_229.c

Log Message:
tests/lint: force 'expect' annotations


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/xlint/check-expect.lua
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/lint1/msg_135.c \
src/tests/usr.bin/xlint/lint1/msg_153.c \
src/tests/usr.bin/xlint/lint1/msg_229.c

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



CVS commit: src

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 01:06:57 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_153.c msg_153.exp msg_229.c
msg_229.exp
src/usr.bin/xlint/lint1: err.c tree.c

Log Message:
lint: make messages for incompatible pointers more specific

Message 153 didn't state obviously which of the pointer types was the
one before conversion (or cast) and which was the resulting type.

Message 229 didn't have any type information at all.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_153.c \
src/tests/usr.bin/xlint/lint1/msg_229.c
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/msg_153.exp \
src/tests/usr.bin/xlint/lint1/msg_229.exp
cvs rdiff -u -r1.82 -r1.83 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.222 -r1.223 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/tests/usr.bin/xlint/lint1

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 00:52:16 UTC 2021

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

Log Message:
tests/lint: add tests for function pointers


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/msg_153.c \
src/tests/usr.bin/xlint/lint1/msg_229.c
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/xlint/lint1/msg_153.exp \
src/tests/usr.bin/xlint/lint1/msg_229.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/resize

2021-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 28 00:44:58 UTC 2021

Modified Files:
src/usr.bin/resize: resize.h

Log Message:
add parens


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/resize/resize.h

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



CVS commit: src/usr.bin/resize

2021-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 28 00:43:24 UTC 2021

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

Log Message:
no need to specify SRCS


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/resize/Makefile

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



CVS commit: src/usr.bin/resize

2021-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Feb 28 00:42:22 UTC 2021

Removed Files:
src/usr.bin/resize: xstrings.c xstrings.h

Log Message:
remove unused


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/usr.bin/resize/xstrings.c \
src/usr.bin/resize/xstrings.h

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



CVS commit: src

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 00:40:22 UTC 2021

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

Log Message:
lint: add type information to 'possible pointer alignment problem [135]'

This warning occurs more than 7400 times in a regular NetBSD build, and
without giving any type information, leaves the reader clueless about
what the underlying issue might be.  Add type information since that is
a no-brainer to implement.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_135.c
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/msg_135.exp
cvs rdiff -u -r1.81 -r1.82 src/usr.bin/xlint/lint1/err.c
cvs rdiff -u -r1.221 -r1.222 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-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 00:28:47 UTC 2021

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

Log Message:
lint: skip alignment computation if possible

Testing a global variable is simpler than calling a 20-line function.

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 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-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 00:23:55 UTC 2021

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

Log Message:
lint: rename getbound to alignment_in_bits

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.138 -r1.139 src/usr.bin/xlint/lint1/decl.c
cvs rdiff -u -r1.71 -r1.72 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -u -r1.219 -r1.220 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/tests/usr.bin/xlint/lint1

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Feb 28 00:20:19 UTC 2021

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

Log Message:
tests/lint: add test for 'possible pointer alignment problem [135]'


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/msg_135.c
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/xlint/lint1/msg_135.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/resize

2021-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 22:37:54 UTC 2021

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

Log Message:
Don't define the copy rules if we don't have X sources


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/resize/Makefile

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



CVS commit: src/external/mit/xorg/bin/xterm/resize

2021-02-27 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Feb 27 21:13:09 UTC 2021

Removed Files:
src/external/mit/xorg/bin/xterm/resize: Makefile

Log Message:
Clean up file obsoleted by migration to usr.bin/resize.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r0 src/external/mit/xorg/bin/xterm/resize/Makefile

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

2021-02-27 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Feb 27 20:43:58 UTC 2021

Modified Files:
src/sys/arch/powerpc/ibm4xx: pic_uic.c
src/sys/arch/powerpc/ibm4xx/dev: com_opb.c dwctwo_plb.c ecc_plb.c
if_emac.c mal.c

Log Message:
Switch to intr_establish_xname().


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/powerpc/ibm4xx/pic_uic.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/powerpc/ibm4xx/dev/com_opb.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/powerpc/ibm4xx/dev/ecc_plb.c
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/powerpc/ibm4xx/dev/if_emac.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/powerpc/ibm4xx/dev/mal.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/sparc64/doc

2021-02-27 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Sat Feb 27 18:29:38 UTC 2021

Modified Files:
src/sys/arch/sparc64/doc: TODO

Log Message:
sun4v: update TODO file with OpenFirmware interface related improvements


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/sparc64/doc/TODO

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



CVS commit: src/sys/arch/sparc64/doc

2021-02-27 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Sat Feb 27 18:19:57 UTC 2021

Modified Files:
src/sys/arch/sparc64/doc: TODO

Log Message:
sun4v: update TODO file with status on sun4v - kernel and userland runs without 
crashing now - next up is network interfaces


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/sparc64/doc/TODO

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



CVS commit: src/sys/arch/sparc/sparc

2021-02-27 Thread Palle Lyckegaard
Module Name:src
Committed By:   palle
Date:   Sat Feb 27 18:10:46 UTC 2021

Modified Files:
src/sys/arch/sparc/sparc: openfirm.c

Log Message:
sun4v: add 32/64 bit workaround for the OF_read() call, similar to the one 
introduced in revision 1.21


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/sparc/sparc/openfirm.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-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Feb 27 18:01:29 UTC 2021

Modified Files:
src/tests/usr.bin/xlint/lint1: msg_242.c msg_242.exp msg_277.c
msg_277.exp msg_278.c msg_278.exp msg_279.c msg_279.exp

Log Message:
tests/lint: add tests for enum/int mismatch


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/msg_242.c \
src/tests/usr.bin/xlint/lint1/msg_278.c \
src/tests/usr.bin/xlint/lint1/msg_279.c
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/xlint/lint1/msg_242.exp \
src/tests/usr.bin/xlint/lint1/msg_277.exp \
src/tests/usr.bin/xlint/lint1/msg_278.exp \
src/tests/usr.bin/xlint/lint1/msg_279.exp
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_277.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

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Feb 27 17:16:48 UTC 2021

Modified Files:
src/tests/usr.bin/xlint: check-expect.lua
src/tests/usr.bin/xlint/lint1: d_c99_bool_strict.c

Log Message:
tests/lint: allow 'expect' comments to refer to other lines

This allows /* expect+1: ... */ to refer to the following line, as well
as /* expect-1: ... */ to refer to the previous line.  This avoids
horizontal scrolling to see the expectations, it also allows these
expectations comments to be more verbose, mentioning the whole
diagnostic in many cases.

The 'expect' comments don't need to be at the end of a line anymore
since that was rather surprising.  The one 'expect' comment that had not
been at the end of the line was in d_c99_bool_strict.c and was not
intended to be ignored.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/usr.bin/xlint/check-expect.lua
cvs rdiff -u -r1.21 -r1.22 src/tests/usr.bin/xlint/lint1/d_c99_bool_strict.c

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



CVS commit: xsrc/external/mit/ctwm/dist

2021-02-27 Thread Michael van Elst
Module Name:xsrc
Committed By:   mlelstv
Date:   Sat Feb 27 16:20:15 UTC 2021

Modified Files:
xsrc/external/mit/ctwm/dist: add_window.c

Log Message:
Use font height to compute height of resize popup for placing a window.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 xsrc/external/mit/ctwm/dist/add_window.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/resize

2021-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 16:08:08 UTC 2021

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

Log Message:
Bump warns


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/resize/Makefile

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



CVS commit: xsrc/external/mit/xterm/dist

2021-02-27 Thread Christos Zoulas
Module Name:xsrc
Committed By:   christos
Date:   Sat Feb 27 15:37:38 UTC 2021

Modified Files:
xsrc/external/mit/xterm/dist: resize.c

Log Message:
Provide an escape ifdef to avoid all the X headers


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.9 -r1.2 xsrc/external/mit/xterm/dist/resize.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/resize

2021-02-27 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Feb 27 15:36:40 UTC 2021

Modified Files:
src/usr.bin/resize: Makefile resize.c
Added Files:
src/usr.bin/resize: resize.h resize.man
Removed Files:
src/usr.bin/resize: resize.1

Log Message:
Add a maintainable version of resize, with a copy target and a header that
provides all the glue needed without other X headers.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/resize/Makefile \
src/usr.bin/resize/resize.c
cvs rdiff -u -r1.2 -r0 src/usr.bin/resize/resize.1
cvs rdiff -u -r0 -r1.1 src/usr.bin/resize/resize.h \
src/usr.bin/resize/resize.man

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-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Feb 27 15:29:15 UTC 2021

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

Log Message:
tests/lint: remove stray warning 278 from test for warning 241


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/xlint/lint1/msg_241.c
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/msg_241.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-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Feb 27 15:26:30 UTC 2021

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

Log Message:
lint: rename confusing local variable

The variable name rtp is reserved for the type of the right-hand
operand.

No functional change.


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

2021-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Feb 27 14:54:56 UTC 2021

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

Log Message:
tests/lint: add test for 'dubious operation on enum' [241]


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

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

2021-02-27 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Feb 27 14:22:07 UTC 2021

Modified Files:
src/sys/arch/arm/pic: picvar.h

Log Message:
machine/cpufunc.h -> arm/cpufunc.h for the benefit of non-evbarm ports


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/arm/pic/picvar.h

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-02-27 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sat Feb 27 13:43:36 UTC 2021

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

Log Message:
tests/lint: add more tests for enum mismatch


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

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-02-27 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Feb 27 13:02:42 UTC 2021

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

Log Message:
Use "static" in the function intro if the function is static.


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/sys/kern/kern_ktrace.c

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



CVS commit: src/libexec/httpd

2021-02-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 27 12:55:25 UTC 2021

Modified Files:
src/libexec/httpd: CHANGES bozohttpd.c content-bozo.c

Log Message:
changes in bozohttpd 20210227:
o  new support for content types: .tar.bz2, .tar.xz, .tar.lz,
   .tar.zst, .tbz2, .txz, .tlz, .zipx, .xz, .zst, .sz, .lz, .lzma,
   .lzo, .7z, .lzo, .cab, .dmg, .jar, and .rar.  should fix
   netbsd PR#56026:
   MIME type of .tar.xz file on ny{cdn,ftp}.NetBSD.org is invalid


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/libexec/httpd/CHANGES
cvs rdiff -u -r1.127 -r1.128 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.19 -r1.20 src/libexec/httpd/content-bozo.c

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



CVS commit: src/libexec/httpd

2021-02-27 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Feb 27 12:36:46 UTC 2021

Modified Files:
src/libexec/httpd: CHANGES bozohttpd.c bozohttpd.h cgi-bozo.c main.c
src/libexec/httpd/libbozohttpd: libbozohttpd.3

Log Message:
belated call version 20210211 after previous memory leak fix.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/libexec/httpd/CHANGES
cvs rdiff -u -r1.126 -r1.127 src/libexec/httpd/bozohttpd.c
cvs rdiff -u -r1.67 -r1.68 src/libexec/httpd/bozohttpd.h
cvs rdiff -u -r1.52 -r1.53 src/libexec/httpd/cgi-bozo.c
cvs rdiff -u -r1.26 -r1.27 src/libexec/httpd/main.c
cvs rdiff -u -r1.5 -r1.6 src/libexec/httpd/libbozohttpd/libbozohttpd.3

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



CVS commit: src/external/mit/ctwm/etc

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 12:28:17 UTC 2021

Modified Files:
src/external/mit/ctwm/etc: system.ctwmrc

Log Message:
ctwmrc: remove SloppyFocus keyword, which breaks xev

the default still seems to be sloppy focus.

is this a bug? does ctwm use a different definition of sloppy focus to
the rest of the world? we may never know


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/mit/ctwm/etc/system.ctwmrc

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



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 11:06:32 UTC 2021

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

Log Message:
add ixl(4) properly


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/share/man/man4/pci.4

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



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 11:05:38 UTC 2021

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

Log Message:
add ixl(4)


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/share/man/man4/pci.4

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



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 09:54:59 UTC 2021

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

Log Message:
spi.4: mention history of ioctl interface


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/spi.4

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



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 08:59:24 UTC 2021

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

Log Message:
iic.4: Add FILES section. Fix copypasto.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/share/man/man4/iic.4

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



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 08:56:14 UTC 2021

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

Log Message:
Describe the i2c ioctl interface


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/share/man/man4/iic.4

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



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 08:43:15 UTC 2021

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

Log Message:
iic.4: add ssdfb


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/share/man/man4/iic.4

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



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 08:38:14 UTC 2021

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

Log Message:
spi.4: Add a FILES section


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man4/spi.4

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



CVS commit: src/share/man/man4

2021-02-27 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sat Feb 27 08:36:05 UTC 2021

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

Log Message:
Document the userspace /dev/spi interface to the best of my ability.

Add ssdfb(4).

Based mostly on a mailing list post by mlelstv;
https://mail-index.netbsd.org/port-arm/2019/02/07/msg005454.html


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man4/spi.4

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