deae787eea8aad78ece099dc34ad274913d29afc
[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 \r
26 \r
27 ;*****************************************\r
28 ; Class Install section\r
29 ;*****************************************\r
30 \r
31 [ClassInstall32]\r
32 AddReg=ClassAddReg\r
33 \r
34 [ClassAddReg]\r
35 HKR,,,,"InfiniBand Channel Adapters"\r
36 HKR,,Icon,,-5\r
37 HKR,,SilentInstall,,1\r
38 HKR,,"UpperFilters",0x00010000,"ibbus"  ; enable IBBUS/AL Filter driver loading.\r
39 \r
40 \r
41 ;*****************************************\r
42 ; Device Install section\r
43 ;*****************************************\r
44 \r
45 [SourceDisksNames.x86]\r
46 1=%DiskId%,,,""\r
47 \r
48 [SourceDisksNames.amd64]\r
49 1=%DiskId%,,,""\r
50 \r
51 [SourceDisksNames.ia64]\r
52 1=%DiskId%,,,""\r
53 \r
54 [SourceDisksFiles.x86]\r
55 mlx4_hca.sys = 1,,\r
56 mlx4u.dll = 1,,\r
57 mlx4ud.dll = 1,,\r
58 ;wdfcoinstaller01005.dll = 1,,\r
59 ibal.dll=1,,\r
60 ibald.dll=1,,\r
61 complib.dll=1,,\r
62 complibd.dll=1,,\r
63 ibbus.sys=1,,\r
64 \r
65 [SourceDisksFiles.amd64]\r
66 mlx4_hca.sys = 1,,\r
67 mlx4u.dll = 1,,\r
68 mlx4ud.dll = 1,,\r
69 mlx4u32.dll = 1,,\r
70 mlx4u32d.dll = 1,,\r
71 ;wdfcoinstaller01005.dll = 1,,\r
72 ibal.dll=1,,\r
73 ibald.dll=1,,\r
74 complib.dll=1,,\r
75 complibd.dll=1,,\r
76 cl32.dll=1,,\r
77 cl32d.dll=1,,\r
78 ibal32.dll=1,,\r
79 ibal32d.dll=1,,\r
80 ibbus.sys=1,,\r
81 \r
82 [SourceDisksFiles.ia64]\r
83 mlx4_hca.sys = 1,,\r
84 mlx4u.dll = 1,,\r
85 mlx4ud.dll = 1,,\r
86 mlx4u32.dll = 1,,\r
87 mlx4u32d.dll = 1,,\r
88 ;wdfcoinstaller01005.dll = 1,,\r
89 ibal.dll=1,,\r
90 ibald.dll=1,,\r
91 complib.dll=1,,\r
92 complibd.dll=1,,\r
93 cl32.dll=1,,\r
94 cl32d.dll=1,,\r
95 ibal32.dll=1,,\r
96 ibal32d.dll=1,,\r
97 ibbus.sys=1,,\r
98 \r
99 \r
100 ;*****************************************\r
101 ; Mlx4HCA  Install Section\r
102 ;*****************************************\r
103 \r
104 [Manufacturer]\r
105 %MTL% = MLX4HCA.DeviceSection,ntx86,ntamd64,ntia64\r
106 \r
107 [MLX4HCA.DeviceSection]\r
108 ; empty since we don't support W9x/Me\r
109 \r
110 [MLX4HCA.DeviceSection.ntx86]\r
111 %Mlx4_Hca.DeviceDesc%=MLX4HCA.DDInstall, MLX4\ConnectX_Hca\r
112 \r
113 [MLX4HCA.DeviceSection.ntamd64]\r
114 %Mlx4_Hca.DeviceDesc%=MLX4HCA.DDInstall, MLX4\ConnectX_Hca\r
115 \r
116 [MLX4HCA.DeviceSection.ntia64]\r
117 %Mlx4_Hca.DeviceDesc%=MLX4HCA.DDInstall, MLX4\ConnectX_Hca\r
118 \r
119 [MLX4HCA.DDInstall.ntx86]\r
120 CopyFiles = MLX4HCA.CopyFiles\r
121 CopyFiles = MLX4HCA.UMCopyFiles\r
122 CopyFiles = Ibal.UMCopyFiles\r
123 CopyFiles = Ibbus.CopyFiles\r
124 \r
125 [MLX4HCA.DDInstall.ntamd64]\r
126 CopyFiles = MLX4HCA.CopyFiles\r
127 CopyFiles = MLX4HCA.UMCopyFiles\r
128 CopyFiles = MLX4HCA.WOW64CopyFiles\r
129 CopyFiles = Ibal.UMCopyFiles\r
130 CopyFiles = Ibal.WOW64CopyFiles\r
131 CopyFiles = Ibbus.CopyFiles\r
132 \r
133 [MLX4HCA.DDInstall.ntia64]\r
134 CopyFiles = MLX4HCA.CopyFiles\r
135 CopyFiles = MLX4HCA.UMCopyFiles\r
136 CopyFiles = MLX4HCA.WOW64CopyFiles\r
137 CopyFiles = Ibal.UMCopyFiles\r
138 CopyFiles = Ibal.WOW64CopyFiles\r
139 CopyFiles = Ibbus.CopyFiles\r
140 \r
141 [MLX4HCA.DDInstall.ntx86.Services]\r
142 AddService = mlx4_hca,%SPSVCINST_ASSOCSERVICE%,MLX4HCA.ServiceInstall,MLX4HCA.EventLog\r
143 AddService = ibbus,,Ibbus.ServiceInstall\r
144 \r
145 [MLX4HCA.DDInstall.ntamd64.Services]\r
146 AddService = mlx4_hca,%SPSVCINST_ASSOCSERVICE%,MLX4HCA.ServiceInstall,MLX4HCA.EventLog\r
147 AddService = ibbus,,Ibbus.ServiceInstall\r
148 \r
149 [MLX4HCA.DDInstall.ntia64.Services]\r
150 AddService = mlx4_hca,%SPSVCINST_ASSOCSERVICE%,MLX4HCA.ServiceInstall,MLX4HCA.EventLog\r
151 AddService = ibbus,,Ibbus.ServiceInstall\r
152 \r
153 \r
154 ;*****************************************\r
155 ; File Copy\r
156 ;*****************************************\r
157 \r
158 [MLX4HCA.CopyFiles]\r
159 mlx4_hca.sys\r
160 \r
161 [MLX4HCA.UMCopyFiles]\r
162 mlx4u.dll,,,2\r
163 mlx4ud.dll,,,2\r
164 \r
165 [MLX4HCA.WOW64CopyFiles]\r
166 mlx4u.dll,mlx4u32.dll,,2\r
167 mlx4ud.dll,mlx4u32d.dll,,2\r
168 \r
169 [Ibal.UMCopyFiles]\r
170 ibal.dll,,,2\r
171 ibald.dll,,,2\r
172 complib.dll,,,2\r
173 complibd.dll,,,2\r
174 \r
175 [Ibal.WOW64CopyFiles]\r
176 ibal.dll,ibal32.dll,,2\r
177 ibald.dll,ibal32d.dll,,2\r
178 complib.dll,cl32.dll,,2\r
179 complibd.dll,cl32d.dll,,2\r
180 \r
181 [Ibbus.CopyFiles]\r
182 ibbus.sys\r
183 \r
184 \r
185 ;*****************************************\r
186 ; MLX4HCA Service Install section\r
187 ;*****************************************\r
188 \r
189 [MLX4HCA.ServiceInstall]\r
190 DisplayName     = %MLX4HCA.ServiceDesc%\r
191 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
192 StartType       = %SERVICE_DEMAND_START%\r
193 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
194 ServiceBinary   = %12%\mlx4_hca.sys\r
195 LoadOrderGroup  = extended base\r
196 AddReg          = MLX4HCA.ParamsReg\r
197 \r
198 [MLX4HCA.EventLog]\r
199 AddReg = MLX4HCA.AddEventLogReg\r
200 \r
201 [MLX4HCA.AddEventLogReg]\r
202 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mlx4_hca.sys"\r
203 HKR, , TypesSupported,   0x00010001, 7\r
204 \r
205 [MLX4HCA.ParamsReg]\r
206 HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens\r
207 HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system \r
208 HKR,"Parameters","DebugLevel",%REG_DWORD%,0x00000003\r
209 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x0000ffff\r
210 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\F8C96A49-AE22-41e9-8025-D7E416884D89","Flags",%REG_DWORD%,0xffff\r
211 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\F8C96A49-AE22-41e9-8025-D7E416884D89","Level",%REG_DWORD%,0x3\r
212 \r
213 \r
214 ;*****************************************\r
215 ; IBBUS Service Install section\r
216 ;*****************************************\r
217 \r
218 [Ibbus.ServiceInstall]\r
219 DisplayName     = %Ibbus.ServiceDesc%\r
220 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
221 StartType       = %SERVICE_DEMAND_START%\r
222 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
223 ServiceBinary   = %12%\ibbus.sys\r
224 LoadOrderGroup  = PnP Filter\r
225 AddReg          = Ibbus.ParamsReg\r
226 Dependencies    = mlx4_hca\r
227 \r
228 [Ibbus.ParamsReg]\r
229 HKR,"Parameters","IbalDebugLevel",%REG_DWORD%,2\r
230 HKR,"Parameters","IbalDebugFlags",%REG_DWORD%,0x00ffffff\r
231 HKR,"Parameters","SmiPollInterval",%REG_DWORD_NO_CLOBBER%,20000\r
232 HKR,"Parameters","IocQueryTimeout",%REG_DWORD_NO_CLOBBER%,250\r
233 HKR,"Parameters","IocQueryRetries",%REG_DWORD_NO_CLOBBER%,4\r
234 HKR,"Parameters","IocPollInterval",%REG_DWORD_NO_CLOBBER%,30000\r
235 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x80000000\r
236 HKR,"Parameters","ReportPortNIC",%REG_DWORD%,1\r
237 \r
238 \r
239 ;*****************************************\r
240 ; Uninstall section (not used now)\r
241 ;*****************************************\r
242 \r
243 [DefaultUninstall.ntx86]\r
244 DelFiles   = MLX4HCA.CopyFiles\r
245 DelFiles   = MLX4HCA.UMCopyFiles\r
246 DelReg     = MLX4HCA.ParamsReg\r
247 DelReg     = MLX4HCA.AddEventLogReg\r
248 DelReg     = ClassAddReg\r
249 DelFiles   = Ibal.UMCopyFiles\r
250 DelFiles   = Ibbus.CopyFiles\r
251 DelReg     = Ibbus.ParamsReg\r
252 \r
253 [DefaultUninstall.ntamd64]\r
254 DelFiles   = MLX4HCA.CopyFiles\r
255 DelFiles   = MLX4HCA.UMCopyFiles\r
256 DelFiles   = MLX4HCA.WOW64CopyFiles\r
257 DelReg     = MLX4HCA.ParamsReg\r
258 DelReg     = MLX4HCA.AddEventLogReg\r
259 DelReg     = ClassAddReg\r
260 DelFiles   = Ibal.UMCopyFiles\r
261 DelFiles   = Ibal.WOW64CopyFiles\r
262 DelFiles   = Ibbus.CopyFiles\r
263 DelReg     = Ibbus.ParamsReg\r
264 \r
265 [DefaultUninstall.ntia64]\r
266 DelFiles   = MLX4HCA.CopyFiles\r
267 DelFiles   = MLX4HCA.UMCopyFiles\r
268 DelFiles   = MLX4HCA.WOW64CopyFiles\r
269 DelReg     = MLX4HCA.ParamsReg\r
270 DelReg     = MLX4HCA.AddEventLogReg\r
271 DelReg     = ClassAddReg\r
272 DelFiles   = Ibal.UMCopyFiles\r
273 DelFiles   = Ibal.WOW64CopyFiles\r
274 DelFiles   = Ibbus.CopyFiles\r
275 DelReg     = Ibbus.ParamsReg\r
276 \r
277 [DefaultUninstall.Services]\r
278 DelService = Ibbus,%SPSVCINST_STOPSERVICE%\r
279 DelService = mlx4_hca,%SPSVCINST_STOPSERVICE%\r
280 \r
281 \r
282 ;\r
283 ; The below section is temporarily disabled.\r
284 ; It should be uncommented after returning MLX4_HCA to WDF model.\r
285 ;\r
286 \r
287 ;*****************************************\r
288 ; WDF Coinstaller installation section\r
289 ;*****************************************\r
290 \r
291 ;[MLX4HCA.DDInstall.ntx86.CoInstallers]\r
292 ;AddReg=Wdf_CoInstaller_AddReg\r
293 ;CopyFiles=Wdf_CoInstaller_CopyFiles\r
294 \r
295 ;[MLX4HCA.DDInstall.ntamd64.CoInstallers]\r
296 ;AddReg=Wdf_CoInstaller_AddReg\r
297 ;CopyFiles=Wdf_CoInstaller_CopyFiles\r
298 \r
299 ;[MLX4HCA.DDInstall.ntia64.CoInstallers]\r
300 ;AddReg=Wdf_CoInstaller_AddReg\r
301 ;CopyFiles=Wdf_CoInstaller_CopyFiles\r
302 \r
303 ;[Wdf_CoInstaller_AddReg]\r
304 ;HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01005.dll,WdfCoInstaller"\r
305 \r
306 ;[Wdf_CoInstaller_CopyFiles]\r
307 ;wdfcoinstaller01005.dll\r
308 \r
309 ;[MLX4HCA.DDInstall.ntx86.Wdf]\r
310 ;KmdfService = mlx4_hca, mlx4_hca_wdfsect\r
311 \r
312 ;[MLX4HCA.DDInstall.ntamd64.Wdf]\r
313 ;KmdfService = mlx4_hca, mlx4_hca_wdfsect\r
314 \r
315 ;[MLX4HCA.DDInstall.ntia64.Wdf]\r
316 ;KmdfService = mlx4_hca, mlx4_hca_wdfsect\r
317 \r
318 ;[mlx4_hca_wdfsect]\r
319 ;KmdfLibraryVersion = 1.5\r
320 \r
321 \r
322 ;*****************************************\r
323 ; Strings\r
324 ;*****************************************\r
325 \r
326 [Strings]\r
327 Mlx4HcaClassGuid = "{31B0B28A-26FF-4dca-A6FA-E767C7DFBA20}"\r
328 MTL="Mellanox Technologies Ltd."\r
329 MLX4HCA.ServiceDesc = "Mellanox ConnectX Virtual Infiband Driver"\r
330 Ibbus.ServiceDesc = "InfiniBand Bus/AL (Filter Driver)"\r
331 Mlx4_Hca.DeviceDesc="Mellanox ConnectX Virtual Channel Adapter"\r
332 DiskId = "Mellanox Mlx4 HCA installation disk"\r
333 SPSVCINST_NULL = 0x0\r
334 SPSVCINST_ASSOCSERVICE = 0x00000002\r
335 SPSVCINST_STOPSERVICE  = 0x00000200\r
336 SERVICE_KERNEL_DRIVER  = 1\r
337 SERVICE_DEMAND_START   = 3\r
338 SERVICE_ERROR_NORMAL   = 1\r
339 REG_DWORD              = 0x00010001\r
340 REG_DWORD_NO_CLOBBER   = 0x00010003\r
341 REG_MULTI_SZ_APPEND    = 0x00010008\r
342 DIRID_SYSTEM           = 11\r
343 DIRID_DRIVERS          = 12\r
344 DIRID_SYSTEM_X86       = 16425\r