Actions
Feature #5364
open204: DMA maps for PCI devices
Status:
New
Priority:
Normal
Assignee:
-
Start date:
10/20/2014
Due date:
% Done:
0%
Estimated time:
Published in build:
Description
DMA map for PCI device is created by the function pci_map_single(struct pci_dev *, void *, size_t, int) if its first argument is a correct pointer to a structure of PCI device. A DMA map is destroyed by function pci_unmap_single(struct pci_dev *, dma_addr_t, size_t, int). The correct usage includes:
- unmap only created maps;
- create only one map for particular device;
- cancel all created maps on module uploading.
Sample bugfixes
468e4e3
Actions