[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: sk_buff and DMA memory



Hi, fellows,

I come across a problem for allocating sk_buff in a specific memory
range. Basically, the network driver i am working on use a memory
mapped ethernet hardware. I wanted to create a shared memory for both
the card and the driver to use. How can I do it? The card can only
access a certain range of memory.

I am using ARM Integrator/AP. It's the 512K ssram I would like to use.

By the way, which function call should I use to get access to that
memory, bus_to_virt(), phys_to_virt() or ioremap()?

Thanks,

David


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/