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