[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mips
Subject: Re: mmap problem
From: Dmitriy Tochansky <toch () dfpost ! ru>
Date: 2004-12-08 7:35:42
Message-ID: 20041208103542.6964f84f.toch () dfpost ! ru
[Download RAW message or body]
On Wed, 08 Dec 2004 13:28:30 +0600
"Alexey Shinkin" <alexshinkin@hotmail.com> wrote:
> Hi !
>
> On Au1550 code like yours works
>
> I use ioremap_nocache(PhysAddr,length) to get access from kernel
> level.
Yes, it works. Even just ioremap()
> For access from userland I don't set any vm_flags in drivers' mmap()
> ,
> vma->vm_flags is set by kernel to 0x40FB (VM_IO is set and
> VM_LOCKED isn't).
I tryed it - same result. :(
>
> And , as Dan said , pci_resource_* functions used for getting valid
> PCI memory address
Done! :)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic