Subject: RE: troubles mmaping PCI device on Au1550

From: "Alexey Shinkin" <[email-masked]>
Date: Mon, 11 Apr 2005 11:08:03 +0700

>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/