d827edd3cb42b8433c0c021fa69d91d7a4025e2f
[mirror/winof/.git] / hw / mlx4 / kernel / bus / drv / mlx4_bus.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=Net\r
7 ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}\r
8 \r
9 \r
10 Provider=%MTL%\r
11 ; must be synchronized with bus\drv.c\r
12 DriverVer=02/01/2008,1.0.0.0\r
13 CatalogFile=mlx4_bus.cat\r
14 \r
15 \r
16 ;*****************************************\r
17 ; Destination directory section\r
18 ;*****************************************\r
19 \r
20 [DestinationDirs]\r
21 DefaultDestDir = 12\r
22 Wdf_CoInstaller_CopyFiles = 11\r
23 \r
24 \r
25 ;*****************************************\r
26 ; Class Install section\r
27 ;*****************************************\r
28 \r
29 [ClassInstall32]\r
30 AddReg=ClassAddReg\r
31 \r
32 [ClassAddReg]\r
33 HKR,,,,"Mellanox ConnectX Adapters"\r
34 HKR,,Icon,,-5\r
35 HKR,,SilentInstall,,1\r
36 \r
37 \r
38 ;*****************************************\r
39 ; Device Install section\r
40 ;*****************************************\r
41 \r
42 [SourceDisksNames.x86]\r
43 1=%DiskId%,,,""\r
44 \r
45 [SourceDisksNames.amd64]\r
46 1=%DiskId%,,,""\r
47 \r
48 [SourceDisksNames.ia64]\r
49 1=%DiskId%,,,""\r
50 \r
51 [SourceDisksFiles.x86]\r
52 mlx4_bus.sys = 1,,\r
53 wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll = 1,,\r
54 \r
55 [SourceDisksFiles.amd64]\r
56 mlx4_bus.sys = 1,,\r
57 wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll = 1,,\r
58 \r
59 [SourceDisksFiles.ia64]\r
60 mlx4_bus.sys = 1,,\r
61 wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll = 1,,\r
62 \r
63 ;*****************************************\r
64 ; Mlx4Bus  Install Section\r
65 ;*****************************************\r
66 \r
67 [Manufacturer]\r
68 %MTL% = MLX4BUS.DeviceSection,ntx86,ntamd64,ntia64\r
69 \r
70 [MLX4BUS.DeviceSection]\r
71 ; empty since we don't support W9x/Me\r
72 \r
73 [MLX4BUS.DeviceSection.ntx86]\r
74 %MT25408.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6340\r
75 %MT25418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_634A\r
76 %MT25448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6368\r
77 %MT25458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6372\r
78 %MT26418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6732\r
79 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
80 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
81 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
82 %MT26468.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6764\r
83 %MT26478.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_676E\r
84 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
85 \r
86 [MLX4BUS.DeviceSection.ntamd64]\r
87 %MT25408.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6340\r
88 %MT25418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_634A\r
89 %MT25448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6368\r
90 %MT25458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6372\r
91 %MT26418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6732\r
92 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
93 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
94 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
95 %MT26468.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6764\r
96 %MT26478.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_676E\r
97 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
98 \r
99 [MLX4BUS.DeviceSection.ntia64]\r
100 %MT25408.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6340\r
101 %MT25418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_634A\r
102 %MT25448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6368\r
103 %MT25458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6372\r
104 %MT26418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6732\r
105 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
106 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
107 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
108 %MT26468.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6764\r
109 %MT26478.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_676E\r
110 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
111 \r
112 [MLX4BUS.DDInstall.ntx86.hw]\r
113 AddReg = MLX4BUS.HwReg\r
114 \r
115 [MLX4BUS.DDInstall.ntamd64.hw]\r
116 AddReg = MLX4BUS.HwReg\r
117 \r
118 [MLX4BUS.DDInstall.ntia64.hw]\r
119 AddReg = MLX4BUS.HwReg\r
120 \r
121 [MLX4BUS.HwReg]\r
122 HKR,"Interrupt Management",,0x00000010\r
123 HKR,"Interrupt Management\MessageSignaledInterruptProperties",,0x00000010\r
124 \r
125 ; MSI-X support\r
126 HKR,"Interrupt Management\MessageSignaledInterruptProperties",MSISupported,0x00010001,1\r
127 HKR,"Interrupt Management\MessageSignaledInterruptProperties",MessageNumberLimit,0x00010001,18\r
128 HKR,"Interrupt Management\Affinity Policy",,0x00000010\r
129 \r
130 ; AssignmentSetOverride - processors KAFFINITY mask  \r
131 HKR,"Interrupt Management\Affinity Policy",AssignmentSetOverride,0x00000001,0x0\r
132 \r
133 ; IrqPolicyMachineDefault (0) - use default policy for the computer\r
134 ; IrqPolicyAllCloseProcessors (1) - connect interrupts to all processors of the near NUMA node\r
135 ; IrqPolicyOneCloseProcessor (2) - connect interrupts to one processor\r
136 ; IrqPolicyAllProcessorsInMachine (3) - connect interrupts to all processors in the machine\r
137 ; IrqPolicySpecifiedProcessors (4) - connects interrupts according to AssignmentSetOverride\r
138 ; IrqPolicySpreadMessagesAcrossAllProcessors (5) - assign different message-based interrupts to different processors\r
139 HKR,"Interrupt Management\Affinity Policy",DevicePolicy,0x00010001,0x5\r
140 \r
141 ; IrqArbPriorityUndefined (0) - no interrupt priority policy. \r
142 ; IrqArbPriorityLow (1) - device can tolerate low IRQL\r
143 ; IrqArbPriorityNormal (2) - device expects normal interrupt latencies\r
144 ; IrqArbPriorityHigh (3) - device requires the lowest possible interrupt latency\r
145 HKR,"Interrupt Management\Affinity Policy",DevicePriority,0x00010001,0x3\r
146 \r
147 [MLX4BUS.DDInstall.ntx86]\r
148 CopyFiles = MLX4BUS.CopyFiles\r
149 AddReg    = MLX4BUS.SoftwareReg\r
150 Characteristics = 0x4 ;NCF_PHYSICAL\r
151 BusType = 5; PCIBus\r
152 \r
153 \r
154 [MLX4BUS.DDInstall.ntamd64]\r
155 CopyFiles = MLX4BUS.CopyFiles\r
156 AddReg    = MLX4BUS.SoftwareReg\r
157 Characteristics = 0x4 ;NCF_PHYSICAL\r
158 BusType = 5; PCIBus\r
159 \r
160 \r
161 [MLX4BUS.DDInstall.ntia64]\r
162 CopyFiles = MLX4BUS.CopyFiles\r
163 AddReg    = MLX4BUS.SoftwareReg\r
164 Characteristics = 0x4 ;NCF_PHYSICAL\r
165 BusType = 5; PCIBus\r
166 \r
167 \r
168 [MLX4BUS.DDInstall.ntx86.Services]\r
169 AddService = mlx4_bus,%SPSVCINST_ASSOCSERVICE%,MLX4BUS.ServiceInstall,MLX4BUS.EventLog\r
170 \r
171 [MLX4BUS.DDInstall.ntamd64.Services]\r
172 AddService = mlx4_bus,%SPSVCINST_ASSOCSERVICE%,MLX4BUS.ServiceInstall,MLX4BUS.EventLog\r
173 \r
174 [MLX4BUS.DDInstall.ntia64.Services]\r
175 AddService = mlx4_bus,%SPSVCINST_ASSOCSERVICE%,MLX4BUS.ServiceInstall,MLX4BUS.EventLog\r
176 \r
177 [MLX4BUS.CopyFiles]\r
178 mlx4_bus.sys\r
179 \r
180 \r
181 ;*****************************************\r
182 ; Service Install section\r
183 ;*****************************************\r
184 \r
185 [MLX4BUS.ServiceInstall]\r
186 DisplayName     = %MLX4BUS.ServiceDesc%\r
187 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
188 StartType       = %SERVICE_BOOT_START%\r
189 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
190 ServiceBinary   = %12%\mlx4_bus.sys\r
191 LoadOrderGroup  = NDIS\r
192 AddReg          = MLX4BUS.ParamsReg\r
193 \r
194 [MLX4BUS.EventLog]\r
195 AddReg = MLX4BUS.AddEventLogReg\r
196 \r
197 [MLX4BUS.AddEventLogReg]\r
198 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mlx4_bus.sys"\r
199 HKR, , TypesSupported,   0x00010001, 7\r
200 \r
201 [MLX4BUS.SoftwareReg]\r
202 HKR,"Parameters","PortType",%REG_SZ%,"ib,ib"\r
203 \r
204 [MLX4BUS.ParamsReg]\r
205 HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens\r
206 HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system \r
207 HKR,"Parameters","DebugLevel",%REG_DWORD%,0x00000003\r
208 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x0000ffff\r
209 HKR,"Parameters","LogNumQp",%REG_DWORD%,0x00000011\r
210 HKR,"Parameters","LogNumRdmaRc",%REG_DWORD%,0x00000004\r
211 HKR,"Parameters","LogNumSrq",%REG_DWORD%,0x00000010\r
212 HKR,"Parameters","LogNumCq",%REG_DWORD%,0x00000010\r
213 HKR,"Parameters","LogNumMcg",%REG_DWORD%,0x0000000D\r
214 HKR,"Parameters","LogNumMpt",%REG_DWORD%,0x00000012\r
215 HKR,"Parameters","LogNumMtt",%REG_DWORD%,0x00000014\r
216 HKR,"Parameters","EnableQoS",%REG_DWORD%,0x00000000\r
217 HKR,"Parameters","BlockMcastLoopBack",%REG_DWORD%,0x00000000\r
218 HKR,"Parameters","InterruptFromFirstPacket",%REG_DWORD%,0x00000001\r
219 \r
220 HKR,"Parameters","NumMac",%REG_DWORD%,0x00000000\r
221 HKR,"Parameters","NumVlan",%REG_DWORD%,0x00000000\r
222 HKR,"Parameters","UsePrio",%REG_DWORD%,0x00000000\r
223 HKR,"Parameters","NumFcExch",%REG_DWORD%,0x00000000\r
224 \r
225 \r
226 \r
227 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\E51BB6E2-914A-4e21-93C0-192F4801BBFF","Flags",%REG_DWORD%,0xffff\r
228 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\E51BB6E2-914A-4e21-93C0-192F4801BBFF","Level",%REG_DWORD%,0x3\r
229 \r
230 ;*****************************************\r
231 ; WDF Coinstaller installation section\r
232 ;*****************************************\r
233 \r
234 [MLX4BUS.DDInstall.ntx86.CoInstallers]\r
235 AddReg=Wdf_CoInstaller_AddReg\r
236 CopyFiles=Wdf_CoInstaller_CopyFiles\r
237 \r
238 [MLX4BUS.DDInstall.ntamd64.CoInstallers]\r
239 AddReg=Wdf_CoInstaller_AddReg\r
240 CopyFiles=Wdf_CoInstaller_CopyFiles\r
241 \r
242 [MLX4BUS.DDInstall.ntia64.CoInstallers]\r
243 AddReg=Wdf_CoInstaller_AddReg\r
244 CopyFiles=Wdf_CoInstaller_CopyFiles\r
245 \r
246 [Wdf_CoInstaller_AddReg]\r
247 HKR,,CoInstallers32,0x00010000, "wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"\r
248 \r
249 [Wdf_CoInstaller_CopyFiles]\r
250 wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll\r
251 \r
252 [MLX4BUS.DDInstall.ntx86.Wdf]\r
253 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
254 \r
255 [MLX4BUS.DDInstall.ntamd64.Wdf]\r
256 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
257 \r
258 [MLX4BUS.DDInstall.ntia64.Wdf]\r
259 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
260 \r
261 [mlx4_bus_wdfsect]\r
262 KmdfLibraryVersion = $KMDFVERSION$\r
263 \r
264 \r
265 ;*****************************************\r
266 ; Strings\r
267 ;*****************************************\r
268 \r
269 [Strings]\r
270 MTL="Mellanox Technologies Ltd."\r
271 MLX4BUS.ServiceDesc = "Mellanox ConnectX Bus Enumerator"\r
272 MT25408.DeviceDesc="ConnectX (MT25408) - Mellanox ConnectX SDR Channel Adapter"\r
273 MT25418.DeviceDesc="ConnectX (MT25418) - Mellanox ConnectX DDR Channel Adapter"\r
274 MT25448.DeviceDesc="ConnectX (MT25448) - Mellanox ConnectX Ethernet Adapter"\r
275 MT25458.DeviceDesc="ConnectX (MT25458) - Mellanox ConnectX Ethernet Adapter"\r
276 MT26418.DeviceDesc="ConnectX (MT26418) - Mellanox ConnectX DDR PCI Gen2 Channel Adapter"\r
277 MT26428.DeviceDesc="ConnectX (MT26428) - Mellanox ConnectX QDR PCI Gen2 Channel Adapter"\r
278 MT26448.DeviceDesc="ConnectX (MT26448) - Mellanox ConnectX Ethernet PCI Gen2 Adapter"\r
279 MT26458.DeviceDesc="ConnectX (MT26458) - Mellanox ConnectX Ethernet PCI Gen2 Adapter"\r
280 MT26468.DeviceDesc="ConnectX (MT26468) - Mellanox ConnectX B0 Ethernet PCI Gen2 Adapter"\r
281 MT26478.DeviceDesc="ConnectX EN (MT26478) - Mellanox PCIe 2.0 5GT/s, 40GigE Ethernet Adapter"\r
282 MT00401.DeviceDesc="ConnectX (MT00401) - Mellanox ConnectX Channel Adapter in Flash Recovery Mode"\r
283 DiskId = "Mellanox Mlx4 Bus installation disk"\r
284 SPSVCINST_NULL = 0x0\r
285 SPSVCINST_ASSOCSERVICE = 0x00000002\r
286 SERVICE_KERNEL_DRIVER  = 1\r
287 SERVICE_BOOT_START     = 0\r
288 SERVICE_DEMAND_START   = 3\r
289 SERVICE_ERROR_NORMAL   = 1\r
290 REG_DWORD              = 0x00010001\r
291 REG_MULTI_SZ_APPEND    = 0x00010008\r
292 REG_SZ                 = 0x00000000\r