SH: Add dma mask for sh_eth on ecovec24.
PATCH 1/1 SH: Add dma mask for sh_eth on ecovec24.
Cleans up the warnings and makes ethernet work again on the ecovec24 board.
Signed-off-by Daniel Palmer <[email protected]>
--- arch/sh/boards/mach-ecovec24/setup.c | 2 ++ 1 file changed, 2 insertions(+)
arch/sh/boards/mach-ecovec24/setup.c +2 -0
@@ -175,6 +175,8 @@ static struct platform_device sh_eth_device = { .id = 0, .dev = { .platform_data = &sh_eth_plat, + .dma_mask = &sh_eth_device.dev.coherent_dma_mask, + .coherent_dma_mask = DMA_BIT_MASK(32), }, .num_resources = ARRAY_SIZE(sh_eth_resources), .resource = sh_eth_resources,
Signature · 1 line
2.20.0.rc1