ARM: shmobile: Koelsch: set proper DMA masks for Ether device
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 15 Feb 2014 01:36:19 +0000 (04:36 +0300)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:22:16 +0000 (09:22 +0900)
commit0eeeb01217fe66e6d3eb6dfd202b45d86827932e
tree5ebebc96904117b179fd579c099d1428445e47da
parentf16c92256fb25ca9ed6dfe9d9d5636f19bea583a
ARM: shmobile: Koelsch: set proper DMA masks for Ether device

Ether MAC is a DMA-capable device and so should have 'dev.dma_mask' and
'dev.coherent_dma_mask' fields set properly, to reflect 32-bit DMA addressing
ability.

Currently, the code works without DMA masks but as we would have to enable
CONFIG_HIGHMEM to access the full board memory in the future, when support for
NETIF_F_SG would be added to the 'sh_eth' driver as well, the correct DMA masks
should start to matter...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 379bfd7134bccccf58962b39e504bd639a5e75b2)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-koelsch.c