[MLX4] The following patch solves a problem on some machines where IbInstaller.dll...
[mirror/winof/.git] / hw / mlx4 / kernel / hca / mlx4_hca.inf
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=Mlx4Hca\r
7 ClassGUID={31B0B28A-26FF-4dca-A6FA-E767C7DFBA20}\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 ClassCopyFiles = %DIRID_SYSTEM%\r
21 MLX4HCA.UMCopyFiles = %DIRID_SYSTEM%\r
22 MLX4HCA.WOW64CopyFiles = %DIRID_SYSTEM_X86%\r
23 ;Wdf_CoInstaller_CopyFiles = %DIRID_SYSTEM%\r
24 \r
25 ;*****************************************\r
26 ; Class Install section\r
27 ;*****************************************\r
28 \r
29 [ClassInstall32]\r
30 CopyFiles=ClassCopyFiles\r
31 AddReg=ClassAddReg\r
32 \r
33 [ClassCopyFiles]\r
34 IbInstaller.dll\r
35 \r
36 [ClassAddReg]\r
37 HKR,,,,"Mellanox ConnectX Virtual InfiniBand Adapters"\r
38 HKR,,Icon,,-5\r
39 HKR,,SilentInstall,,1\r
40 HKLM,"System\CurrentControlSet\Control\CoDeviceInstallers", \\r
41  %Mlx4HcaClassGuid%,%REG_MULTI_SZ_APPEND%, "IbInstaller.dll,IbCoInstaller"\r
42 \r
43 ;*****************************************\r
44 ; Device Install section\r
45 ;*****************************************\r
46 \r
47 [SourceDisksNames.x86]\r
48 1=%DiskId%,,,""\r
49 \r
50 [SourceDisksNames.amd64]\r
51 1=%DiskId%,,,""\r
52 \r
53 [SourceDisksNames.ia64]\r
54 1=%DiskId%,,,""\r
55 \r
56 [SourceDisksFiles.x86]\r
57 IbInstaller.dll = 1,,\r
58 mlx4_hca.sys = 1,,\r
59 mlx4u.dll = 1,,\r
60 mlx4ud.dll = 1,,\r
61 ;wdfcoinstaller01005.dll = 1,,\r
62 \r
63 [SourceDisksFiles.amd64]\r
64 IbInstaller.dll = 1,,\r
65 mlx4_hca.sys = 1,,\r
66 mlx4u.dll = 1,,\r
67 mlx4ud.dll = 1,,\r
68 mlx4u32.dll = 1,,\r
69 mlx4u32d.dll = 1,,\r
70 ;wdfcoinstaller01005.dll = 1,,\r
71 \r
72 [SourceDisksFiles.ia64]\r
73 IbInstaller.dll = 1,,\r
74 mlx4_hca.sys = 1,,\r
75 mlx4u.dll = 1,,\r
76 mlx4ud.dll = 1,,\r
77 mlx4u32.dll = 1,,\r
78 mlx4u32d.dll = 1,,\r
79 ;wdfcoinstaller01005.dll = 1,,\r
80 \r
81 ;*****************************************\r
82 ; Mlx4Bus  Install Section\r
83 ;*****************************************\r
84 \r
85 [Manufacturer]\r
86 %MTL% = MLX4HCA.DeviceSection,ntx86,ntamd64,ntia64\r
87 \r
88 [MLX4HCA.DeviceSection]\r
89 ; empty since we don't support W9x/Me\r
90 \r
91 [MLX4HCA.DeviceSection.ntx86]\r
92 %Mlx4_Hca.DeviceDesc%=MLX4HCA.DDInstall, MLX4\ConnectX_Hca\r
93 \r
94 [MLX4HCA.DeviceSection.ntamd64]\r
95 %Mlx4_Hca.DeviceDesc%=MLX4HCA.DDInstall, MLX4\ConnectX_Hca\r
96 \r
97 [MLX4HCA.DeviceSection.ntia64]\r
98 %Mlx4_Hca.DeviceDesc%=MLX4HCA.DDInstall, MLX4\ConnectX_Hca\r
99 \r
100 [MLX4HCA.DDInstall.ntx86]\r
101 CopyFiles = MLX4HCA.CopyFiles\r
102 CopyFiles = MLX4HCA.UMCopyFiles\r
103 CopyINF=ib_bus.inf\r
104 \r
105 [MLX4HCA.DDInstall.ntamd64]\r
106 CopyFiles = MLX4HCA.CopyFiles\r
107 CopyFiles = MLX4HCA.UMCopyFiles\r
108 CopyFiles = MLX4HCA.WOW64CopyFiles\r
109 CopyINF=ib_bus.inf\r
110 \r
111 [MLX4HCA.DDInstall.ntia64]\r
112 CopyFiles = MLX4HCA.CopyFiles\r
113 CopyFiles = MLX4HCA.UMCopyFiles\r
114 CopyFiles = MLX4HCA.WOW64CopyFiles\r
115 CopyINF=ib_bus.inf\r
116 \r
117 [MLX4HCA.DDInstall.ntx86.Services]\r
118 AddService = mlx4_hca,%SPSVCINST_ASSOCSERVICE%,MLX4HCA.ServiceInstall,MLX4HCA.EventLog\r
119 \r
120 [MLX4HCA.DDInstall.ntamd64.Services]\r
121 AddService = mlx4_hca,%SPSVCINST_ASSOCSERVICE%,MLX4HCA.ServiceInstall,MLX4HCA.EventLog\r
122 \r
123 [MLX4HCA.DDInstall.ntia64.Services]\r
124 AddService = mlx4_hca,%SPSVCINST_ASSOCSERVICE%,MLX4HCA.ServiceInstall,MLX4HCA.EventLog\r
125 \r
126 [MLX4HCA.CopyFiles]\r
127 mlx4_hca.sys\r
128 \r
129 [MLX4HCA.UMCopyFiles]\r
130 mlx4u.dll,,,2\r
131 mlx4ud.dll,,,2\r
132 \r
133 [MLX4HCA.WOW64CopyFiles]\r
134 mlx4u.dll,mlx4u32.dll,,2\r
135 mlx4ud.dll,mlx4u32d.dll,,2\r
136 \r
137 \r
138 ;*****************************************\r
139 ; Service Install section\r
140 ;*****************************************\r
141 \r
142 [MLX4HCA.ServiceInstall]\r
143 DisplayName     = %MLX4HCA.ServiceDesc%\r
144 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
145 StartType       = %SERVICE_DEMAND_START%\r
146 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
147 ServiceBinary   = %12%\mlx4_hca.sys\r
148 LoadOrderGroup  = extended base\r
149 AddReg          = MLX4HCA.ParamsReg\r
150 \r
151 [MLX4HCA.EventLog]\r
152 AddReg = MLX4HCA.AddEventLogReg\r
153 \r
154 [MLX4HCA.AddEventLogReg]\r
155 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mlx4_hca.sys"\r
156 HKR, , TypesSupported,   0x00010001, 7\r
157 \r
158 [MLX4HCA.ParamsReg]\r
159 HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens\r
160 HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system \r
161 HKR,"Parameters","DebugLevel",%REG_DWORD%,0x00000003\r
162 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x0000ffff\r
163 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\F8C96A49-AE22-41e9-8025-D7E416884D89","Flags",%REG_DWORD%,0xffff\r
164 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\F8C96A49-AE22-41e9-8025-D7E416884D89","Level",%REG_DWORD%,0x3\r
165 \r
166 ;\r
167 ; The below section is temporarily disabled.\r
168 ; It should be uncommented after returning MLX4_HCA to WDF model.\r
169 ;\r
170 \r
171 ;*****************************************\r
172 ; WDF Coinstaller installation section\r
173 ;*****************************************\r
174 \r
175 ;[MLX4HCA.DDInstall.ntx86.CoInstallers]\r
176 ;AddReg=Wdf_CoInstaller_AddReg\r
177 ;CopyFiles=Wdf_CoInstaller_CopyFiles\r
178 \r
179 ;[MLX4HCA.DDInstall.ntamd64.CoInstallers]\r
180 ;AddReg=Wdf_CoInstaller_AddReg\r
181 ;CopyFiles=Wdf_CoInstaller_CopyFiles\r
182 \r
183 ;[MLX4HCA.DDInstall.ntia64.CoInstallers]\r
184 ;AddReg=Wdf_CoInstaller_AddReg\r
185 ;CopyFiles=Wdf_CoInstaller_CopyFiles\r
186 \r
187 ;[Wdf_CoInstaller_AddReg]\r
188 ;HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01005.dll,WdfCoInstaller"\r
189 \r
190 ;[Wdf_CoInstaller_CopyFiles]\r
191 ;wdfcoinstaller01005.dll\r
192 \r
193 ;[MLX4HCA.DDInstall.ntx86.Wdf]\r
194 ;KmdfService = mlx4_hca, mlx4_hca_wdfsect\r
195 \r
196 ;[MLX4HCA.DDInstall.ntamd64.Wdf]\r
197 ;KmdfService = mlx4_hca, mlx4_hca_wdfsect\r
198 \r
199 ;[MLX4HCA.DDInstall.ntia64.Wdf]\r
200 ;KmdfService = mlx4_hca, mlx4_hca_wdfsect\r
201 \r
202 ;[mlx4_hca_wdfsect]\r
203 ;KmdfLibraryVersion = 1.5\r
204 \r
205 \r
206 ;*****************************************\r
207 ; Strings\r
208 ;*****************************************\r
209 \r
210 [Strings]\r
211 Mlx4HcaClassGuid = "{31B0B28A-26FF-4dca-A6FA-E767C7DFBA20}"\r
212 MTL="Mellanox Technologies Ltd."\r
213 MLX4HCA.ServiceDesc = "Mellanox ConnectX Virtual Infiband Driver"\r
214 Mlx4_Hca.DeviceDesc="Mellanox ConnectX Virtual Channel Adapter"\r
215 DiskId = "Mellanox Mlx4 Bus installation disk"\r
216 SPSVCINST_NULL = 0x0\r
217 SPSVCINST_ASSOCSERVICE = 0x00000002\r
218 SERVICE_KERNEL_DRIVER  = 1\r
219 SERVICE_DEMAND_START   = 3\r
220 SERVICE_ERROR_NORMAL   = 1\r
221 REG_DWORD              = 0x00010001\r
222 REG_MULTI_SZ_APPEND    = 0x00010008\r
223 DIRID_SYSTEM           = 11\r
224 DIRID_DRIVERS          = 12\r
225 DIRID_SYSTEM_X86       = 16425\r