[PATCH] DTC - validation by device_type
Segher Boessenkool
segher at kernel.crashing.org
Tue Apr 25 06:55:40 EST 2006
>>> + CHECK_HAVE(net, "reg");
>>> + CHECK_HAVE(net, "local-mac-address");
>>> + CHECK_HAVE(net, "mac-address");
>>> + CHECK_HAVE(net, "address-bits");
1) It's hard to see how any (physical) network device would
not have a "reg" property. It is not required though.
2) "local-mac-address" is not a required property.
3) "mac-address" is only required for nodes that have been
opened before.
4) "address-bits" is not required (taken as 48 if absent).
Please see Annex A (look at the property names, and perhaps
at the "network" device type). _Always_ look at Annex A!
It's normative.
Segher
More information about the Linuxppc-dev
mailing list