[MLX4] This patch loads winverbs and winmad as filter drivers for mlx4_hca and mthca
[mirror/winof/.git] / hw / mlx4 / kernel / hca / mlx4_hca.inx
1 ; Mellanox Technologies InfiniBand HCAs.\r
2 ; Copyright 2008 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=%MTL%\r
9 ; must be synchronized with hca\drv.c\r
10 DriverVer=02/01/2008,1.0.0.0\r
11 CatalogFile=mlx4_hca.cat\r
12 \r
13 \r
14 ;*****************************************\r
15 ; Destination directory section\r
16 ;*****************************************\r
17 \r
18 [DestinationDirs]\r
19 DefaultDestDir = %DIRID_DRIVERS%\r
20 MLX4HCA.UMCopyFiles = %DIRID_SYSTEM%\r
21 MLX4HCA.WOW64CopyFiles = %DIRID_SYSTEM_X86%\r
22 Wdf_CoInstaller_CopyFiles = %DIRID_SYSTEM%\r
23 Ibal.UMCopyFiles = %DIRID_SYSTEM%\r
24 Ibal.WOW64CopyFiles = %DIRID_SYSTEM_X86%\r
25 WinVerbs.CopySysFiles = %DIRID_DRIVERS%\r
26 WinVerbs.CopyDllFiles = %DIRID_SYSTEM%\r
27 WinMad.CopySysFiles = %DIRID_DRIVERS%\r
28 WinMad.CopyDllFiles = %DIRID_SYSTEM%\r
29 \r
30 \r
31 ;*****************************************\r
32 ; Class Install section\r
33 ;*****************************************\r
34 \r
35 [ClassInstall32]\r
36 AddReg=ClassAddReg\r
37 \r
38 [ClassAddReg]\r
39 HKR,,,,"InfiniBand Channel Adapters"\r
40 HKR,,Icon,,-5\r
41 HKR,,SilentInstall,,1\r
42 HKR,,"UpperFilters",0x00010000,"ibbus"  ; enable IBBUS/AL Filter driver loading.\r
43 HKR,,"UpperFilters",0x00010008,"WinVerbs" ; enable winverbs Filter driver load.\r
44 HKR,,"UpperFilters",0x00010008,"WinMad"\r
45 \r
46 \r
47 ;*****************************************\r
48 ; Device Install section\r
49 ;*****************************************\r
50 \r
51 [SourceDisksNames.x86]\r
52 1=%DiskId%,,,""\r
53 \r
54 [SourceDisksNames.amd64]\r
55 1=%DiskId%,,,""\r
56 \r
57 [SourceDisksNames.ia64]\r
58 1=%DiskId%,,,""\r
59 \r
60 [SourceDisksFiles.x86]\r
61 mlx4_hca.sys = 1,,\r
62 mlx4u.dll = 1,,\r
63 mlx4ud.dll = 1,,\r
64 WdfCoInstaller01007.dll = 1,,\r
65 ibal.dll=1,,\r
66 ibald.dll=1,,\r
67 complib.dll=1,,\r
68 complibd.dll=1,,\r
69 ibbus.sys=1,,\r
70 winverbs.sys = 1,,\r
71 winverbs.dll = 1,,\r
72 winverbsd.dll = 1,,\r
73 winmad.sys = 1,,\r
74 winmad.dll = 1,,\r
75 winmadd.dll = 1,,\r
76 \r
77 [SourceDisksFiles.amd64]\r
78 mlx4_hca.sys = 1,,\r
79 mlx4u.dll = 1,,\r
80 mlx4ud.dll = 1,,\r
81 mlx4u32.dll = 1,,\r
82 mlx4u32d.dll = 1,,\r
83 WdfCoInstaller01007.dll = 1,,\r
84 ibal.dll=1,,\r
85 ibald.dll=1,,\r
86 complib.dll=1,,\r
87 complibd.dll=1,,\r
88 cl32.dll=1,,\r
89 cl32d.dll=1,,\r
90 ibal32.dll=1,,\r
91 ibal32d.dll=1,,\r
92 ibbus.sys=1,,\r
93 winverbs.sys = 1,,\r
94 winverbs.dll = 1,,\r
95 winverbsd.dll = 1,,\r
96 winmad.sys = 1,,\r
97 winmad.dll = 1,,\r
98 winmadd.dll = 1,,\r
99 \r
100 [SourceDisksFiles.ia64]\r
101 mlx4_hca.sys = 1,,\r
102 mlx4u.dll = 1,,\r
103 mlx4ud.dll = 1,,\r
104 mlx4u32.dll = 1,,\r
105 mlx4u32d.dll = 1,,\r
106 WdfCoInstaller01007.dll = 1,,\r
107 ibal.dll=1,,\r
108 ibald.dll=1,,\r
109 complib.dll=1,,\r
110 complibd.dll=1,,\r
111 cl32.dll=1,,\r
112 cl32d.dll=1,,\r
113 ibal32.dll=1,,\r
114 ibal32d.dll=1,,\r
115 ibbus.sys=1,,\r
116 winverbs.sys = 1,,\r
117 winverbs.dll = 1,,\r
118 winverbsd.dll = 1,,\r
119 winmad.sys = 1,,\r
120 winmad.dll = 1,,\r
121 winmadd.dll = 1,,\r
122 \r
123 \r
124 ;*****************************************\r
125 ; Mlx4HCA  Install Section\r
126 ;*****************************************\r
127 \r
128 [Manufacturer]\r
129 %MTL% = MLX4HCA.DeviceSection,ntx86,ntamd64,ntia64\r
130 \r
131 [MLX4HCA.DeviceSection]\r
132 ; empty since we don't support W9x/Me\r
133 \r
134 [MLX4HCA.DeviceSection.ntx86]\r
135 %Mlx4_Hca.DeviceDesc%=MLX4HCA.DDInstall, MLX4\ConnectX_Hca\r
136 \r
137 [MLX4HCA.DeviceSection.ntamd64]\r
138 %Mlx4_Hca.DeviceDesc%=MLX4HCA.DDInstall, MLX4\ConnectX_Hca\r
139 \r
140 [MLX4HCA.DeviceSection.ntia64]\r
141 %Mlx4_Hca.DeviceDesc%=MLX4HCA.DDInstall, MLX4\ConnectX_Hca\r
142 \r
143 [MLX4HCA.DDInstall.ntx86]\r
144 CopyFiles = MLX4HCA.CopyFiles\r
145 CopyFiles = MLX4HCA.UMCopyFiles\r
146 CopyFiles = Ibal.UMCopyFiles\r
147 CopyFiles = Ibbus.CopyFiles\r
148 CopyFiles = WinVerbs.CopySysFiles\r
149 CopyFiles = WinVerbs.CopyDllFiles\r
150 CopyFiles = WinMad.CopySysFiles\r
151 CopyFiles = WinMad.CopyDllFiles\r
152 \r
153 [MLX4HCA.DDInstall.ntamd64]\r
154 CopyFiles = MLX4HCA.CopyFiles\r
155 CopyFiles = MLX4HCA.UMCopyFiles\r
156 CopyFiles = MLX4HCA.WOW64CopyFiles\r
157 CopyFiles = Ibal.UMCopyFiles\r
158 CopyFiles = Ibal.WOW64CopyFiles\r
159 CopyFiles = Ibbus.CopyFiles\r
160 CopyFiles = WinVerbs.CopySysFiles\r
161 CopyFiles = WinVerbs.CopyDllFiles\r
162 CopyFiles = WinMad.CopySysFiles\r
163 CopyFiles = WinMad.CopyDllFiles\r
164 \r
165 [MLX4HCA.DDInstall.ntia64]\r
166 CopyFiles = MLX4HCA.CopyFiles\r
167 CopyFiles = MLX4HCA.UMCopyFiles\r
168 CopyFiles = MLX4HCA.WOW64CopyFiles\r
169 CopyFiles = Ibal.UMCopyFiles\r
170 CopyFiles = Ibal.WOW64CopyFiles\r
171 CopyFiles = Ibbus.CopyFiles\r
172 CopyFiles = WinVerbs.CopySysFiles\r
173 CopyFiles = WinVerbs.CopyDllFiles\r
174 CopyFiles = WinMad.CopySysFiles\r
175 CopyFiles = WinMad.CopyDllFiles\r
176 \r
177 \r
178 [MLX4HCA.DDInstall.ntx86.Services]\r
179 AddService = mlx4_hca,%SPSVCINST_ASSOCSERVICE%,MLX4HCA.ServiceInstall,MLX4HCA.EventLog\r
180 AddService = ibbus,,Ibbus.ServiceInstall\r
181 AddService = WinVerbs,,WinVerbs.ServiceInstall\r
182 AddService = WinMad,,WinMad.ServiceInstall\r
183 \r
184 [MLX4HCA.DDInstall.ntamd64.Services]\r
185 AddService = mlx4_hca,%SPSVCINST_ASSOCSERVICE%,MLX4HCA.ServiceInstall,MLX4HCA.EventLog\r
186 AddService = ibbus,,Ibbus.ServiceInstall\r
187 AddService = WinVerbs,,WinVerbs.ServiceInstall\r
188 AddService = WinMad,,WinMad.ServiceInstall\r
189 \r
190 [MLX4HCA.DDInstall.ntia64.Services]\r
191 AddService = mlx4_hca,%SPSVCINST_ASSOCSERVICE%,MLX4HCA.ServiceInstall,MLX4HCA.EventLog\r
192 AddService = ibbus,,Ibbus.ServiceInstall\r
193 AddService = WinVerbs,,WinVerbs.ServiceInstall\r
194 AddService = WinMad,,WinMad.ServiceInstall\r
195 \r
196 \r
197 ;*****************************************\r
198 ; File Copy\r
199 ;*****************************************\r
200 \r
201 [MLX4HCA.CopyFiles]\r
202 mlx4_hca.sys\r
203 \r
204 [MLX4HCA.UMCopyFiles]\r
205 mlx4u.dll,,,2\r
206 mlx4ud.dll,,,2\r
207 \r
208 [MLX4HCA.WOW64CopyFiles]\r
209 mlx4u.dll,mlx4u32.dll,,2\r
210 mlx4ud.dll,mlx4u32d.dll,,2\r
211 \r
212 [Ibal.UMCopyFiles]\r
213 ibal.dll,,,2\r
214 ibald.dll,,,2\r
215 complib.dll,,,2\r
216 complibd.dll,,,2\r
217 \r
218 [Ibal.WOW64CopyFiles]\r
219 ibal.dll,ibal32.dll,,2\r
220 ibald.dll,ibal32d.dll,,2\r
221 complib.dll,cl32.dll,,2\r
222 complibd.dll,cl32d.dll,,2\r
223 \r
224 [Ibbus.CopyFiles]\r
225 ibbus.sys\r
226 \r
227 [WinVerbs.CopySysFiles]\r
228 winverbs.sys\r
229 \r
230 [WinVerbs.CopyDllFiles]\r
231 winverbs.dll,,,2\r
232 winverbsd.dll,,,2\r
233 \r
234 [WinMad.CopySysFiles]\r
235 winmad.sys\r
236 \r
237 [WinMad.CopyDllFiles]\r
238 winmad.dll,,,2\r
239 winmadd.dll,,,2\r
240 \r
241 \r
242 ;*****************************************\r
243 ; MLX4HCA Service Install section\r
244 ;*****************************************\r
245 \r
246 [MLX4HCA.ServiceInstall]\r
247 DisplayName     = %MLX4HCA.ServiceDesc%\r
248 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
249 StartType       = %SERVICE_DEMAND_START%\r
250 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
251 ServiceBinary   = %12%\mlx4_hca.sys\r
252 LoadOrderGroup  = extended base\r
253 AddReg          = MLX4HCA.ParamsReg\r
254 \r
255 [MLX4HCA.EventLog]\r
256 AddReg = MLX4HCA.AddEventLogReg\r
257 \r
258 [MLX4HCA.AddEventLogReg]\r
259 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mlx4_hca.sys"\r
260 HKR, , TypesSupported,   0x00010001, 7\r
261 \r
262 [MLX4HCA.ParamsReg]\r
263 HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens\r
264 HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system \r
265 HKR,"Parameters","DebugLevel",%REG_DWORD%,0x00000003\r
266 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x0000ffff\r
267 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\F8C96A49-AE22-41e9-8025-D7E416884D89","Flags",%REG_DWORD%,0xffff\r
268 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\F8C96A49-AE22-41e9-8025-D7E416884D89","Level",%REG_DWORD%,0x3\r
269 \r
270 \r
271 ;*****************************************\r
272 ; IBBUS Service Install section\r
273 ;*****************************************\r
274 \r
275 [Ibbus.ServiceInstall]\r
276 DisplayName     = %Ibbus.ServiceDesc%\r
277 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
278 StartType       = %SERVICE_DEMAND_START%\r
279 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
280 ServiceBinary   = %12%\ibbus.sys\r
281 LoadOrderGroup  = PnP Filter\r
282 AddReg          = Ibbus.ParamsReg\r
283 Dependencies    = mlx4_hca\r
284 \r
285 [Ibbus.ParamsReg]\r
286 HKR,"Parameters","IbalDebugLevel",%REG_DWORD%,2\r
287 HKR,"Parameters","IbalDebugFlags",%REG_DWORD%,0x00ffffff\r
288 HKR,"Parameters","SmiPollInterval",%REG_DWORD_NO_CLOBBER%,20000\r
289 HKR,"Parameters","IocQueryTimeout",%REG_DWORD_NO_CLOBBER%,250\r
290 HKR,"Parameters","IocQueryRetries",%REG_DWORD_NO_CLOBBER%,4\r
291 HKR,"Parameters","IocPollInterval",%REG_DWORD_NO_CLOBBER%,30000\r
292 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x80000000\r
293 HKR,"Parameters","ReportPortNIC",%REG_DWORD%,1\r
294 \r
295 ;*****************************************\r
296 ; WinVerbs Service Install section\r
297 ;*****************************************\r
298 \r
299 [WinVerbs.ServiceInstall]\r
300 DisplayName = %WinVerbs.ServiceDesc%\r
301 ServiceType = %SERVICE_KERNEL_DRIVER%\r
302 StartType = %SERVICE_DEMAND_START%\r
303 ErrorControl = %SERVICE_ERROR_NORMAL%\r
304 ServiceBinary  = %12%\winverbs.sys\r
305 LoadOrderGroup = PNP Filter\r
306 Dependencies   = ibbus\r
307 \r
308 ;*****************************************\r
309 ; WinMad Service Install section\r
310 ;*****************************************\r
311 \r
312 [WinMad.ServiceInstall]\r
313 DisplayName = %WinMad.ServiceDesc%\r
314 ServiceType = %SERVICE_KERNEL_DRIVER%\r
315 StartType = %SERVICE_DEMAND_START%\r
316 ErrorControl = %SERVICE_ERROR_NORMAL%\r
317 ServiceBinary  = %12%\winmad.sys\r
318 LoadOrderGroup = PNP Filter\r
319 Dependencies   = winverbs\r
320 \r
321 \r
322 ;*****************************************\r
323 ; Uninstall section (not used now)\r
324 ;*****************************************\r
325 \r
326 [DefaultUninstall.ntx86]\r
327 DelFiles   = MLX4HCA.CopyFiles\r
328 DelFiles   = MLX4HCA.UMCopyFiles\r
329 DelReg     = MLX4HCA.ParamsReg\r
330 DelReg     = MLX4HCA.AddEventLogReg\r
331 DelReg     = ClassAddReg\r
332 DelFiles   = Ibal.UMCopyFiles\r
333 DelFiles   = Ibbus.CopyFiles\r
334 DelReg     = Ibbus.ParamsReg\r
335 DelFiles   = WinVerbs.CopySysFiles\r
336 DelFiles   = WinVerbs.CopyDllFiles\r
337 DelFiles   = WinMad.CopySysFiles\r
338 DelFiles   = WinMad.CopyDllFiles\r
339 \r
340 [DefaultUninstall.ntamd64]\r
341 DelFiles   = MLX4HCA.CopyFiles\r
342 DelFiles   = MLX4HCA.UMCopyFiles\r
343 DelFiles   = MLX4HCA.WOW64CopyFiles\r
344 DelReg     = MLX4HCA.ParamsReg\r
345 DelReg     = MLX4HCA.AddEventLogReg\r
346 DelReg     = ClassAddReg\r
347 DelFiles   = Ibal.UMCopyFiles\r
348 DelFiles   = Ibal.WOW64CopyFiles\r
349 DelFiles   = Ibbus.CopyFiles\r
350 DelReg     = Ibbus.ParamsReg\r
351 DelFiles   = WinVerbs.CopySysFiles\r
352 DelFiles   = WinVerbs.CopyDllFiles\r
353 DelFiles   = WinMad.CopySysFiles\r
354 DelFiles   = WinMad.CopyDllFiles\r
355 \r
356 [DefaultUninstall.ntia64]\r
357 DelFiles   = MLX4HCA.CopyFiles\r
358 DelFiles   = MLX4HCA.UMCopyFiles\r
359 DelFiles   = MLX4HCA.WOW64CopyFiles\r
360 DelReg     = MLX4HCA.ParamsReg\r
361 DelReg     = MLX4HCA.AddEventLogReg\r
362 DelReg     = ClassAddReg\r
363 DelFiles   = Ibal.UMCopyFiles\r
364 DelFiles   = Ibal.WOW64CopyFiles\r
365 DelFiles   = Ibbus.CopyFiles\r
366 DelReg     = Ibbus.ParamsReg\r
367 DelFiles   = WinVerbs.CopySysFiles\r
368 DelFiles   = WinVerbs.CopyDllFiles\r
369 DelFiles   = WinMad.CopySysFiles\r
370 DelFiles   = WinMad.CopyDllFiles\r
371 \r
372 [DefaultUninstall.Services]\r
373 DelService = WinMad,%SPSVCINST_STOPSERVICE%\r
374 DelService = WinVerbs,%SPSVCINST_STOPSERVICE%\r
375 DelService = Ibbus,%SPSVCINST_STOPSERVICE%\r
376 DelService = mlx4_hca,%SPSVCINST_STOPSERVICE%\r
377 \r
378 \r
379 ;\r
380 ; It should be uncommented after returning MLX4_HCA to WDF model.\r
381 ; WinVerbs is a WDF, KMDF driver.\r
382 ;\r
383 \r
384 ;*****************************************\r
385 ; WDF Coinstaller installation section\r
386 ;*****************************************\r
387 \r
388 [MLX4HCA.DDInstall.ntx86.CoInstallers]\r
389 AddReg=Wdf_CoInstaller_AddReg\r
390 CopyFiles=Wdf_CoInstaller_CopyFiles\r
391 \r
392 [MLX4HCA.DDInstall.ntamd64.CoInstallers]\r
393 AddReg=Wdf_CoInstaller_AddReg\r
394 CopyFiles=Wdf_CoInstaller_CopyFiles\r
395 \r
396 [MLX4HCA.DDInstall.ntia64.CoInstallers]\r
397 AddReg=Wdf_CoInstaller_AddReg\r
398 CopyFiles=Wdf_CoInstaller_CopyFiles\r
399 \r
400 [Wdf_CoInstaller_AddReg]\r
401 HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01007.dll,WdfCoInstaller"\r
402 \r
403 [Wdf_CoInstaller_CopyFiles]\r
404 WdfCoInstaller01007.dll\r
405 \r
406 [MLX4HCA.DDInstall.ntx86.Wdf]\r
407 KmdfService = WinVerbs,WvWdfSect\r
408 KmdfService = WinMad,WvWdfSect\r
409 \r
410 [MLX4HCA.DDInstall.ntamd64.Wdf]\r
411 KmdfService = WinVerbs,WvWdfSect\r
412 KmdfService = WinMad,WvWdfSect\r
413 \r
414 [MLX4HCA.DDInstall.ntia64.Wdf]\r
415 KmdfService = WinVerbs,WvWdfSect\r
416 KmdfService = WinMad,WvWdfSect\r
417 \r
418 [WvWdfSect]\r
419 KmdfLibraryVersion = 1.7\r
420 \r
421 \r
422 ;*****************************************\r
423 ; Strings\r
424 ;*****************************************\r
425 \r
426 [Strings]\r
427 Mlx4HcaClassGuid = "{31B0B28A-26FF-4dca-A6FA-E767C7DFBA20}"\r
428 MTL="Mellanox Technologies Ltd."\r
429 MLX4HCA.ServiceDesc = "Mellanox ConnectX Virtual Infiband Driver"\r
430 Ibbus.ServiceDesc = "InfiniBand Bus/AL (Filter Driver)"\r
431 WinVerbs.ServiceDesc = "WinVerbs Service"\r
432 WinMad.ServiceDesc = "WinMad Service"\r
433 Mlx4_Hca.DeviceDesc="Mellanox ConnectX Virtual Channel Adapter"\r
434 DiskId = "Mellanox Mlx4 HCA installation disk"\r
435 SPSVCINST_NULL         = 0x0\r
436 SPSVCINST_ASSOCSERVICE = 0x00000002\r
437 SPSVCINST_STOPSERVICE  = 0x00000200\r
438 SERVICE_KERNEL_DRIVER  = 1\r
439 SERVICE_BOOT_START     = 0\r
440 SERVICE_DEMAND_START   = 3\r
441 SERVICE_ERROR_NORMAL   = 1\r
442 REG_DWORD              = 0x00010001\r
443 REG_DWORD_NO_CLOBBER   = 0x00010003\r
444 REG_MULTI_SZ_APPEND    = 0x00010008\r
445 DIRID_SYSTEM           = 11\r
446 DIRID_DRIVERS          = 12\r
447 DIRID_SYSTEM_X86       = 16425\r