3aa6a6a66c00b11bf41efea61ea4357fb38acbdb
[mirror/winof/.git] / hw / mthca / kernel / mthca.inx
1 ; Mellanox Technologies InfiniBand HCAs.\r
2 ; Copyright 2005 Mellanox Technologies all Rights Reserved.\r
3 \r
4 [Version]\r
5 Signature="$Windows NT$"\r
6 Class=InfiniBandController\r
7 ClassGUID={58517E00-D3CF-40c9-A679-CEE5752F4491}\r
8 Provider=%OFA%\r
9 ; must be synchronized with MTHCA_DEV.H\r
10 DriverVer=03/08/2006,1.0.0000.614\r
11 CatalogFile=mthca.cat\r
12 \r
13 ; ================= Destination directory section =====================\r
14 \r
15 [DestinationDirs]\r
16 DefaultDestDir=%DIRID_DRIVERS%\r
17 MTHCA.UMCopyFiles=%DIRID_SYSTEM%\r
18 MTHCA.WOW64CopyFiles=%DIRID_SYSTEM_X86%\r
19 Ibal.UMCopyFiles=%DIRID_SYSTEM%\r
20 Ibal.WOW64CopyFiles=%DIRID_SYSTEM_X86%\r
21 \r
22 ; ================= Class Install section =====================\r
23 \r
24 [ClassInstall32]\r
25 AddReg=ClassAddReg\r
26 \r
27 [ClassAddReg]\r
28 HKR,,,,"InfiniBand Channel Adapters"\r
29 HKR,,Icon,,-5\r
30 HKR,,SilentInstall,,1\r
31 HKR,,"UpperFilters",0x00010000,"ibbus"  ; enable IBBUS/AL Filter driver loading.\r
32 \r
33 \r
34 ; ================= Device Install section =====================\r
35 \r
36 [SourceDisksNames.x86]\r
37 1=%DiskId%,,,""\r
38 \r
39 [SourceDisksNames.amd64]\r
40 1=%DiskId%,,,""\r
41 \r
42 [SourceDisksNames.ia64]\r
43 1=%DiskId%,,,""\r
44 \r
45 [SourceDisksFiles]\r
46 mthca.sys=1,,\r
47 mthcau.dll=1,,\r
48 mthcaud.dll=1,,\r
49 ibal.dll=1,,\r
50 complib.dll=1,,\r
51 ibald.dll=1,,\r
52 complibd.dll=1,,\r
53 ibbus.sys=1,,\r
54 \r
55 [SourceDisksFiles.amd64]\r
56 mthca.sys=1,,\r
57 mthcau.dll=1,,\r
58 mthcaud.dll=1,,\r
59 mthca32.dll=1,,\r
60 mthca32d.dll=1,,\r
61 ibal.dll=1,,\r
62 ibald.dll=1,,\r
63 complib.dll=1,,\r
64 complibd.dll=1,,\r
65 cl32.dll=1,,\r
66 cl32d.dll=1,,\r
67 ibal32.dll=1,,\r
68 ibal32d.dll=1,,\r
69 ibbus.sys=1,,\r
70 \r
71 [SourceDisksFiles.ia64]\r
72 mthca.sys=1,,\r
73 mthcau.dll=1,,\r
74 mthcaud.dll=1,,\r
75 mthca32.dll=1,,\r
76 mthca32d.dll=1,,\r
77 ibal.dll=1,,\r
78 ibald.dll=1,,\r
79 complib.dll=1,,\r
80 complibd.dll=1,,\r
81 cl32.dll=1,,\r
82 cl32d.dll=1,,\r
83 ibal32.dll=1,,\r
84 ibal32d.dll=1,,\r
85 ibbus.sys=1,,\r
86 \r
87 [Manufacturer]\r
88 %MTL% = HCA.DeviceSection,ntx86,ntamd64,ntia64\r
89 \r
90 [HCA.DeviceSection]\r
91 ; empty since we don't support W9x/Me\r
92 \r
93 [HCA.DeviceSection.ntx86]\r
94 %MT23108.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A44\r
95 %MT23109.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A45\r
96 %MT25208.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6278\r
97 %MT25209.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6279\r
98 %MT25218.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6282\r
99 %MT24204.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8C\r
100 %MT24205.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8D\r
101 %MT25204.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6274\r
102 %MT25205.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6275\r
103 \r
104 [HCA.DeviceSection.ntamd64]\r
105 %MT23108.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A44\r
106 %MT23109.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A45\r
107 %MT25208.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6278\r
108 %MT25209.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6279\r
109 %MT25218.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6282\r
110 %MT24204.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8C\r
111 %MT24205.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8D\r
112 %MT25204.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6274\r
113 %MT25205.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6275\r
114 \r
115 [HCA.DeviceSection.ntia64]\r
116 %MT23108.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A44\r
117 %MT23109.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A45\r
118 %MT25208.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6278\r
119 %MT25209.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6279\r
120 %MT25218.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6282\r
121 %MT24204.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8C\r
122 %MT24205.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8D\r
123 %MT25204.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6274\r
124 %MT25205.DeviceDesc%=MTHCA.DDInstall, PCI\VEN_15B3&DEV_6275\r
125 \r
126 [MTHCA.DDInstall.ntx86]\r
127 CopyFiles = MTHCA.CopyFiles\r
128 CopyFiles = MTHCA.UMCopyFiles\r
129 CopyFiles = Ibal.UMCopyFiles\r
130 CopyFiles = Ibbus.CopyFiles\r
131 \r
132 [MTHCA.DDInstall.ntamd64]\r
133 CopyFiles = MTHCA.CopyFiles\r
134 CopyFiles = MTHCA.UMCopyFiles\r
135 CopyFiles = MTHCA.WOW64CopyFiles\r
136 CopyFiles = Ibal.UMCopyFiles\r
137 CopyFiles = Ibal.WOW64CopyFiles\r
138 CopyFiles = Ibbus.CopyFiles\r
139 \r
140 [MTHCA.DDInstall.ntia64]\r
141 CopyFiles = MTHCA.CopyFiles\r
142 CopyFiles = MTHCA.UMCopyFiles\r
143 CopyFiles = MTHCA.WOW64CopyFiles\r
144 CopyFiles = Ibal.UMCopyFiles\r
145 CopyFiles = Ibal.WOW64CopyFiles\r
146 CopyFiles = Ibbus.CopyFiles\r
147 \r
148 \r
149 ; ============== Services ==============\r
150 \r
151 [MTHCA.DDInstall.ntx86.Services]\r
152 AddService = mthca,%SPSVCINST_ASSOCSERVICE%,MTHCA.ServiceInstall,MTHCA.EventLog\r
153 AddService = ibbus,,Ibbus.ServiceInstall\r
154 \r
155 [MTHCA.DDInstall.ntamd64.Services]\r
156 AddService = mthca,%SPSVCINST_ASSOCSERVICE%,MTHCA.ServiceInstall,MTHCA.EventLog\r
157 AddService = ibbus,,Ibbus.ServiceInstall\r
158 \r
159 [MTHCA.DDInstall.ntia64.Services]\r
160 AddService = mthca,%SPSVCINST_ASSOCSERVICE%,MTHCA.ServiceInstall,MTHCA.EventLog\r
161 AddService = ibbus,,Ibbus.ServiceInstall\r
162 \r
163 \r
164 ; ============= File Copy ==============\r
165 \r
166 [MTHCA.CopyFiles]\r
167 mthca.sys\r
168 \r
169 [MTHCA.UMCopyFiles]\r
170 mthcau.dll,,,2\r
171 mthcaud.dll,,,2\r
172 \r
173 [MTHCA.WOW64CopyFiles]\r
174 mthcau.dll,mthca32.dll,,2\r
175 mthcaud.dll,mthca32d.dll,,2\r
176 \r
177 [Ibal.UMCopyFiles]\r
178 ibal.dll,,,2\r
179 ibald.dll,,,2\r
180 complib.dll,,,2\r
181 complibd.dll,,,2\r
182 \r
183 [Ibal.WOW64CopyFiles]\r
184 ibal.dll,ibal32.dll,,2\r
185 ibald.dll,ibal32d.dll,,2\r
186 complib.dll,cl32.dll,,2\r
187 complibd.dll,cl32d.dll,,2\r
188 \r
189 [Ibbus.CopyFiles]\r
190 ibbus.sys\r
191 \r
192 \r
193 ; ============= MTHCA Service Install section ==============\r
194 \r
195 [MTHCA.ServiceInstall]\r
196 DisplayName     = %MTHCA.ServiceDesc%\r
197 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
198 StartType       = %SERVICE_DEMAND_START%\r
199 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
200 ServiceBinary   = %12%\mthca.sys\r
201 LoadOrderGroup  = extended base\r
202 AddReg          = MTHCA.ParamsReg\r
203 \r
204 \r
205 [MTHCA.EventLog]\r
206 AddReg = MTHCA.AddEventLogReg\r
207 \r
208 [MTHCA.AddEventLogReg]\r
209 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mthca.sys"\r
210 HKR, , TypesSupported,   0x00010001, 7\r
211 \r
212 [MTHCA.ParamsReg]\r
213 HKR,"Parameters","DebugLevel",%REG_DWORD%,0x00000003\r
214 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x0000ffff\r
215 HKR,"Parameters","SkipTavorReset",%REG_DWORD%,0\r
216 HKR,"Parameters","DisableTavorResetOnFailure",%REG_DWORD%,1\r
217 HKR,"Parameters","TunePci",%REG_DWORD%,0\r
218 HKR,"Parameters","ProcessorAffinity",%REG_DWORD%,0\r
219 HKR,"Parameters","MaxDpcTimeUs",%REG_DWORD%,10000\r
220 HKR,"Parameters","ProfileQpNum",%REG_DWORD%,0\r
221 HKR,"Parameters","ProfileRdOut",%REG_DWORD%,0xffffffff\r
222 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\8bf1f640-63fe-4743-b9ef-fa38c695bfde","Flags",%REG_DWORD%,0xffff\r
223 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\8bf1f640-63fe-4743-b9ef-fa38c695bfde","Level",%REG_DWORD%,0x3\r
224 \r
225 \r
226 ; ============= IBBUS Service Install section ==============\r
227 \r
228 [Ibbus.ServiceInstall]\r
229 DisplayName     = %Ibbus.ServiceDesc%\r
230 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
231 StartType       = %SERVICE_DEMAND_START%\r
232 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
233 ServiceBinary   = %12%\ibbus.sys\r
234 LoadOrderGroup  = PnP Filter\r
235 AddReg          = Ibbus.ParamsReg\r
236 Dependencies    = mthca\r
237 \r
238 [Ibbus.ParamsReg]\r
239 HKR,"Parameters","IbalDebugLevel",%REG_DWORD%,2\r
240 HKR,"Parameters","IbalDebugFlags",%REG_DWORD%,0x00ffffff\r
241 HKR,"Parameters","SmiPollInterval",%REG_DWORD_NO_CLOBBER%,20000\r
242 HKR,"Parameters","IocQueryTimeout",%REG_DWORD_NO_CLOBBER%,250\r
243 HKR,"Parameters","IocQueryRetries",%REG_DWORD_NO_CLOBBER%,4\r
244 HKR,"Parameters","IocPollInterval",%REG_DWORD_NO_CLOBBER%,30000\r
245 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x80000000\r
246 HKR,"Parameters","ReportPortNIC",%REG_DWORD%,1\r
247 \r
248 \r
249 ; ============= Uninstall Section =============\r
250 \r
251 [DefaultUninstall.ntx86]\r
252 DelFiles   = MTHCA.CopyFiles\r
253 DelFiles   = MTHCA.UMCopyFiles\r
254 DelReg     = MTHCA.ParamsReg\r
255 DelReg     = MTHCA.AddEventLogReg\r
256 DelReg     = ClassAddReg\r
257 DelFiles   = Ibal.UMCopyFiles\r
258 DelFiles   = Ibbus.CopyFiles\r
259 DelReg     = Ibbus.ParamsReg\r
260 \r
261 [DefaultUninstall.ntamd64]\r
262 DelFiles   = MTHCA.CopyFiles\r
263 DelFiles   = MTHCA.UMCopyFiles\r
264 DelFiles   = MTHCA.WOW64CopyFiles\r
265 DelReg     = MTHCA.ParamsReg\r
266 DelReg     = MTHCA.AddEventLogReg\r
267 DelReg     = ClassAddReg\r
268 DelFiles   = Ibal.UMCopyFiles\r
269 DelFiles   = Ibal.WOW64CopyFiles\r
270 DelFiles   = Ibbus.CopyFiles\r
271 DelReg     = Ibbus.ParamsReg\r
272 \r
273 [DefaultUninstall.ntia64]\r
274 DelFiles   = MTHCA.CopyFiles\r
275 DelFiles   = MTHCA.UMCopyFiles\r
276 DelFiles   = MTHCA.WOW64CopyFiles\r
277 DelReg     = MTHCA.ParamsReg\r
278 DelReg     = MTHCA.AddEventLogReg\r
279 DelReg     = ClassAddReg\r
280 DelFiles   = Ibal.UMCopyFiles\r
281 DelFiles   = Ibal.WOW64CopyFiles\r
282 DelFiles   = Ibbus.CopyFiles\r
283 DelReg     = Ibbus.ParamsReg\r
284 \r
285 [DefaultUninstall.Services]\r
286 DelService = Ibbus,%SPSVCINST_STOPSERVICE%\r
287 DelService = mthca,%SPSVCINST_STOPSERVICE%\r
288 \r
289 \r
290 [Strings]\r
291 IBClassGuid = "{58517E00-D3CF-40c9-A679-CEE5752F4491}"\r
292 OFA = "OpenFabrics Alliance"\r
293 MTL="Mellanox Technologies Ltd."\r
294 MTHCA.ServiceDesc = "Driver for Mellanox InfiniHost Devices"\r
295 MT23108.DeviceDesc="InfiniHost (MT23108) - Mellanox InfiniBand HCA"\r
296 MT23109.DeviceDesc="InfiniHost (MT23109) - Mellanox InfiniBand HCA (burner device)"\r
297 MT25208.DeviceDesc="InfiniHost (MT25208) - Mellanox InfiniBand HCA for PCI Express"\r
298 MT25209.DeviceDesc="InfiniHost (MT25209) - Mellanox InfiniBand HCA for PCI Express (burner device)"\r
299 MT25218.DeviceDesc="InfiniHost III Ex (MT25218) - Mellanox InfiniBand HCA for PCI Express"\r
300 MT24204.DeviceDesc="InfiniHost III Lx (MT24204) - Mellanox InfiniBand HCA for PCI Express"\r
301 MT24205.DeviceDesc="InfiniHost III Lx (MT24205) - Mellanox InfiniBand HCA for PCI Express (burner device)"\r
302 MT25204.DeviceDesc="InfiniHost III Lx (MT25204) - Mellanox InfiniBand HCA for PCI Express"\r
303 MT25205.DeviceDesc="InfiniHost III Lx (MT25205) - Mellanox InfiniBand HCA for PCI Express (burner device)"\r
304 DiskId = "Mellanox InfiniBand HCA installation disk"\r
305 Ibbus.ServiceDesc = "InfiniBand Bus/AL (Filter Driver)"\r
306 SPSVCINST_NULL = 0x0\r
307 SPSVCINST_ASSOCSERVICE = 0x00000002\r
308 SPSVCINST_STOPSERVICE  = 0x00000200\r
309 SERVICE_KERNEL_DRIVER  = 1\r
310 SERVICE_DEMAND_START   = 3\r
311 SERVICE_ERROR_NORMAL   = 1\r
312 REG_DWORD              = 0x00010001\r
313 REG_DWORD_NO_CLOBBER   = 0x00010003\r
314 REG_MULTI_SZ_APPEND    = 0x00010008\r
315 DIRID_SYSTEM           = 11\r
316 DIRID_DRIVERS          = 12\r
317 DIRID_SYSTEM_X86       = 16425\r
318 \r