From: Clem Taylor <clem.taylor@gmail.com>
To: linux-mips@linux-mips.org
Subject: Re: troubles mmaping PCI device on Au1550
Date: Tue, 12 Apr 2005 16:56:56 -0400 [thread overview]
Message-ID: <ecb4efd10504121356194d4d9f@mail.gmail.com> (raw)
In-Reply-To: <479d91035fe1567525659393491e7ab9@embeddedalley.com>
On Apr 12, 2005 11:22 AM, Dan Malek <dan@embeddedalley.com> wrote:
> The Au15xx uses 36-bit addressing for the PCI (among other) physical
> addresses. The mmap() in your driver is the right thing, but you need
> to use io_remap_page_range() where the 2nd parameter is a phys_t.
> Your offset should be a phys_t type, and pci_resource_start() also
> returns a phys_t.
Yeah, this was exactly my problem. Last night I managed to find the
comment about this in au1000.h. Now I can happily mmap() the PCI
devices memory. Thanks!
--Clem
next prev parent reply other threads:[~2005-04-12 20:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-10 22:16 troubles mmaping PCI device on Au1550 Clem Taylor
2005-04-10 22:16 ` Clem Taylor
2005-04-12 15:22 ` Dan Malek
2005-04-12 20:56 ` Clem Taylor [this message]
[not found] <20050410230001Z8226002-1340+5508@linux-mips.org>
2005-04-11 4:08 ` Alexey Shinkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ecb4efd10504121356194d4d9f@mail.gmail.com \
--to=clem.taylor@gmail.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.