Thread (14 messages) flat view 14 messages, 5 authors, 2004-04-01

Re: Proposed changes to io.h

From: John Whitney <hidden>
Date: 2004-03-31 21:09:13

quoted
1. Modifications to virt_to_bus, bus_to_virt, virt_to_phys, and
phys_to_virt.  With the use of fully virtual addresses for
These are all obsolete interface and you're not supposed to use them
for new plattforms or drivers at all.
pci_map_single() (include/asm-ppc/pci.h) and dma_map_single()
(include/asm-ppc/dma-mapping.h) use virt_to_bus().  Shouldn't some care
be taken to ensure that ANY virtual address passed to these routines
maps to the correct physical (bus) address?

John


** Sent via the linuxppc-dev 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