diff options
author | ariff <ariff@FreeBSD.org> | 2007-04-18 18:26:41 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2007-04-18 18:26:41 +0000 |
commit | 7583ed7e775df1115f31d8e0c2fc6dae4d52d80b (patch) | |
tree | 2c19e5966943f5431ac99571e8cfe37828a1efe2 /sys/dev/sound/pci/vibes.c | |
parent | bbf615a3914de4d154b79116997cbe41ef92eaf5 (diff) | |
download | FreeBSD-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.c | 2 |
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; } |