/aliases node and valid property names
Hey all,
I found out about https://github.com/raspberrypi/firmware/issues/613 and in digging a little harder, this is not the first case where 'ethernet' has been added rather than 'ethernet0'. Looking at the spec, it's implied (by all the examples) that property names end in a number but it's certainly allowable by the way things are worded to not. Is it worth adding any further words here, another example, or just leaving everything alone? Thanks!
Signature · 1 line
Tom
Quoted 9 lines · Tom Rini
Hey all,
I found out about https://github.com/raspberrypi/firmware/issues/613 and in digging a little harder, this is not the first case where 'ethernet' has been added rather than 'ethernet0'. Looking at the spec, it's implied (by all the examples) that property names end in a number but it's certainly allowable by the way things are worded to not. Is it worth adding any further words here, another example, or just leaving everything alone? Thanks!
Numbers shouldn't be required. Certainly on old OF-era machines, aliases called simply 'net' or 'disk' were both common and useful.
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · David Gibson
Quoted 9 lines · Tom Rini
Hey all,
I found out about https://github.com/raspberrypi/firmware/issues/613 and in digging a little harder, this is not the first case where 'ethernet' has been added rather than 'ethernet0'. Looking at the spec, it's implied (by all the examples) that property names end in a number but it's certainly allowable by the way things are worded to not. Is it worth adding any further words here, another example, or just leaving everything alone? Thanks!
Quoted 2 lines
Numbers shouldn't be required. Certainly on old OF-era machines, aliases called simply 'net' or 'disk' were both common and useful.
OK. So leave things alone, or add a sentence / example without (and assume that this thread will be enough for anyone in the future who sees the occasional alias without a number and wonders if that's valid) ? Thanks!
Signature · 1 line
Tom