mem=XXXM ioremap DMA
Sylvain Munaut
tnt at 246tNt.com
Mon Jan 29 19:06:58 EST 2007
Eric Nuckols wrote:
> in my driver, I'm calling
> my_virt_address = ioremap( 0x1F800000, 0x800000 );
> my_bus_address = virt_to_bus( my_virt_address );
>
You can't use virt_to_bus on address returned by ioremap AFAIK.
I think you could do
my_bus_address = virt_to_bus(phys_to_virt(0x1f800000));
Altough it slightly misuse the functions ... but that should work.
Sylvain
More information about the Linuxppc-embedded
mailing list