[Top] [All Lists]

Re: mmap problem

To: Dmitriy Tochansky <>
Subject: Re: mmap problem
From: Dan Malek <>
Date: Tue, 7 Dec 2004 10:57:20 -0500
In-reply-to: <>
Original-recipient: rfc822;
References: <>

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>