1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34#ifndef __T4_PCI_ID_TBL_H__
35#define __T4_PCI_ID_TBL_H__
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63#ifndef CH_PCI_DEVICE_ID_FUNCTION
64#error CH_PCI_DEVICE_ID_FUNCTION not defined!
65#endif
66#ifndef CH_PCI_ID_TABLE_ENTRY
67#error CH_PCI_ID_TABLE_ENTRY not defined!
68#endif
69#ifndef CH_PCI_DEVICE_ID_TABLE_DEFINE_END
70#error CH_PCI_DEVICE_ID_TABLE_DEFINE_END not defined!
71#endif
72
73
74
75
76
77
78
79
80
81
82#ifndef CH_PCI_DEVICE_ID_FUNCTION2
83#define CH_PCI_ID_TABLE_FENTRY(devid) \
84 CH_PCI_ID_TABLE_ENTRY((devid) | \
85 ((CH_PCI_DEVICE_ID_FUNCTION) << 8))
86#else
87#define CH_PCI_ID_TABLE_FENTRY(devid) \
88 CH_PCI_ID_TABLE_ENTRY((devid) | \
89 ((CH_PCI_DEVICE_ID_FUNCTION) << 8)), \
90 CH_PCI_ID_TABLE_ENTRY((devid) | \
91 ((CH_PCI_DEVICE_ID_FUNCTION2) << 8))
92#endif
93
94CH_PCI_DEVICE_ID_TABLE_DEFINE_BEGIN
95
96
97 CH_PCI_ID_TABLE_FENTRY(0x4000),
98 CH_PCI_ID_TABLE_FENTRY(0x4001),
99 CH_PCI_ID_TABLE_FENTRY(0x4002),
100 CH_PCI_ID_TABLE_FENTRY(0x4003),
101 CH_PCI_ID_TABLE_FENTRY(0x4004),
102 CH_PCI_ID_TABLE_FENTRY(0x4005),
103 CH_PCI_ID_TABLE_FENTRY(0x4006),
104 CH_PCI_ID_TABLE_FENTRY(0x4007),
105 CH_PCI_ID_TABLE_FENTRY(0x4008),
106 CH_PCI_ID_TABLE_FENTRY(0x4009),
107 CH_PCI_ID_TABLE_FENTRY(0x400a),
108 CH_PCI_ID_TABLE_FENTRY(0x400b),
109 CH_PCI_ID_TABLE_FENTRY(0x400c),
110 CH_PCI_ID_TABLE_FENTRY(0x400d),
111 CH_PCI_ID_TABLE_FENTRY(0x400e),
112 CH_PCI_ID_TABLE_FENTRY(0x4080),
113 CH_PCI_ID_TABLE_FENTRY(0x4081),
114 CH_PCI_ID_TABLE_FENTRY(0x4082),
115 CH_PCI_ID_TABLE_FENTRY(0x4083),
116 CH_PCI_ID_TABLE_FENTRY(0x4084),
117 CH_PCI_ID_TABLE_FENTRY(0x4085),
118 CH_PCI_ID_TABLE_FENTRY(0x4086),
119 CH_PCI_ID_TABLE_FENTRY(0x4087),
120 CH_PCI_ID_TABLE_FENTRY(0x4088),
121
122
123
124 CH_PCI_ID_TABLE_FENTRY(0x5000),
125 CH_PCI_ID_TABLE_FENTRY(0x5001),
126 CH_PCI_ID_TABLE_FENTRY(0x5002),
127 CH_PCI_ID_TABLE_FENTRY(0x5003),
128 CH_PCI_ID_TABLE_FENTRY(0x5004),
129 CH_PCI_ID_TABLE_FENTRY(0x5005),
130 CH_PCI_ID_TABLE_FENTRY(0x5006),
131 CH_PCI_ID_TABLE_FENTRY(0x5007),
132 CH_PCI_ID_TABLE_FENTRY(0x5008),
133 CH_PCI_ID_TABLE_FENTRY(0x5009),
134 CH_PCI_ID_TABLE_FENTRY(0x500a),
135 CH_PCI_ID_TABLE_FENTRY(0x500b),
136 CH_PCI_ID_TABLE_FENTRY(0x500c),
137 CH_PCI_ID_TABLE_FENTRY(0x500d),
138 CH_PCI_ID_TABLE_FENTRY(0x500e),
139 CH_PCI_ID_TABLE_FENTRY(0x5010),
140 CH_PCI_ID_TABLE_FENTRY(0x5011),
141 CH_PCI_ID_TABLE_FENTRY(0x5012),
142 CH_PCI_ID_TABLE_FENTRY(0x5013),
143 CH_PCI_ID_TABLE_FENTRY(0x5014),
144 CH_PCI_ID_TABLE_FENTRY(0x5015),
145 CH_PCI_ID_TABLE_FENTRY(0x5016),
146 CH_PCI_ID_TABLE_FENTRY(0x5017),
147 CH_PCI_ID_TABLE_FENTRY(0x5018),
148 CH_PCI_ID_TABLE_FENTRY(0x5080),
149 CH_PCI_ID_TABLE_FENTRY(0x5081),
150 CH_PCI_ID_TABLE_FENTRY(0x5082),
151 CH_PCI_ID_TABLE_FENTRY(0x5083),
152 CH_PCI_ID_TABLE_FENTRY(0x5084),
153 CH_PCI_ID_TABLE_FENTRY(0x5085),
154 CH_PCI_ID_TABLE_FENTRY(0x5086),
155 CH_PCI_ID_TABLE_FENTRY(0x5087),
156 CH_PCI_ID_TABLE_FENTRY(0x5088),
157 CH_PCI_ID_TABLE_FENTRY(0x5089),
158 CH_PCI_ID_TABLE_FENTRY(0x5090),
159 CH_PCI_ID_TABLE_FENTRY(0x5091),
160 CH_PCI_ID_TABLE_FENTRY(0x5092),
161 CH_PCI_ID_TABLE_FENTRY(0x5093),
162 CH_PCI_ID_TABLE_FENTRY(0x5094),
163 CH_PCI_ID_TABLE_FENTRY(0x5095),
164 CH_PCI_ID_TABLE_FENTRY(0x5096),
165 CH_PCI_ID_TABLE_FENTRY(0x5097),
166 CH_PCI_ID_TABLE_FENTRY(0x5098),
167 CH_PCI_ID_TABLE_FENTRY(0x5099),
168 CH_PCI_ID_TABLE_FENTRY(0x509a),
169 CH_PCI_ID_TABLE_FENTRY(0x509b),
170 CH_PCI_ID_TABLE_FENTRY(0x509c),
171 CH_PCI_ID_TABLE_FENTRY(0x509d),
172 CH_PCI_ID_TABLE_FENTRY(0x509e),
173 CH_PCI_ID_TABLE_FENTRY(0x509f),
174 CH_PCI_ID_TABLE_FENTRY(0x50a0),
175 CH_PCI_ID_TABLE_FENTRY(0x50a1),
176 CH_PCI_ID_TABLE_FENTRY(0x50a2),
177 CH_PCI_ID_TABLE_FENTRY(0x50a3),
178 CH_PCI_ID_TABLE_FENTRY(0x50a4),
179
180
181
182 CH_PCI_ID_TABLE_FENTRY(0x6001),
183 CH_PCI_ID_TABLE_FENTRY(0x6002),
184 CH_PCI_ID_TABLE_FENTRY(0x6003),
185 CH_PCI_ID_TABLE_FENTRY(0x6004),
186 CH_PCI_ID_TABLE_FENTRY(0x6005),
187 CH_PCI_ID_TABLE_FENTRY(0x6006),
188 CH_PCI_ID_TABLE_FENTRY(0x6007),
189 CH_PCI_ID_TABLE_FENTRY(0x6008),
190 CH_PCI_ID_TABLE_FENTRY(0x6009),
191 CH_PCI_ID_TABLE_FENTRY(0x600d),
192 CH_PCI_ID_TABLE_FENTRY(0x6011),
193 CH_PCI_ID_TABLE_FENTRY(0x6014),
194 CH_PCI_ID_TABLE_FENTRY(0x6015),
195 CH_PCI_ID_TABLE_FENTRY(0x6080),
196 CH_PCI_ID_TABLE_FENTRY(0x6081),
197 CH_PCI_ID_TABLE_FENTRY(0x6082),
198 CH_PCI_ID_TABLE_FENTRY(0x6083),
199 CH_PCI_ID_TABLE_FENTRY(0x6084),
200CH_PCI_DEVICE_ID_TABLE_DEFINE_END;
201
202#endif
203