diff options
author | cognet <cognet@FreeBSD.org> | 2003-02-20 17:31:12 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2003-02-20 17:31:12 +0000 |
commit | 25a2aa22f19c732e8551e7ad32190bf14add4562 (patch) | |
tree | 754946b164b23a1f5dc38394662ee5a04598b6a7 /sys/dev/sound/pci/solo.c | |
parent | 22cf3256d9e0c5f63427ab60eb09a6f768660c18 (diff) | |
download | FreeBSD-src-25a2aa22f19c732e8551e7ad32190bf14add4562.zip FreeBSD-src-25a2aa22f19c732e8551e7ad32190bf14add4562.tar.gz |
Implement a "sndbuf_getbufaddr" function and use it instead of vtophys().
Reviewed by: orion
Diffstat (limited to 'sys/dev/sound/pci/solo.c')
-rw-r--r-- | sys/dev/sound/pci/solo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/solo.c b/sys/dev/sound/pci/solo.c index 7c5e56e0..a077cca 100644 --- a/sys/dev/sound/pci/solo.c +++ b/sys/dev/sound/pci/solo.c @@ -572,7 +572,7 @@ esschan_trigger(kobj_t obj, void *data, int go) switch (go) { case PCMTRIG_START: - ess_dmasetup(sc, ch->hwch, vtophys(sndbuf_getbuf(ch->buffer)), sndbuf_getsize(ch->buffer), ch->dir); + ess_dmasetup(sc, ch->hwch, sndbuf_getbufaddr(ch->buffer), sndbuf_getsize(ch->buffer), ch->dir); ess_dmatrigger(sc, ch->hwch, 1); ess_start(ch); break; |