From 3903e5ac94c07cf31f0bc24eff5011ef8cc7afba Mon Sep 17 00:00:00 2001 From: Jens Owen Date: Tue, 9 Apr 2002 21:54:56 +0000 Subject: Merged drmcommand-0-0-1 --- bsd/i810/i810_dma.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bsd/i810/i810_dma.c') diff --git a/bsd/i810/i810_dma.c b/bsd/i810/i810_dma.c index 4558c199..4310851a 100644 --- a/bsd/i810/i810_dma.c +++ b/bsd/i810/i810_dma.c @@ -33,6 +33,8 @@ #include "i810.h" #include "drmP.h" +#include "drm.h" +#include "i810_drm.h" #include "i810_drv.h" #define I810_BUF_FREE 2 @@ -125,7 +127,7 @@ static int i810_freelist_put(drm_device_t *dev, drm_buf_t *buf) return 0; } - +#if 0 int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma) { DRM_OS_DEVICE; @@ -150,6 +152,7 @@ int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma) vma->vm_page_prot)) DRM_OS_RETURN(EAGAIN); return 0; } +#endif static int i810_map_buffer(drm_buf_t *buf, struct file *filp) { -- cgit v1.2.3