| To: | Dmitriy Tochansky <toch@dfpost.ru> |
|---|---|
| Subject: | Re: mmap problem |
| From: | Dan Malek <dan@embeddededge.com> |
| Date: | Tue, 7 Dec 2004 10:57:20 -0500 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20041207184258.071bf401.toch@dfpost.ru> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20041207184258.071bf401.toch@dfpost.ru> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Dec 7, 2004, at 10:42 AM, Dmitriy Tochansky wrote: ret = remap_page_range( start, 0x40000000, size, vma->vm_page_prot ); //
Use io_remap_page_range, it has the same parameters, and is
designed to work with > 32-bit physical addresses.
Also, you should really use pci_resource_* functions to get
information about the pci address, size, etc. Don't hardcode this,
even for testing.
-- Dan
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | mmap problem, Dmitriy Tochansky |
|---|---|
| Next by Date: | Re: [PATCH] Ocelot-3 memory configuration patch, Manish Lachwani |
| Previous by Thread: | mmap problem, Dmitriy Tochansky |
| Next by Thread: | Re: mmap problem, Dmitriy Tochansky |
| Indexes: | [Date] [Thread] [Top] [All Lists] |