From: Albert H. <he...@us...> - 2005-10-02 18:10:40
|
Update of /cvsroot/gc-linux/linux/drivers/video In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17228/drivers/video Modified Files: gcngx.c Log Message: Move to io_remap_pfn_range interface. Index: gcngx.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/video/gcngx.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- gcngx.c 24 Jun 2005 10:59:50 -0000 1.4 +++ gcngx.c 2 Oct 2005 18:10:28 -0000 1.5 @@ -301,8 +301,8 @@ /* our special case, map the memory info */ vma->vm_flags |= VM_IO; vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); - if (io_remap_page_range(vma,vma->vm_start, - VIDEO_MMAP_BASE, + if (io_remap_pfn_range(vma,vma->vm_start, + VIDEO_MMAP_BASE >> PAGE_SHIFT, len, vma->vm_page_prot)) { |