freebsd-skq/sys/dev/sound
netchild 9986ff6dc1 - Fix the locking in dsp.c to prevent a LOR (AFAIK not on the LOR page).
- Remove an assertion in sound.c, it's not needed (and causes a panic now).
  From the conversation via mail between glebius and Ariff:
  ---snip---
  > Well, but which mutex protects now? Do we own anything else
  > in pcm_chnalloc()? I see some queue(4) macros in pcm_chnalloc(),
  > they should be protected, shouldn't they?
  Queue insertion/removal occur during
     1) driver loading (which is pretty much single thread /
        sequential) or unloading (mutex protected, bail out if there is
        any channel with refcount > 0 or busy).
     2) vchan_create()/destroy(), (which is *sigh* quite complicated), but
        somehow protected by 'master'/parent channel mutex. Other
        thread cannot add/remove vchan (or even continue traversing
        that queue) unless it can acquire parent channel mutex.
---snip---

Fix the locking in dsp.c to prevent a LOR (AFAIK not on the LOR page).

Submitted by:	Ariff Abdullah <skywizard@MyBSD.org.my>
Tested with:	INVARIANTS[1] and DIAGNOSTICS[2]
Tested by:	netchild [1,2], David Reid <david@jetnet.co.uk> [1]
2005-09-12 18:33:33 +00:00
..
isa more #ifndef PC98. This really fix the pc98 tinderbox. 2005-09-12 13:40:10 +00:00
pci Fix hang at init for MagicMedia 256A[VX] chips. [1] 2005-09-11 17:30:27 +00:00
pcm - Fix the locking in dsp.c to prevent a LOR (AFAIK not on the LOR page). 2005-09-12 18:33:33 +00:00
sbus Take advantage of ebus(4) having switched to SYS_RES_MEMORY for the 2005-05-19 18:13:49 +00:00
usb Fix a bug in volume calculation, this sometimes gives a USB audio device an 2005-09-11 09:15:42 +00:00
chip.h
driver.c Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00