
Dear Kim Phillips,
In message 20090611105533.7aeec1ee.kim.phillips@freescale.com you wrote:
The separator between options is ';', between sub-options is ','.
So that would be 'dr_usb:mode=host,phy_type=ulpi; esdhc".
...and that's still what I like most of the differnet formats discussed so far.
if you don't want to type, things like this are possible but they have to depend on the order given:
It's not only about not typing, it's also about being able to read it easily.
dr_usb.mode = host; .phy_type = ulpi; esdhc;
however when automating/scripting concatenation of them, it's useful to not have to depend on their order:
dr_usb.mode = host; esdhc; dr_usb.phy_type = ulpi;
I see no reason that we need to support such a format. In C, you also cannot mix initializations of fields from different structures :-)
What do you think?
'dr_usb:mode=host,phy_type=ulpi; esdhc" still looks reasonable to me.
Best regards,
Wolfgang Denk