Project

General

Profile

Actions

Feature #5364

open

204: DMA maps for PCI devices

Added by Pavel Andrianov about 10 years ago. Updated about 10 years ago.

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

Also available in: Atom PDF