tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: General device properties API



> On Aug 16, 2021, at 2:31 AM, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> 
> jdc%coris.org.uk@localhost (Julian Coleman) writes:
> 
>> We can decide on the name that we'll use (e.g. `ethernet_address') and
>> use that in all the drivers.
> 
> Isn't that what we do today? Have a common name and value format,
> copied/translated from various sources and stored in the MI device
> dictionary.

We sort of have it, and it’s a dumpster fire which is why I want to get away from that.  It doesn’t scale (a new driver that needs a new property suddenly needs a new hook in MD code?  Yiuck…), and it’s wasteful in terms of memory consumed.

-- thorpej



Home | Main Index | Thread Index | Old Index