Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94862
b: refs/heads/master
c: 97a34eb
h: refs/heads/master
v: v3
  • Loading branch information
Matti Linnanvuori authored and Jesse Barnes committed Apr 28, 2008
1 parent dbfbd65 commit 2991d90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 819e32377e401669d2c010f1a0ce12fe43ea5261
refs/heads/master: 97a34eb77c758ff7821c2d29b3b5a84299c93aa1
6 changes: 3 additions & 3 deletions trunk/Documentation/DMA-mapping.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ you should do:

cpu_addr = pci_alloc_consistent(pdev, size, &dma_handle);

where pdev is a struct pci_dev *. You should pass NULL for PCI like buses
where devices don't have struct pci_dev (like ISA, EISA). This may be
called in interrupt context.
where pdev is a struct pci_dev *. This may be called in interrupt context.
You should use dma_alloc_coherent (see DMA-API.txt) for buses
where devices don't have struct pci_dev (like ISA, EISA).

This argument is needed because the DMA translations may be bus
specific (and often is private to the bus which the device is attached
Expand Down

0 comments on commit 2991d90

Please sign in to comment.