summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/ich.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/ich.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/ich.c')
-rw-r--r--sys/dev/sound/pci/ich.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/ich.c b/sys/dev/sound/pci/ich.c
index 411c7e1..2138648 100644
--- a/sys/dev/sound/pci/ich.c
+++ b/sys/dev/sound/pci/ich.c
@@ -393,7 +393,7 @@ ichchan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *
ch->spdreg = 0;
ICH_UNLOCK(sc);
- if (sndbuf_alloc(ch->buffer, sc->dmat, sc->bufsz) != 0)
+ if (sndbuf_alloc(ch->buffer, sc->dmat, 0, sc->bufsz) != 0)
return (NULL);
ICH_LOCK(sc);
OpenPOWER on IntegriCloud