freebsd-dev/sys/dev/sound/pcm
Peter Holm 85f6230a1d Added D_TRACKCLOSE to sndstat_cdevsw to fix the situation when
another process is in open() or stat() for the device node, then
close() from the owning process does not result in cdevsw close
method call. This fixes the pemanent "Device busy" seen.

Changed the sndstat_lock from mutex to sx.  This allows to extend
the region covered by the lock, to include the uiomove() call in
sndstat_read() and bufptr increment. This fixes the "panic:
sbuf_put_byte called with finished or corrupt sbuf" seen.

In collaboration with:	kib
MFC after:	1 week
2012-05-02 19:32:11 +00:00
..
ac97_if.m
ac97_patch.c
ac97_patch.h
ac97.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
ac97.h
buffer.c Make sound(4) more flexible in setting soft buffer and block sizes when 2012-01-31 21:46:28 +00:00
buffer.h Make sound(4) more flexible in setting soft buffer and block sizes when 2012-01-31 21:46:28 +00:00
channel_if.m
channel.c Make sound(4) more flexible in setting soft buffer and block sizes when 2012-01-31 21:46:28 +00:00
channel.h
dsp.c
dsp.h
feeder_chain.c
feeder_eq.c
feeder_format.c
feeder_if.m
feeder_matrix.c
feeder_mixer.c
feeder_rate.c
feeder_volume.c
feeder.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
feeder.h
g711.h
intpcm.h
matrix_map.h
matrix.h
mixer_if.m
mixer.c Remove direct access to si_name. 2012-02-10 12:35:57 +00:00
mixer.h
pcm.h
sndstat.c Added D_TRACKCLOSE to sndstat_cdevsw to fix the situation when 2012-05-02 19:32:11 +00:00
sndstat.h
sound.c Do not handle MOD_SHUTDOWN equally to MOD_UNLOAD in sound kernel module. 2012-02-14 09:19:30 +00:00
sound.h
vchan.c
vchan.h