Re: Mapping PCI memory to user-space

2007-10-27 Thread Roland Dreier
> I am writing a driver to map a PCI board memory space (pcibar2) into a > user-space vma via 'mmap'. What is the relationship between the address > returned from ioremap and the type of address needed in the > 'io_remap_page_range' or 'remap_pfn_range' functions? How about the > following?

Re: Mapping PCI memory to user-space

2007-10-24 Thread Jiri Slaby
On 10/24/2007 08:59 AM, joncglenn wrote: > I am writing a driver to map a PCI board memory space (pcibar2) into a > user-space vma via 'mmap'. What is the relationship between the address > returned from ioremap and the type of address needed in the > 'io_remap_page_range' or 'remap_pfn_range' fun

Mapping PCI memory to user-space

2007-10-23 Thread joncglenn
= &mydriver_vm_ops; vma->vm_flags |= VM_IO | VM_RESERVED; mydriver_vma_open(vma); return 0; } -- View this message in context: http://www.nabble.com/Mapping-PCI-memory-to-user-space-tf4682416.html#a13380086 Sent from the linux-kernel mailing list archive at Nabble.com. - To uns