Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-8] src/sys/dev/sbus



Module Name:    src
Committed By:   snj
Date:           Sat Jan 13 22:15:30 UTC 2018

Modified Files:
        src/sys/dev/sbus [netbsd-8]: dbri.c dbrivar.h

Log Message:
Pull up following revision(s) (requested by mrg in ticket #503):
        sys/dev/sbus/dbri.c: up to 1.38
        sys/dev/sbus/dbrivar.h: up to 1.15
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.
--
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.35.22.1 -r1.35.22.2 src/sys/dev/sbus/dbri.c
cvs rdiff -u -r1.13.42.1 -r1.13.42.2 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.




Home | Main Index | Thread Index | Old Index