[Dri-devel] PPC Lockup (ati-pcigart-branch)

Roman Zippel zippel at fh-brandenburg.de
Tue Jan 23 22:32:48 EST 2001


Hi,

On Mon, 22 Jan 2001, Frank Rowand wrote:

> Currently, my biggest user of this method is pci_alloc_consistent().  This use is
> because the 405 is not IO cache coherent.  In this case, the "physical" address
> is really a bus address, which pci_alloc_consistent calls "dma_handle".
> DMA-mapping.txt says drivers should not use bus_to_virt(), which is a close
> relative of phys_to_virt().

That's true, if you look into include/asm-sparc64/io.h, you see that
bus_to_virt()/virt_to_bus() are not defined anymore.

bye, Roman


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list