Re: [PATCH 1/2] [v4] net: emac: emac gigabit ethernet controller driver

From: Timur Tabi
Date: Fri Apr 15 2016 - 11:44:59 EST


Rob Herring wrote:
>
> dma-mask = <0 0xffffffff>;
>
>or
>
> dma-mask = <0xffffffff 0xffffffff>;
No. See dma-ranges.

How exactly should I use dma-ranges? I can't find any other drivers that queries that property and uses the result to call dma_set_mask. I thought the dma-ranges property is intended to specify address translation. I don't need to translate any address, I just need to know a single number.

--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
Forum, a Linux Foundation collaborative project.