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

Re: creating a scatterlist



grep and
http://lxr.linux.no/source/
are your friends

On Fri, Jul 20, 2001 at 05:32:34PM +0100, Oliver Ryan wrote :
> 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/

-- 
Stéphane LIST                     -- <stephane.list@fr.alcove.com>
Alcôve, l'informatique est libre  -- <http://www.alcove.com/>
-
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/