|
|
The top of the udiprops.txt file contains the version of the specification to which the driver conforms, and some identification information for the driver source code.
cmos_udi.c sample code |
---|
properties_version 0x101 |
pseudod.c sample code |
properties_version 0x101 |
The properties_version declaration is required as the first non-comment statement in the udiprops.txt file. The sample drivers conform to version 1.01 of the UDI Specifications.
Each message statement is associated with another statement (such as supplier) that identifies the content of the message, or is used elsewhere in the driver code.
These declaration are required, but are largely informational, with the exception of the shortname declaration, used by the udimkpkg(1) command to name the packaged driver file. For a full description, see Property Declaration Syntax and Common Property Declarations in the Core Specification.