I am looking for a solution to a similar problem. I am writing a
driver for an FCC on the 8260 in transparent mode, and need
to allocate buffer memory. The buffer memory will get filled
via DMA, and therefore must not be cached. Will the following work
correctly?
vaddr = kmalloc(BUF_SIZE, GFP_DMA);
paddr = __pa(vaddr);
Thanks.
--
Jay Monkman The truth knocks on the door and you say "Go away, I'm
monkman at jump.net looking for the truth," and so it goes away. Puzzling.
- from _Zen_and_the_Art_of_Motorcycle_Maintenance_
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/