OpenBSD cvs log

created 2019-10-05T14:04:27Z
begin 2019-09-05T03:00:00Z
end 2019-09-05T06:00:00Z
path src/sys
commits 7

date 2019-09-05T03:04:45Z
author krw
files src/sys/scsi/st.c log diff annotate
message Nuke unused st_softc field 'numblks'.

date 2019-09-05T03:08:55Z
author deraadt
files src/sys/arch/powerpc/powerpc/pmap.c log diff annotate
message Prepare the bat for kernels greater > 8MB of code, why because clang.
ok kettenis

date 2019-09-05T05:06:33Z
author visa
files src/sys/arch/loongson/include/intr.h log diff annotate
src/sys/arch/mips64/mips64/interrupt.c log diff annotate
src/sys/arch/mips64/mips64/softintr.c log diff annotate
src/sys/arch/octeon/include/intr.h log diff annotate
src/sys/arch/sgi/include/intr.h log diff annotate
message Adjust interrupt priority levels on mips64 so that priorities
of soft interrupts are lower than priorities of hard interrupts.
This allows the delivery of hard interrupts while soft interrupts
are masked.

date 2019-09-05T05:31:38Z
author visa
files src/sys/arch/loongson/include/intr.h log diff annotate
src/sys/arch/mips64/mips64/interrupt.c log diff annotate
src/sys/arch/octeon/include/intr.h log diff annotate
src/sys/arch/sgi/include/intr.h log diff annotate
message Implement splassert() on mips64.

date 2019-09-05T05:33:57Z
author ratchov
files src/sys/dev/audio.c log diff annotate
src/sys/dev/audio_if.h log diff annotate
message Add the set_blksz() and set_nblks() audio driver functions.

The first sets the block size in frames, which is necessarily common
to play and recording directions no matter the number of channels. The
second sets the number of blocks per buffer for the given
direction. Together, these two functions allow audio drivers to easily
set the block size, matching both playback and recording constraints.

The round_blocksize() didn't allow to do so because it returns the
block size in *bytes*. Since the driver doesn't know if it's called
for the play or for the record block size, it's impossible to
calculate the block size in all cases if play and record number of
channels are different.

ok mpi@

date 2019-09-05T05:36:31Z
author ratchov
files src/sys/dev/pci/azalia.c log diff annotate
message Use the new set_{blksz,nblks}() interface to set the block size.

This simplifies the code and allows any block size supported by the
hardware to be used.

ok mpi@

date 2019-09-05T05:38:40Z
author ratchov
files src/sys/dev/usb/uaudio.c log diff annotate
message Use the new set_blksz() interface to set the block size.

This simplifies the code and allows any block size multiple of 1ms to
be used when play and recording number of channels are not the same.

ok mpi@