[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mips
Subject: Re: mmap problem
From: Dan Malek <dan () embeddededge ! com>
Date: 2004-12-07 15:57:20
Message-ID: AD0D6ED2-4868-11D9-BB64-003065F9B7DC () embeddededge ! com
[Download RAW message or body]
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 list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic