Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119533
b: refs/heads/master
c: 1d678f3
h: refs/heads/master
i:
  119531: 1d7e946
v: v3
  • Loading branch information
FUJITA Tomonori authored and Linus Torvalds committed Dec 2, 2008
1 parent 1a839e9 commit c6b359e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4280e3126f641898f0ed1a931645373d3489e2a6
refs/heads/master: 1d678f365dae28420fa7329a2a35390b3582678d
8 changes: 3 additions & 5 deletions trunk/Documentation/DMA-API.txt
Original file line number Diff line number Diff line change
Expand Up @@ -316,12 +316,10 @@ reduce current DMA mapping usage or delay and try again later).
pci_map_sg(struct pci_dev *hwdev, struct scatterlist *sg,
int nents, int direction)

Maps a scatter gather list from the block layer.

Returns: the number of physical segments mapped (this may be shorter
than <nents> passed in if the block layer determines that some
elements of the scatter/gather list are physically adjacent and thus
may be mapped with a single entry).
than <nents> passed in if some elements of the scatter/gather list are
physically or virtually adjacent and an IOMMU maps them with a single
entry).

Please note that the sg cannot be mapped again if it has been mapped once.
The mapping process is allowed to destroy information in the sg.
Expand Down

0 comments on commit c6b359e

Please sign in to comment.