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
- Lines: 18
- Date:
Tue Apr 25 17:52:05 2000
- Orig file:
v2.3.99-pre5/linux/Documentation/DMA-mapping.txt
- Orig date:
Sun Feb 20 21:12:38 2000
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)