Module Name: src Committed By: martin Date: Wed Mar 21 12:04:35 UTC 2018
Modified Files: src/sys/dev/ic [netbsd-7]: cs4215reg.h src/sys/dev/sbus [netbsd-7]: dbri.c dbrivar.h Log Message: Pull up following revision(s) (requested by mrg in ticket #1586): sys/dev/sbus/dbrivar.h: revision 1.14 sys/dev/sbus/dbrivar.h: revision 1.15 sys/dev/ic/cs4215reg.h: revision 1.5 sys/dev/sbus/dbri.c: revision 1.36 sys/dev/sbus/dbri.c: revision 1.37 sys/dev/sbus/dbri.c: revision 1.38 fix audiomp bugs: - switch from tsleep/wakeup to condvar - fix locking in a bunch of places. there were several locking against myself issues. also: - don't let dbri_process_interrupt_buffer() loop more than once over the array of intrs. this fixes hangs when using audio on ss20 in -current, but does not make audio work. it eventually times out with eg: dbri0: switching to control mode timed out (0 f6) and may leave a sample in the audio buffer repeating. overhaul the dbri driver and make it work again in the New Order Of Things - fix switching between control and data mode - make sure interrupts can happen in control mode - implement audioif.commit_settings() - switch to control mode only if needed - for changes in sample rate or format but not for things like volume control should fix PR 52786 fix several KASSERT()s and locking in a few places. fixes DIAGNOSTIC kernels and still plays. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.4.62.1 src/sys/dev/ic/cs4215reg.h cvs rdiff -u -r1.35 -r1.35.4.1 src/sys/dev/sbus/dbri.c cvs rdiff -u -r1.13 -r1.13.24.1 src/sys/dev/sbus/dbrivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.