History

dmaengine: dw-edma: Replace chip ID number with device name

Using an abstract number as the DW eDMA chip identifier isn't practical because there can be more than one DW eDMA controller on the platform. Some may be detected as the PCIe Endpoints, and others may be embedded in DW PCIe Root Port/Endpoint controllers. An abstract number in, for instance, the IRQ handlers list, doesn't give a notion regarding their reference to the particular DMA controller. To preserve the code simplicity and support multi-eDMA platforms, use the parental device name to create the DW eDMA controller name.

Serge Semin committed 3 years ago

Commit 53c0e2f1 parent 71196854 files · +3 −4Browse files

Showing the changes to include/linux/dma (1 of 4 files). Show all

Unified · Split

include/linux/dma/edma.h+0−1
@@ -76,7 +76,6 @@ enum dw_edma_chip_flags { · 75 unmodified lines
7676 */
7777 struct dw_edma_chip {
7878 struct device *dev;
79− int id;
8079 int nr_irqs;
8180 const struct dw_edma_core_ops *ops;
8281 u32 flags;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t