diff options
author | Nicolas Pitre <nico@cam.org> | 2009-05-23 00:53:40 +0400 |
---|---|---|
committer | Nicolas Pitre <nico@cam.org> | 2009-05-23 01:05:53 +0400 |
commit | a49a018a6ea6d73742a81d673fe5ec4a7d2137b3 (patch) | |
tree | 66eadfec4cfaa80eb2730f06997788bbd3c315ff /arch/arm/mach-loki | |
parent | 85bc26211c6a2c6e82c2403697f8ce44e9587215 (diff) | |
download | linux-a49a018a6ea6d73742a81d673fe5ec4a7d2137b3.tar.xz |
[ARM] add coherent DMA mask for mv643xx_eth
Since commit eb0519b5a1cf, mv643xx_eth is non functional on ARM because
the platform device declaration does not include any coherent DMA mask
and coherent memory allocations fail.
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-loki')
-rw-r--r-- | arch/arm/mach-loki/common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-loki/common.c b/arch/arm/mach-loki/common.c index c0d2d9d12e74..818f19d7ab1f 100644 --- a/arch/arm/mach-loki/common.c +++ b/arch/arm/mach-loki/common.c @@ -82,6 +82,9 @@ static struct platform_device loki_ge0 = { .id = 0, .num_resources = 1, .resource = loki_ge0_resources, + .dev = { + .coherent_dma_mask = 0xffffffff, + }, }; void __init loki_ge0_init(struct mv643xx_eth_platform_data *eth_data) @@ -136,6 +139,9 @@ static struct platform_device loki_ge1 = { .id = 1, .num_resources = 1, .resource = loki_ge1_resources, + .dev = { + .coherent_dma_mask = 0xffffffff, + }, }; void __init loki_ge1_init(struct mv643xx_eth_platform_data *eth_data) |