From 3dc3ad8568aae78c6c3ebad44e859a0feac05c38 Mon Sep 17 00:00:00 2001 From: rnoland Date: Tue, 29 Dec 2009 21:51:28 +0000 Subject: 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... --- sys/dev/fb/machfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/fb/machfb.c') diff --git a/sys/dev/fb/machfb.c b/sys/dev/fb/machfb.c index a9574f3..dad41d8 100644 --- a/sys/dev/fb/machfb.c +++ b/sys/dev/fb/machfb.c @@ -837,8 +837,8 @@ machfb_blank_display(video_adapter_t *adp, int mode) } static int -machfb_mmap(video_adapter_t *adp, vm_offset_t offset, vm_paddr_t *paddr, - int prot) +machfb_mmap(video_adapter_t *adp, vm_ooffset_t offset, vm_paddr_t *paddr, + int prot, vm_memattr_t *memattr) { struct machfb_softc *sc; video_info_t *vi; -- cgit v1.1