From: Eugene Surovegin <ebs@ebshome.net>
To: Oliver Korpilla <okorpil@fh-landshut.de>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: ioremap() question
Date: Wed, 26 May 2004 10:12:34 -0700 [thread overview]
Message-ID: <20040526171234.GA4255@gate.ebshome.net> (raw)
In-Reply-To: <40B4AB27.5020202@fh-landshut.de>
On Wed, May 26, 2004 at 04:35:19PM +0200, Oliver Korpilla wrote:
>
> Hello!
>
> I start with a CPU physical address somwhere within the PCI bridge space:
> 0x85000000
> Then I use ioremap_nocache on it to obtain a (range of) virtual address(es):
> 0xC302D000
> And then I use virt_to_bus() to obtain an address to hand over to the PCI
> device:
> 0x0302D000
You cannot use virt_to_bus() on ioremap returned addresses.
Eugene.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-05-26 17:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-26 14:35 ioremap() question Oliver Korpilla
2004-05-26 17:12 ` Eugene Surovegin [this message]
2004-05-27 6:37 ` Oliver Korpilla
2004-05-27 7:17 ` Oliver Korpilla
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=20040526171234.GA4255@gate.ebshome.net \
--to=ebs@ebshome.net \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=okorpil@fh-landshut.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).