Thread (4 messages) 4 messages, 2 authors, 2004-05-27

Re: ioremap() question

From: Eugene Surovegin <hidden>
Date: 2004-05-26 17:12:34

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help