| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | Re: mmap problem |
| From: | Dmitriy Tochansky <toch@dfpost.ru> |
| Date: | Wed, 8 Dec 2004 10:35:42 +0300 |
| In-reply-to: | <BAY15-F22AE91D0812E86B5F51579AFB60@phx.gbl> |
| Organization: | Special Technology Center |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <BAY15-F22AE91D0812E86B5F51579AFB60@phx.gbl> |
| Sender: | linux-mips-bounce@linux-mips.org |
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 Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: mmap problem, Alexey Shinkin |
|---|---|
| Next by Date: | Re: mmap problem, Dmitriy Tochansky |
| Previous by Thread: | Re: mmap problem, Alexey Shinkin |
| Next by Thread: | i/o and memory space enable bits in PCI-PCI bridge, Pavel Kiryukhin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |