Re: audio2

2019-05-09 Thread Jared McNeill
With order of operations here, and track->volume being in range 0...256, I don't think this will work anyway. volume of 255 of less will cause the sample to be 0, and 256 the original value. On Wed, 8 May 2019, m...@netbsd.org wrote: Is there some scenario where this made a difference? it

Re: CVS commit: src/sys/arch/sh3/sh3

2019-05-09 Thread Valery Ushakov
On Thu, May 09, 2019 at 16:48:31 +, Ryo Shimizu wrote: > Module Name: src > Committed By: ryo > Date: Thu May 9 16:48:31 UTC 2019 > > Modified Files: > src/sys/arch/sh3/sh3: db_trace.c > > Log Message: > fix backtrace. it was broken. > - use db_read_bytes() to avoid faults.

CVS commit: src/distrib/utils/libhack

2019-05-09 Thread Roy Marples
Module Name:src Committed By: roy Date: Thu May 9 08:20:35 UTC 2019 Modified Files: src/distrib/utils/libhack: Makefile.inc Log Message: Fix build with MKYP=no To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/distrib/utils/libhack/Makefile.inc Please

CVS commit: src/lib/libc/sys

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:09:38 UTC 2019 Modified Files: src/lib/libc/sys: getsockopt.2 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/lib/libc/sys/getsockopt.2 Please note that

CVS commit: src/share/man/man4

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:22:13 UTC 2019 Modified Files: src/share/man/man4: audio.4 Log Message: Fix some typos, improve wording and formatting. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/share/man/man4/audio.4 Please

CVS commit: src/distrib/utils/libhack

2019-05-09 Thread Roy Marples
Module Name:src Committed By: roy Date: Thu May 9 08:20:35 UTC 2019 Modified Files: src/distrib/utils/libhack: Makefile.inc Log Message: Fix build with MKYP=no To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/distrib/utils/libhack/Makefile.inc Please

CVS commit: src/lib/libc/sys

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:09:38 UTC 2019 Modified Files: src/lib/libc/sys: getsockopt.2 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/lib/libc/sys/getsockopt.2 Please note that

CVS commit: src/usr.bin/vmstat

2019-05-09 Thread matthew green
Module Name:src Committed By: mrg Date: Thu May 9 08:01:07 UTC 2019 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: when dumping a kernhist history replace "%s" with "%p" so that the kernhist in kernel can be a little more usable without making the userland

CVS commit: src/sys

2019-05-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu May 9 08:16:15 UTC 2019 Modified Files: src/sys/kern: subr_pool.c src/sys/sys: pool.h src/sys/uvm: uvm_stat.c Log Message: Avoid KASSERT(!cpu_intr_p()) when breaking into ddb and issuing show uvmexp

CVS commit: src/usr.bin/vmstat

2019-05-09 Thread matthew green
Module Name:src Committed By: mrg Date: Thu May 9 08:01:07 UTC 2019 Modified Files: src/usr.bin/vmstat: vmstat.c Log Message: when dumping a kernhist history replace "%s" with "%p" so that the kernhist in kernel can be a little more usable without making the userland

CVS commit: src/sys

2019-05-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu May 9 08:16:15 UTC 2019 Modified Files: src/sys/kern: subr_pool.c src/sys/sys: pool.h src/sys/uvm: uvm_stat.c Log Message: Avoid KASSERT(!cpu_intr_p()) when breaking into ddb and issuing show uvmexp

CVS commit: src

2019-05-09 Thread matthew green
Module Name:src Committed By: mrg Date: Thu May 9 07:38:44 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c src/sys/arch/arm/include: cputypes.h src/usr.sbin/cpuctl/arch: aarch64.c Log Message: add cortex A-76 detection. To generate a diff

CVS commit: src/sys/gdbscripts

2019-05-09 Thread matthew green
Module Name:src Committed By: mrg Date: Thu May 9 07:59:49 UTC 2019 Modified Files: src/sys/gdbscripts: devs procs Log Message: document 'devs' and 'procs' commands. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/gdbscripts/devs cvs rdiff -u -r1.3

CVS commit: src

2019-05-09 Thread matthew green
Module Name:src Committed By: mrg Date: Thu May 9 07:38:44 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c src/sys/arch/arm/include: cputypes.h src/usr.sbin/cpuctl/arch: aarch64.c Log Message: add cortex A-76 detection. To generate a diff

CVS commit: src/sys/gdbscripts

2019-05-09 Thread matthew green
Module Name:src Committed By: mrg Date: Thu May 9 07:59:49 UTC 2019 Modified Files: src/sys/gdbscripts: devs procs Log Message: document 'devs' and 'procs' commands. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/gdbscripts/devs cvs rdiff -u -r1.3

CVS commit: src/share/man/man4

2019-05-09 Thread Constantine A. Murenin
Module Name:src Committed By: cnst Date: Thu May 9 07:12:38 UTC 2019 Modified Files: src/share/man/man4: bio.4 Log Message: bio(4): .In dev/biovar.h in SYNOPSIS; .Xr envsys 4 et al in both DESCR && SEE ALSO To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/share/man/man4

2019-05-09 Thread Constantine A. Murenin
Module Name:src Committed By: cnst Date: Thu May 9 07:12:38 UTC 2019 Modified Files: src/share/man/man4: bio.4 Log Message: bio(4): .In dev/biovar.h in SYNOPSIS; .Xr envsys 4 et al in both DESCR && SEE ALSO To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/dev/usb

2019-05-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu May 9 14:50:38 UTC 2019 Modified Files: src/sys/dev/usb: uplcom.c Log Message: Fix USB_DEBUG build To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/dev/usb/uplcom.c Please note that diffs are not

CVS commit: src/sys/dev/usb

2019-05-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu May 9 14:50:38 UTC 2019 Modified Files: src/sys/dev/usb: uplcom.c Log Message: Fix USB_DEBUG build To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/dev/usb/uplcom.c Please note that diffs are not

CVS commit: src/sys/arch/ia64

2019-05-09 Thread Sean Cole
Module Name:src Committed By: scole Date: Thu May 9 15:48:55 UTC 2019 Modified Files: src/sys/arch/ia64/conf: Makefile.ia64 src/sys/arch/ia64/ia64: pmap.c Log Message: Revert -O0 for pmap, avoid RAW dependency compilation warning To generate a diff of this

CVS commit: src/tests/lib/libc/sys

2019-05-09 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Thu May 9 13:07:35 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c t_ptrace_x86_wait.h Log Message: Add ptrace() tests for reading mm* and xmm* registers To generate a diff of this commit: cvs rdiff -u -r1.120

CVS commit: src/tests/lib/libc/sys

2019-05-09 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Thu May 9 13:07:35 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c t_ptrace_x86_wait.h Log Message: Add ptrace() tests for reading mm* and xmm* registers To generate a diff of this commit: cvs rdiff -u -r1.120

CVS commit: src/share/man/man9

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:32:26 UTC 2019 Modified Files: src/share/man/man9: audio.9 Log Message: Improve wording, add more formatting. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/share/man/man9/audio.9 Please note that

CVS commit: src/share/man/man4

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:22:13 UTC 2019 Modified Files: src/share/man/man4: audio.4 Log Message: Fix some typos, improve wording and formatting. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89 src/share/man/man4/audio.4 Please

CVS commit: src/share/man/man9

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:32:26 UTC 2019 Modified Files: src/share/man/man9: audio.9 Log Message: Improve wording, add more formatting. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/share/man/man9/audio.9 Please note that

CVS commit: src/usr.bin/audiocfg

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:34:58 UTC 2019 Modified Files: src/usr.bin/audiocfg: audiocfg.1 Log Message: Improve wording, bump date. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/audiocfg/audiocfg.1 Please note that

CVS commit: src/sys/arch/ia64

2019-05-09 Thread Sean Cole
Module Name:src Committed By: scole Date: Thu May 9 15:48:55 UTC 2019 Modified Files: src/sys/arch/ia64/conf: Makefile.ia64 src/sys/arch/ia64/ia64: pmap.c Log Message: Revert -O0 for pmap, avoid RAW dependency compilation warning To generate a diff of this

CVS commit: src/common/lib/libc/gen

2019-05-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu May 9 10:56:24 UTC 2019 Modified Files: src/common/lib/libc/gen: rb.c Log Message: toolify PR/54182: Cross-building on Linux fails in rb.c To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/common/lib/libc/gen

2019-05-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu May 9 10:56:24 UTC 2019 Modified Files: src/common/lib/libc/gen: rb.c Log Message: toolify PR/54182: Cross-building on Linux fails in rb.c To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/usr.bin/audiocfg

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:34:58 UTC 2019 Modified Files: src/usr.bin/audiocfg: audiocfg.1 Log Message: Improve wording, bump date. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/audiocfg/audiocfg.1 Please note that

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

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:37:11 UTC 2019 Modified Files: src/usr.bin/audio/ctl: audioctl.1 Log Message: Sort options (no-argument options before ones demanding arguments). Bump date. To generate a diff of this commit: cvs rdiff -u -r1.22

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

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:37:11 UTC 2019 Modified Files: src/usr.bin/audio/ctl: audioctl.1 Log Message: Sort options (no-argument options before ones demanding arguments). Bump date. To generate a diff of this commit: cvs rdiff -u -r1.22

CVS commit: src/share/man/man9

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:35:18 UTC 2019 Modified Files: src/share/man/man9: audio.9 Log Message: Bump date. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/share/man/man9/audio.9 Please note that diffs are not public

CVS commit: src/share/man/man4

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:35:29 UTC 2019 Modified Files: src/share/man/man4: audio.4 Log Message: Bump date. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/share/man/man4/audio.4 Please note that diffs are not public

CVS commit: src/share/man/man4

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:35:29 UTC 2019 Modified Files: src/share/man/man4: audio.4 Log Message: Bump date. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/share/man/man4/audio.4 Please note that diffs are not public

CVS commit: src/share/man/man9

2019-05-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu May 9 09:35:18 UTC 2019 Modified Files: src/share/man/man9: audio.9 Log Message: Bump date. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/share/man/man9/audio.9 Please note that diffs are not public

CVS commit: src/sys/arch

2019-05-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu May 9 17:09:51 UTC 2019 Modified Files: src/sys/arch/x86/include: cpufunc.h src/sys/arch/xen/include: xen.h xenfunc.h src/sys/arch/xen/x86: hypervisor_machdep.c xen_intr.c src/sys/arch/xen/xen:

CVS commit: src/sys/arch

2019-05-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu May 9 17:09:51 UTC 2019 Modified Files: src/sys/arch/x86/include: cpufunc.h src/sys/arch/xen/include: xen.h xenfunc.h src/sys/arch/xen/x86: hypervisor_machdep.c xen_intr.c src/sys/arch/xen/xen:

CVS commit: src/sys/arch/sh3/sh3

2019-05-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu May 9 16:48:31 UTC 2019 Modified Files: src/sys/arch/sh3/sh3: db_trace.c Log Message: fix backtrace. it was broken. - use db_read_bytes() to avoid faults. - quite a few functions do not use frame pointers, therefore always

CVS commit: src/sys/arch/sh3/sh3

2019-05-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu May 9 16:48:31 UTC 2019 Modified Files: src/sys/arch/sh3/sh3: db_trace.c Log Message: fix backtrace. it was broken. - use db_read_bytes() to avoid faults. - quite a few functions do not use frame pointers, therefore always

CVS commit: src/share/mk

2019-05-09 Thread Maya Rashish
Module Name:src Committed By: maya Date: Thu May 9 23:34:51 UTC 2019 Modified Files: src/share/mk: bsd.kmodule.mk Log Message: G/C unused code. gcc -combine is no longer a thing, so this entire block isn't usable. To generate a diff of this commit: cvs rdiff -u -r1.60

CVS commit: src/share/mk

2019-05-09 Thread Maya Rashish
Module Name:src Committed By: maya Date: Thu May 9 23:34:51 UTC 2019 Modified Files: src/share/mk: bsd.kmodule.mk Log Message: G/C unused code. gcc -combine is no longer a thing, so this entire block isn't usable. To generate a diff of this commit: cvs rdiff -u -r1.60

CVS commit: src/sys/arch/x86/x86

2019-05-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 9 18:53:14 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Invalidate the cache before updating the microcode. Some platforms require this. Seen in Illumos and FreeBSD. To generate a diff of

CVS commit: src/sys/arch/x86/x86

2019-05-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 9 18:53:14 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Invalidate the cache before updating the microcode. Some platforms require this. Seen in Illumos and FreeBSD. To generate a diff of

CVS commit: src/sys/kern

2019-05-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu May 9 20:50:14 UTC 2019 Modified Files: src/sys/kern: kern_exec.c Log Message: Report TRAP_EXEC (for exec()) to a debugger in the PT_SYSCALL mode Orignally exec() reporting was disabled in the NetBSD version as there was no

CVS commit: src/sys/kern

2019-05-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu May 9 20:50:14 UTC 2019 Modified Files: src/sys/kern: kern_exec.c Log Message: Report TRAP_EXEC (for exec()) to a debugger in the PT_SYSCALL mode Orignally exec() reporting was disabled in the NetBSD version as there was no

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

2019-05-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 10 02:56:08 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix typo. This code is not used yet. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/dev/pci/ixgbe/ixgbe.c

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

2019-05-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 10 02:56:08 UTC 2019 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix typo. This code is not used yet. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/dev/pci/ixgbe/ixgbe.c

CVS commit: src/sys/net

2019-05-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 10 05:16:34 UTC 2019 Modified Files: src/sys/net: if.h Log Message: Modify comment to make the data structure clear. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.269 -r1.270

CVS commit: src/sys/net

2019-05-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri May 10 05:16:34 UTC 2019 Modified Files: src/sys/net: if.h Log Message: Modify comment to make the data structure clear. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.269 -r1.270