newbie creating scatter/gather list

Oliver Ryan (oryan@physics.nuigalway.ie)
Fri, 20 Jul 2001 15:00:16 +0100


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/