Since the driver uses the DMA API, we should pass it valid DMA masks.
Unified · Split
| @@ -402,11 +402,15 @@ static struct resource ep93xx_eth_resource[] = { · 401 unmodified lines | ||
| 402 | 402 | } |
| 403 | 403 | }; |
| 404 | 404 | |
| 405 | +static u64 ep93xx_eth_dma_mask = DMA_BIT_MASK(32); | |
| 406 | + | |
| 405 | 407 | static struct platform_device ep93xx_eth_device = { |
| 406 | 408 | .name = "ep93xx-eth", |
| 407 | 409 | .id = -1, |
| 408 | 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 | 415 | .num_resources = ARRAY_SIZE(ep93xx_eth_resource), |
| 412 | 416 | .resource = ep93xx_eth_resource, |