ioremap() question

Eugene Surovegin ebs at ebshome.net
Thu May 27 03:12:34 EST 2004


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/





More information about the Linuxppc-embedded mailing list