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/ich.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/ich.c')
-rw-r--r-- | sys/dev/sound/pci/ich.c | 2 |
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); |