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

Timur Tabi
2016-04-15T15:44:57Z

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.