aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pcm
diff options
context:
space:
mode:
authorRobert Noland <rnoland@FreeBSD.org>2009-12-29 21:51:28 +0000
committerRobert Noland <rnoland@FreeBSD.org>2009-12-29 21:51:28 +0000
commitcfd7bacef28efb62a65a679e3e879078e7932b36 (patch)
treeffed01a3f1f97aa245caf60848edab318a53aef9 /sys/dev/sound/pcm
parent723bd8c6b5225ae6ebc947e365194fa75dde548b (diff)
downloadsrc-cfd7bacef28efb62a65a679e3e879078e7932b36.tar.gz
src-cfd7bacef28efb62a65a679e3e879078e7932b36.zip
Update d_mmap() to accept vm_ooffset_t and vm_memattr_t.
This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t. Purge d_mmap2(). All driver modules will need to be rebuilt since D_VERSION is also bumped. Reviewed by: jhb@ MFC after: Not in this lifetime...
Notes
Notes: svn path=/head/; revision=201223
Diffstat (limited to 'sys/dev/sound/pcm')
-rw-r--r--sys/dev/sound/pcm/dsp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c
index 66faef13c15b..c78b1902b410 100644
--- a/sys/dev/sound/pcm/dsp.c
+++ b/sys/dev/sound/pcm/dsp.c
@@ -2179,7 +2179,8 @@ dsp_poll(struct cdev *i_dev, int events, struct thread *td)
}
static int
-dsp_mmap(struct cdev *i_dev, vm_offset_t offset, vm_paddr_t *paddr, int nprot)
+dsp_mmap(struct cdev *i_dev, vm_ooffset_t offset, vm_paddr_t *paddr,
+ int nprot, vm_memattr_t *memattr)
{
struct snddev_info *d;
struct pcm_channel *wrch, *rdch, *c;