From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Sat, 16 Jun 2007 13:07:22 -0700 (PDT) |
dillon 2007/06/16 13:07:22 PDT DragonFly src repository Modified files: sys/dev/sound/isa ad1816.c mss.c sbc.c sys/dev/sound/pci als4000.c atiixp.c aureal.c cmi.c ds1.c emu10k1.c envy24.c envy24ht.c es137x.c ich.c maestro.c maestro3.c solo.c spicds.c t4dwave.c via8233.c via82c686.c sys/dev/sound/pci/gnu emu10k1-alsa.h sys/dev/sound/pci/hda hdac_private.h sys/dev/sound/pcm ac97.c channel.c channel.h mixer.c sound.c sound.h Log: Update all sound code to use the snd_*() locking abstraction and sndlock_t. Fix issues with spinlocks being held through blocking conditions (because DragonFly spinlocks aren't FreeBSD mutexes) by replacing the spinlocks with lockmgr locks. Revision Changes Path 1.8 +1 -1 src/sys/dev/sound/isa/ad1816.c 1.11 +1 -1 src/sys/dev/sound/isa/mss.c 1.10 +1 -1 src/sys/dev/sound/isa/sbc.c 1.11 +1 -1 src/sys/dev/sound/pci/als4000.c 1.5 +2 -2 src/sys/dev/sound/pci/atiixp.c 1.11 +1 -1 src/sys/dev/sound/pci/aureal.c 1.10 +1 -1 src/sys/dev/sound/pci/cmi.c 1.9 +1 -1 src/sys/dev/sound/pci/ds1.c 1.13 +1 -1 src/sys/dev/sound/pci/emu10k1.c 1.2 +1 -1 src/sys/dev/sound/pci/envy24.c 1.2 +1 -1 src/sys/dev/sound/pci/envy24ht.c 1.10 +1 -1 src/sys/dev/sound/pci/es137x.c 1.16 +3 -1 src/sys/dev/sound/pci/ich.c 1.10 +2 -2 src/sys/dev/sound/pci/maestro.c 1.12 +1 -1 src/sys/dev/sound/pci/maestro3.c 1.10 +1 -1 src/sys/dev/sound/pci/solo.c 1.2 +1 -1 src/sys/dev/sound/pci/spicds.c 1.10 +1 -1 src/sys/dev/sound/pci/t4dwave.c 1.10 +1 -1 src/sys/dev/sound/pci/via8233.c 1.10 +1 -1 src/sys/dev/sound/pci/via82c686.c 1.2 +9 -9 src/sys/dev/sound/pci/gnu/emu10k1-alsa.h 1.4 +1 -1 src/sys/dev/sound/pci/hda/hdac_private.h 1.25 +1 -1 src/sys/dev/sound/pcm/ac97.c 1.14 +1 -1 src/sys/dev/sound/pcm/channel.c 1.6 +3 -3 src/sys/dev/sound/pcm/channel.h 1.17 +1 -1 src/sys/dev/sound/pcm/mixer.c 1.11 +27 -13 src/sys/dev/sound/pcm/sound.c 1.13 +8 -7 src/sys/dev/sound/pcm/sound.h http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/isa/ad1816.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/isa/mss.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/isa/sbc.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/als4000.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/atiixp.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/aureal.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/cmi.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/ds1.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/emu10k1.c.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/envy24.c.diff?r1=1.1&r2=1.2&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/envy24ht.c.diff?r1=1.1&r2=1.2&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/es137x.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/ich.c.diff?r1=1.15&r2=1.16&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/maestro.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/maestro3.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/solo.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/spicds.c.diff?r1=1.1&r2=1.2&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/t4dwave.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/via8233.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/via82c686.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/gnu/emu10k1-alsa.h.diff?r1=1.1&r2=1.2&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pci/hda/hdac_private.h.diff?r1=1.3&r2=1.4&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/ac97.c.diff?r1=1.24&r2=1.25&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/channel.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/channel.h.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/mixer.c.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/sound.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/sound/pcm/sound.h.diff?r1=1.12&r2=1.13&f=u