Re: [PATCH] DTC - validation by device_type
From: Segher Boessenkool <hidden>
Date: 2006-04-24 20:55:53
From: Segher Boessenkool <hidden>
Date: 2006-04-24 20:55:53
quoted
quoted
+ 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