[PATCH] ARM: shmobile: set proper DMA masks for Ether devices

Simon Horman horms at verge.net.au
Tue Feb 11 20:35:17 EST 2014


On Wed, Feb 12, 2014 at 02:55:24AM +0300, Sergei Shtylyov wrote:
> 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 in the future, when
> support for NETIF_F_HIGHDMA & NETIF_F_SG would be added to the 'sh_eth' driver,
> the DMA masks should start to matter...
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>

Hi Sergei,

please split this series up so there is a separate patch for each board.

Thanks

> 
> ---
> The patch is against 'renesas-devel-v3.14-rc1-20140207' tag in Simon Horman's
> 'renesas.git' repo... 
> 
>  arch/arm/mach-shmobile/board-armadillo800eva.c |    2 ++
>  arch/arm/mach-shmobile/board-bockw.c           |   21 ++++++++++++++-------
>  arch/arm/mach-shmobile/board-genmai.c          |   19 ++++++++++++++-----
>  arch/arm/mach-shmobile/board-koelsch.c         |   16 ++++++++++++----
>  arch/arm/mach-shmobile/board-lager.c           |   19 ++++++++++++++-----
>  5 files changed, 56 insertions(+), 21 deletions(-)



More information about the linux-arm-kernel mailing list