Re: ioremap() question
From: Eugene Surovegin <hidden>
Date: 2004-05-26 17:12:34
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/