summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/vibes.c
diff options
context:
space:
mode:
authorariff <ariff@FreeBSD.org>2007-04-18 18:26:41 +0000
committerariff <ariff@FreeBSD.org>2007-04-18 18:26:41 +0000
commit7583ed7e775df1115f31d8e0c2fc6dae4d52d80b (patch)
tree2c19e5966943f5431ac99571e8cfe37828a1efe2 /sys/dev/sound/pci/vibes.c
parentbbf615a3914de4d154b79116997cbe41ef92eaf5 (diff)
downloadFreeBSD-src-7583ed7e775df1115f31d8e0c2fc6dae4d52d80b.zip
FreeBSD-src-7583ed7e775df1115f31d8e0c2fc6dae4d52d80b.tar.gz
sndbuf_alloc() now accept dmaflags argument which will be forwarded to
internal bus_dmammem_alloc() for greater flexibility on setting up DMA / page attributes.
Diffstat (limited to 'sys/dev/sound/pci/vibes.c')
-rw-r--r--sys/dev/sound/pci/vibes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/vibes.c b/sys/dev/sound/pci/vibes.c
index 81a2b39..36a8a16 100644
--- a/sys/dev/sound/pci/vibes.c
+++ b/sys/dev/sound/pci/vibes.c
@@ -192,7 +192,7 @@ svchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c
ch->channel = c;
ch->dir = dir;
- if (sndbuf_alloc(b, sc->parent_dmat, sc->bufsz) != 0) {
+ if (sndbuf_alloc(b, sc->parent_dmat, 0, sc->bufsz) != 0) {
DEB(printf("svchan_init failed\n"));
return NULL;
}
OpenPOWER on IntegriCloud