On Dec 7, 2004, at 10:42 AM, Dmitriy Tochansky wrote:
ret = remap_page_range( start, 0x40000000, size, vma->vm_page_prot ); //
Use io_remap_page_range, it has the same parameters, and is designed to work with > 32-bit physical addresses.
Also, you should really use pci_resource_* functions to get information about the pci address, size, etc. Don't hardcode this, even for testing.
-- Dan