]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r219548
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Mar 2011 12:53:09 +0000 (12:53 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Mar 2011 12:53:09 +0000 (12:53 +0000)
commit26e7ccc5eb2bff219500519756be9d31fd19cc55
treeda254e3dd988a13c9677e73c09413ffc001a44aa
parent21607ab02d65a40b303eea188ea6877aa6e01dca
MFC: r219548

Allocate the sound buffer DMA memory coherent. While NetBSD typically
also does this for sound drivers it's probably not necessary for all
combinations of controllers and drivers. However, given that our sound
drivers completely lack bus_dmamap_sync(9) calls this at least serves
as a workaround when enabling use of the IOMMU streaming buffers on
sparc64 and generally for arm and mips.

git-svn-id: svn://svn.freebsd.org/base/stable/8@219995 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sound/pcm/buffer.c