History

ep93xx: set DMA masks for the ep93xx_eth

Since the driver uses the DMA API, we should pass it valid DMA masks.

Mika Westerberg committed 15 years ago

Commit fa70cf41 parent 0b5c9db1 file · +5 −1Browse files

Unified · Split

arch/arm/mach-ep93xx/core.c+5−1
@@ -402,11 +402,15 @@ static struct resource ep93xx_eth_resource[] = { · 401 unmodified lines
402 }402 }
403};403};
404 404
405static u64 ep93xx_eth_dma_mask = DMA_BIT_MASK(32);
406
405static struct platform_device ep93xx_eth_device = {407static struct platform_device ep93xx_eth_device = {
406 .name = "ep93xx-eth",408 .name = "ep93xx-eth",
407 .id = -1,409 .id = -1,
408 .dev = {410 .dev = {
409 .platform_data = &ep93xx_eth_data,411 .platform_data = &ep93xx_eth_data,
412 .coherent_dma_mask = DMA_BIT_MASK(32),
413 .dma_mask = &ep93xx_eth_dma_mask,
410 },414 },
411 .num_resources = ARRAY_SIZE(ep93xx_eth_resource),415 .num_resources = ARRAY_SIZE(ep93xx_eth_resource),
412 .resource = ep93xx_eth_resource,416 .resource = ep93xx_eth_resource,

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