patch-2.3.99-pre6 linux/Documentation/DMA-mapping.txt

Next file: linux/Documentation/DocBook/Makefile
Previous file: linux/Documentation/Configure.help
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/Documentation/DMA-mapping.txt linux/Documentation/DMA-mapping.txt
@@ -198,7 +198,7 @@
 PCI_DMA_TODEVICE means "from main memory to the PCI device"
 PCI_DMA_FROMDEVICE means "from the PCI device to main memory"
 
-Cou are _strongly_ encouraged to specify this as precisely
+You are _strongly_ encouraged to specify this as precisely
 as you possibly can.
 
 If you absolutely cannot know the direction of the DMA transfer,
@@ -284,7 +284,7 @@
 
 To unmap a scatterlist, just call:
 
-	pci_unmap_sg(dev, sglist, nents);
+	pci_unmap_sg(dev, sglist, nents, direction);
 
 Again, make sure DMA activity finished.
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)