projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b5c9db
)
ep93xx: set DMA masks for the ep93xx_eth
author
Mika Westerberg
<
[email protected]
>
Sat, 11 Jun 2011 08:39:54 +0000
(08:39 +0000)
committer
David S. Miller
<
[email protected]
>
Sat, 11 Jun 2011 23:25:15 +0000
(16:25 -0700)
Since the driver uses the DMA API, we should pass it valid DMA masks.
Signed-off-by: Mika Westerberg <
[email protected]
>
Acked-by: Russell King <
[email protected]
>
Acked-by: H Hartley Sweeten <
[email protected]
>
Tested-by: Petr Stetiar <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
arch/arm/mach-ep93xx/core.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-ep93xx/core.c
b/arch/arm/mach-ep93xx/core.c
index 82079545adc4e8b788e98509cc8e77c7a5e95508..1d4b65fd673eb23e9d2ac2fd9dbded0f2e8ba6d9 100644
(file)
--- 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,