Package: qc-usb-source
Version: 0.6.2-2

here the working patch ;)

--- qc-memory.c_old     2005-03-25 17:50:54.000000000 +0100
+++ qc-memory.c 2005-03-26 00:56:15.000000000 +0100
@@ -230,7 +230,7 @@
        pos = (unsigned long)src;
        while ((long)size > 0) {
                physaddr = kvirt_to_pa(pos);
-               if (remap_page_range(vma, start, physaddr, PAGE_SIZE, 
PAGE_SHARED))
+               if (remap_pfn_range(vma, start, physaddr >> PAGE_SHIFT, 
PAGE_SIZE, PAGE_SHARED))
                        return -EAGAIN;
                start += PAGE_SIZE;
                pos += PAGE_SIZE;

Kiro


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to