On Fri, Aug 29, 2008 at 3:45 PM, Stefan Reinauer stepan@coresystems.de wrote:
ron minnich wrote:
On Fri, Aug 29, 2008 at 1:36 PM, Carl-Daniel Hailfinger
Either we add a random unique ID to the struct name or we integrate the number of the parent bus as well.
yeah I know. I was aware of this and had it in my queue. dtc should have a 'unique-ifier' (a la U numbers on chips on schematics' which is appended or prepended.
Maybe we should have a look at how UEFI does it.. They have a complete system of unique identifiers for their devices.
it's really easily solved: make the name of the struct contain the path of the parents to the root (long names) or just make the name be U####_rest of name.
The #### is generated from a global counter. This is really easy, it's what I did in v2 config tool :-)
ron