qcard->memaccess = ioremap(qcard->memstart, qcard->memlen);
unsigned long physical = (unsigned long) qcard->memaccess + off;
if (remap_pfn_range(vma, vma->vm_start, phys_to_pfn(physical), vsize,
vma->vm_page_prot))
return -EAGAIN;
qcard->memaccess is not physical address .
Regards
Srinivas Bakki