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

creating a scatterlist



Hi all,

I want to create a scatter/gather list for dma from a pci device. I've read 
DMA-mapping.txt and a host of other stuff, but most of it assumes I know 
the 'basics' already, which I don't and can't find.  Kernelnewbies sent me 
here.

I want to use the pci_map_sg() function detailed in DMA-mapping .txt, but 
have to pass an already created scatter list to it.  Can anyone tell me how 
to do it, or where to find details on it (an example program?).

Thanks, the help is needed and appreciated.

Oliver.


Dept. of Physics,
National University of Ireland, Galway,
Galway,
Ireland.

Tel: +353 (0)91 524411 ext. 2716
Fax: +353 (0)91 750584
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/