linux-mips
[Top] [All Lists]

RE: troubles mmaping PCI device on Au1550

To: linux-mips@linux-mips.org
Subject: RE: troubles mmaping PCI device on Au1550
From: "Alexey Shinkin" <alexshinkin@hotmail.com>
Date: Mon, 11 Apr 2005 11:08:03 +0700
In-reply-to: <20050410230001Z8226002-1340+5508@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org

Has anyone tried something like this on the Alchemy processors with a
recent kernel?

                          Many thanks,
                          Clem Taylor

Hi !
Something like this works on Au1550 with montavista kernel 2.4.20 . Dont know about more recent...

I use the followinng in  drivers'  mmap() :

vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
remap_page_range(... , vma->vm_page_prot)

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


<Prev in Thread] Current Thread [Next in Thread>