Thread (2 messages) flat view 2 messages, 2 authors, 2001-02-08

Re: DMA mapping and loadable modules

From: Roman Zippel <hidden>
Date: 2001-02-08 19:43:01

Hi,

On Thu, 8 Feb 2001, Dan Malek wrote:
There is a problem when loadable drivers with "static" data stuctures
try to determine the physical address for DMA.  The "virt_to_bus"
macro doesn't work for these (or for any dynamically allocated memory).
Sure, they can use get_free_page/kmalloc and it will work.
These drivers will work fine when compiled in, and break when loaded
as modules.
The same problem exists on any architecture.

bye, Roman


** 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