lkml.org 
[lkml]   [2000]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PCI Memory Mapping

> > > do_wp_page: bogus page at address 4017400 (72000000)
> > [...]
> > > if (remap_page_range(vma->vm_start, physical, vsize, vma->vm_page_prot))
> > > return 0;
> >
> > Use io_remap_page_range() instead.
> This function is undefined. I think it's a sparc specific (or at least a
> non-intel) function. (btw, I'm on 2.2.15)

Take a look fb_mmap in drivers/video/fbmem.c in a for example of using
mmap for various platforms.

Q: Why did they deprecate a.out support in linux?
A: Because a nasty coff is bad for your elf.

James Simmons [jsimmons@linux-fbdev.org] ____/|
fbdev/console/gfx developer \ o.O|
http://www.linux-fbdev.org =(_)=
http://linuxgfx.sourceforge.net U
http://linuxconsole.sourceforge.net


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.083 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site