On Fri, Jul 16, 2010 at 12:38 PM, Stephen Neuendorffer
<[email protected]> wrote:
>
>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]] On Behalf Of
> Grant Likely
>> Sent: Friday, July 16, 2010 11:34 AM
>> To: Stephen Neuendorffer
>> Cc: [email protected]
>> Subject: Re: [PATCH 4/8] of/base.c: export property
> access/modification functions
>>
>> On Fri, Jul 16, 2010 at 12:13 PM, Stephen Neuendorffer
>> <[email protected]> wrote:
>> > These functions can be usefully used by device drivers.
>>
>> I'd like a little more description of the intended use case.  What are
>> the circumstances where a driver needs to modify the data (this
>> information should be part of the patch description)?
>
> The PCIPR driver code needs to stuff the ranges property using these
> calls...

I'd rather change the translation code to give you an intermediary
value (an offset from a bar), and then use non-OF code to translate
that into a physical address.

g.


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to