.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SN_PCI_MAP_SG" "" "06 October 2005" "" ""
.SH NAME
sn_pci_map_sg \- map a scatter-gather list for DMA
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int sn_pci_map_sg (struct pci_dev * \fIhwdev\fB, struct scatterlist * \fIsg\fB, int \fInents\fB, int \fIdirection\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIhwdev\fB\fR
device to map for
.TP
\fB\fIsg\fB\fR
scatterlist to map
.TP
\fB\fInents\fB\fR
number of entries
.TP
\fB\fIdirection\fB\fR
direction of the DMA transaction
.SH "DESCRIPTION"
.PP
Maps each entry of \fIsg\fR for DMA. Also known as platform_pci_map_sg by the
IA64 machvec code.