xref: /titanic_44/usr/src/cmd/hal/fdi/fdi.dtd.1 (revision 18c2aff776a775d34a4c9893a4c72e0434d68e36)
1<!-- Document Type for FreeDesktop.org Device Information Files -->
2<!-- CVSID: $Id$ -->
3
4<!-- <deviceinfo> is the top-level element of an fdi file. -->
5<!ELEMENT deviceinfo (device*) >
6<!ATTLIST deviceinfo
7    version (0.1|0.2) #REQUIRED
8>
9
10<!ELEMENT device (match|merge)*  >
11
12<!ELEMENT match (match|merge|prepend|append|remove|spawn)* >
13<!ATTLIST match
14    key              CDATA #REQUIRED
15    string           CDATA #IMPLIED
16    int              CDATA #IMPLIED
17    bool             (false|true) #IMPLIED
18    exists           (false|true) #IMPLIED
19    empty            (false|true) #IMPLIED
20    is_ascii         (false|true) #IMPLIED
21    is_absolute_path (false|true) #IMPLIED
22    contains         CDATA #IMPLIED
23    contains_ncase   CDATA #IMPLIED
24    compare_lt       CDATA #IMPLIED
25    compare_le       CDATA #IMPLIED
26    compare_gt       CDATA #IMPLIED
27    compare_ge       CDATA #IMPLIED
28>
29
30<!ELEMENT merge (#PCDATA) >
31<!ATTLIST merge
32    key    CDATA #REQUIRED
33    type   (string|int|uint64|bool|double|strlist|copy_property) #REQUIRED
34>
35
36<!ELEMENT prepend (#PCDATA) >
37<!ATTLIST prepend
38    key    CDATA #REQUIRED
39    type   (string|strlist|int|bool|double|copy_property) #REQUIRED
40>
41
42<!ELEMENT append (#PCDATA) >
43<!ATTLIST append
44    key    CDATA #REQUIRED
45    type   (string|strlist|int|bool|double|copy_property) #REQUIRED
46>
47
48<!ELEMENT remove (#PCDATA) >
49<!ATTLIST remove
50    key    CDATA #REQUIRED
51    type   (strlist) #REQUIRED
52>
53
54<!ELEMENT spawn (#PCDATA) >
55<!ATTLIST spawn
56    udi    CDATA #REQUIRED
57>
58