.\" 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_DMA_SYNC_SG" "" "06 October 2005" "" ""
.SH NAME
sn_pci_dma_sync_sg \- make sure all DMAs have completed
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void sn_pci_dma_sync_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 sync
.TP
\fB\fIsg\fB\fR
scatterlist to sync
.TP
\fB\fInents\fB\fR
number of entries in the scatterlist
.TP
\fB\fIdirection\fB\fR
DMA direction
.SH "DESCRIPTION"
.PP
This routine is supposed to sync the DMA regions specified
by \fIsg\fR into the 'coherence domain'. We do not need to do anything
on our platform.