Messages in this thread | | | Date | Fri, 4 Aug 2000 21:00:17 -0400 (EDT) | From | James Simmons <> | Subject | Re: 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/
| |