diff options
author | Mika Westerberg <mika.westerberg@iki.fi> | 2011-06-11 10:39:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-12 01:25:15 +0200 |
commit | fa70cf472c0bc3a0d7e613a418cfc1117b796c6c (patch) | |
tree | 6f43ffed3030668cbd5e01caea8923e02c7608f9 /arch | |
parent | vlan: Fix the ingress VLAN_FLAG_REORDER_HDR check (diff) | |
download | linux-fa70cf472c0bc3a0d7e613a418cfc1117b796c6c.tar.xz linux-fa70cf472c0bc3a0d7e613a418cfc1117b796c6c.zip |
ep93xx: set DMA masks for the ep93xx_eth
Since the driver uses the DMA API, we should pass it valid DMA masks.
Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Tested-by: Petr Stetiar <ynezz@true.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-ep93xx/core.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index 82079545adc4..1d4b65fd673e 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c @@ -402,11 +402,15 @@ static struct resource ep93xx_eth_resource[] = { } }; +static u64 ep93xx_eth_dma_mask = DMA_BIT_MASK(32); + static struct platform_device ep93xx_eth_device = { .name = "ep93xx-eth", .id = -1, .dev = { - .platform_data = &ep93xx_eth_data, + .platform_data = &ep93xx_eth_data, + .coherent_dma_mask = DMA_BIT_MASK(32), + .dma_mask = &ep93xx_eth_dma_mask, }, .num_resources = ARRAY_SIZE(ep93xx_eth_resource), .resource = ep93xx_eth_resource, |