The condition element can be used to create dependency rules using several attributes defined in the standard for other elements.
E.g.:
Dvendor, Dname, … attributes can be used for creating a dependency rule on a <device> element
Cvendor, Cbundle, .. attributes can be used for creating a dependency rule on a <component> element
Bvendor, Bname, .. attributes can be used for creating a dependency rule on a <board> element
Hvendor, Hname attributes can be used for creating a dependency rule on a <part> element
At present, in the standard, among the <device>, the <component>, the <board> and the <part> elements, only the <component> has the attribute condition.
Hence, a condition can be used only to create a dependency rule between a <component> element and the other elements (another <component>, a <device>, a <board> and a <part>).
No other kind of dependencies can be created.
E.g.: there is no way to describe in the PDSC file the dependency between boards (e.g. a daughter board working only when mounted on a specific mother board) or between a board and a part or a device (and vice-versa).
Adding the condition attribute also to board, device and part elements, could allow a pack developer to have all the tools in the standard for describing all the possible dependencies among the defined elements.
The
conditionelement can be used to create dependency rules using several attributes defined in the standard for other elements.E.g.:
Dvendor,Dname, … attributes can be used for creating a dependency rule on a<device>elementCvendor,Cbundle, .. attributes can be used for creating a dependency rule on a<component>elementBvendor,Bname, .. attributes can be used for creating a dependency rule on a<board>elementHvendor,Hnameattributes can be used for creating a dependency rule on a<part>elementAt present, in the standard, among the
<device>, the<component>, the<board>and the<part>elements, only the<component>has the attributecondition.Hence, a
conditioncan be used only to create a dependency rule between a<component>element and the other elements (another<component>, a<device>, a<board>and a<part>).No other kind of dependencies can be created.
E.g.: there is no way to describe in the PDSC file the dependency between boards (e.g. a daughter board working only when mounted on a specific mother board) or between a board and a part or a device (and vice-versa).
Adding the
conditionattribute also toboard,deviceandpartelements, could allow a pack developer to have all the tools in the standard for describing all the possible dependencies among the defined elements.