[MLX4] added support for 26438 and 26488 devices. [mlnx: 4943]
[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 %MT26488.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6778\r
80 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
81 %MT26438.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6746\r
82 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
83 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
84 %MT26468.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6764\r
85 %MT26478.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_676E\r
86 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
87 \r
88 [MLX4BUS.DeviceSection.ntamd64]\r
89 %MT25408.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6340\r
90 %MT25418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_634A\r
91 %MT25448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6368\r
92 %MT25458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6372\r
93 %MT26418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6732\r
94 %MT26488.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6778\r
95 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
96 %MT26438.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6746\r
97 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
98 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
99 %MT26468.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6764\r
100 %MT26478.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_676E\r
101 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
102 \r
103 [MLX4BUS.DeviceSection.ntia64]\r
104 %MT25408.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6340\r
105 %MT25418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_634A\r
106 %MT25448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6368\r
107 %MT25458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6372\r
108 %MT26418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6732\r
109 %MT26488.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6778\r
110 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
111 %MT26438.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6746\r
112 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
113 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
114 %MT26468.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6764\r
115 %MT26478.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_676E\r
116 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
117 \r
118 [MLX4BUS.DDInstall.ntx86.hw]\r
119 AddReg = MLX4BUS.HwReg\r
120 \r
121 [MLX4BUS.DDInstall.ntamd64.hw]\r
122 AddReg = MLX4BUS.HwReg\r
123 \r
124 [MLX4BUS.DDInstall.ntia64.hw]\r
125 AddReg = MLX4BUS.HwReg\r
126 \r
127 [MLX4BUS.HwReg]\r
128 HKR,"Interrupt Management",,0x00000010\r
129 HKR,"Interrupt Management\MessageSignaledInterruptProperties",,0x00000010\r
130 \r
131 ; MSI-X support\r
132 HKR,"Interrupt Management\MessageSignaledInterruptProperties",MSISupported,0x00010001,1\r
133 HKR,"Interrupt Management\MessageSignaledInterruptProperties",MessageNumberLimit,0x00010001,18\r
134 HKR,"Interrupt Management\Affinity Policy",,0x00000010\r
135 \r
136 ; AssignmentSetOverride - processors KAFFINITY mask  \r
137 HKR,"Interrupt Management\Affinity Policy",AssignmentSetOverride,0x00000001,0x0\r
138 \r
139 ; IrqPolicyMachineDefault (0) - use default policy for the computer\r
140 ; IrqPolicyAllCloseProcessors (1) - connect interrupts to all processors of the near NUMA node\r
141 ; IrqPolicyOneCloseProcessor (2) - connect interrupts to one processor\r
142 ; IrqPolicyAllProcessorsInMachine (3) - connect interrupts to all processors in the machine\r
143 ; IrqPolicySpecifiedProcessors (4) - connects interrupts according to AssignmentSetOverride\r
144 ; IrqPolicySpreadMessagesAcrossAllProcessors (5) - assign different message-based interrupts to different processors\r
145 HKR,"Interrupt Management\Affinity Policy",DevicePolicy,0x00010001,0x5\r
146 \r
147 ; IrqArbPriorityUndefined (0) - no interrupt priority policy. \r
148 ; IrqArbPriorityLow (1) - device can tolerate low IRQL\r
149 ; IrqArbPriorityNormal (2) - device expects normal interrupt latencies\r
150 ; IrqArbPriorityHigh (3) - device requires the lowest possible interrupt latency\r
151 HKR,"Interrupt Management\Affinity Policy",DevicePriority,0x00010001,0x3\r
152 \r
153 [MLX4BUS.DDInstall.ntx86]\r
154 CopyFiles = MLX4BUS.CopyFiles\r
155 AddReg    = MLX4BUS.SoftwareReg\r
156 Characteristics = 0x4 ;NCF_PHYSICAL\r
157 BusType = 5; PCIBus\r
158 \r
159 \r
160 [MLX4BUS.DDInstall.ntamd64]\r
161 CopyFiles = MLX4BUS.CopyFiles\r
162 AddReg    = MLX4BUS.SoftwareReg\r
163 Characteristics = 0x4 ;NCF_PHYSICAL\r
164 BusType = 5; PCIBus\r
165 \r
166 \r
167 [MLX4BUS.DDInstall.ntia64]\r
168 CopyFiles = MLX4BUS.CopyFiles\r
169 AddReg    = MLX4BUS.SoftwareReg\r
170 Characteristics = 0x4 ;NCF_PHYSICAL\r
171 BusType = 5; PCIBus\r
172 \r
173 \r
174 [MLX4BUS.DDInstall.ntx86.Services]\r
175 AddService = mlx4_bus,%SPSVCINST_ASSOCSERVICE%,MLX4BUS.ServiceInstall,MLX4BUS.EventLog\r
176 \r
177 [MLX4BUS.DDInstall.ntamd64.Services]\r
178 AddService = mlx4_bus,%SPSVCINST_ASSOCSERVICE%,MLX4BUS.ServiceInstall,MLX4BUS.EventLog\r
179 \r
180 [MLX4BUS.DDInstall.ntia64.Services]\r
181 AddService = mlx4_bus,%SPSVCINST_ASSOCSERVICE%,MLX4BUS.ServiceInstall,MLX4BUS.EventLog\r
182 \r
183 [MLX4BUS.CopyFiles]\r
184 mlx4_bus.sys\r
185 \r
186 \r
187 ;*****************************************\r
188 ; Service Install section\r
189 ;*****************************************\r
190 \r
191 [MLX4BUS.ServiceInstall]\r
192 DisplayName     = %MLX4BUS.ServiceDesc%\r
193 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
194 StartType       = %SERVICE_BOOT_START%\r
195 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
196 ServiceBinary   = %12%\mlx4_bus.sys\r
197 LoadOrderGroup  = NDIS\r
198 AddReg          = MLX4BUS.ParamsReg\r
199 \r
200 [MLX4BUS.EventLog]\r
201 AddReg = MLX4BUS.AddEventLogReg\r
202 \r
203 [MLX4BUS.AddEventLogReg]\r
204 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mlx4_bus.sys"\r
205 HKR, , TypesSupported,   0x00010001, 7\r
206 \r
207 [MLX4BUS.SoftwareReg]\r
208 HKR,"Parameters","PortType",%REG_SZ%,"ib,ib"\r
209 \r
210 [MLX4BUS.ParamsReg]\r
211 HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens\r
212 HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system \r
213 HKR,"Parameters","DebugLevel",%REG_DWORD%,0x00000003\r
214 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x0000ffff\r
215 HKR,"Parameters","LogNumQp",%REG_DWORD%,0x00000011\r
216 HKR,"Parameters","LogNumRdmaRc",%REG_DWORD%,0x00000004\r
217 HKR,"Parameters","LogNumSrq",%REG_DWORD%,0x00000010\r
218 HKR,"Parameters","LogNumCq",%REG_DWORD%,0x00000010\r
219 HKR,"Parameters","LogNumMcg",%REG_DWORD%,0x0000000D\r
220 HKR,"Parameters","LogNumMpt",%REG_DWORD%,0x00000012\r
221 HKR,"Parameters","LogNumMtt",%REG_DWORD%,0x00000014\r
222 HKR,"Parameters","EnableQoS",%REG_DWORD%,0x00000000\r
223 HKR,"Parameters","BlockMcastLoopBack",%REG_DWORD%,0x00000000\r
224 HKR,"Parameters","InterruptFromFirstPacket",%REG_DWORD%,0x00000001\r
225 \r
226 HKR,"Parameters","NumMac",%REG_DWORD%,0x00000000\r
227 HKR,"Parameters","NumVlan",%REG_DWORD%,0x00000000\r
228 HKR,"Parameters","UsePrio",%REG_DWORD%,0x00000000\r
229 HKR,"Parameters","NumFcExch",%REG_DWORD%,0x00000000\r
230 \r
231 \r
232 \r
233 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\E51BB6E2-914A-4e21-93C0-192F4801BBFF","Flags",%REG_DWORD%,0xffff\r
234 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\E51BB6E2-914A-4e21-93C0-192F4801BBFF","Level",%REG_DWORD%,0x3\r
235 \r
236 ;*****************************************\r
237 ; WDF Coinstaller installation section\r
238 ;*****************************************\r
239 \r
240 [MLX4BUS.DDInstall.ntx86.CoInstallers]\r
241 AddReg=Wdf_CoInstaller_AddReg\r
242 CopyFiles=Wdf_CoInstaller_CopyFiles\r
243 \r
244 [MLX4BUS.DDInstall.ntamd64.CoInstallers]\r
245 AddReg=Wdf_CoInstaller_AddReg\r
246 CopyFiles=Wdf_CoInstaller_CopyFiles\r
247 \r
248 [MLX4BUS.DDInstall.ntia64.CoInstallers]\r
249 AddReg=Wdf_CoInstaller_AddReg\r
250 CopyFiles=Wdf_CoInstaller_CopyFiles\r
251 \r
252 [Wdf_CoInstaller_AddReg]\r
253 HKR,,CoInstallers32,0x00010000, "wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"\r
254 \r
255 [Wdf_CoInstaller_CopyFiles]\r
256 wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll\r
257 \r
258 [MLX4BUS.DDInstall.ntx86.Wdf]\r
259 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
260 \r
261 [MLX4BUS.DDInstall.ntamd64.Wdf]\r
262 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
263 \r
264 [MLX4BUS.DDInstall.ntia64.Wdf]\r
265 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
266 \r
267 [mlx4_bus_wdfsect]\r
268 KmdfLibraryVersion = $KMDFVERSION$\r
269 \r
270 \r
271 ;*****************************************\r
272 ; Strings\r
273 ;*****************************************\r
274 \r
275 [Strings]\r
276 MTL="Mellanox Technologies Ltd."\r
277 MLX4BUS.ServiceDesc = "Mellanox ConnectX Bus Enumerator"\r
278 ; VPI\r
279 MT25408.DeviceDesc="Mellanox ConnectX VPI (MT25408) - PCIe 2.0 2.5GT/s, IB SDR / 10GigE Network Adapter"\r
280 MT25418.DeviceDesc="Mellanox ConnectX VPI (MT25418) - PCIe 2.0 2.5GT/s, IB DDR / 10GigE Network Adapter"\r
281 MT26418.DeviceDesc="Mellanox ConnectX VPI (MT26418) - PCIe 2.0 5GT/s, IB DDR / 10GigE Network Adapter"\r
282 MT26488.DeviceDesc="Mellanox ConnectX VPI (MT26488) - PCIe 2.0 5GT/s, IB DDR / 10GigE Network Adapter"\r
283 MT26428.DeviceDesc="Mellanox ConnectX VPI (MT26428) - PCIe 2.0 5GT/s, IB QDR / 10GigE Network Adapter"\r
284 MT26438.DeviceDesc="Mellanox ConnectX VPI (MT26438) - PCIe 2.0 5GT/s, IB QDR / 10GigE Network Adapter"\r
285 ; EN\r
286 MT25448.DeviceDesc="Mellanox ConnectX EN (MT25448) - PCIe 2.0 2.5GT/s, 10GigE Ethernet Adapter"\r
287 MT25458.DeviceDesc="Mellanox ConnectX EN (MT25458) - PCIe 2.0 2.5GT/s, 10GigE 10GBaseT Ethernet Adapter"\r
288 MT26448.DeviceDesc="Mellanox ConnectX EN (MT26448) - PCIe 2.0 5GT/s, 10GigE Ethernet Adapter"\r
289 MT26458.DeviceDesc="Mellanox ConnectX EN (MT26458) - PCIe 2.0 5GT/s, 10GigE 10GBaseT Ethernet Adapter"\r
290 MT26468.DeviceDesc="Mellanox ConnectX EN (MT26468) - PCIe 2.0 5GT/s, 10GigE Ethernet Adapter"\r
291 MT26478.DeviceDesc="Mellanox ConnectX EN (MT26478) - PCIe 2.0 5GT/s, 40GigE Ethernet Adapter"\r
292 ; Burner\r
293 MT00401.DeviceDesc="Mellanox ConnectX (MT00401) - Network Adapter in Flash Recovery Mode"\r
294 DiskId = "Mellanox Mlx4 Bus installation disk"\r
295 SPSVCINST_NULL = 0x0\r
296 SPSVCINST_ASSOCSERVICE = 0x00000002\r
297 SERVICE_KERNEL_DRIVER  = 1\r
298 SERVICE_BOOT_START     = 0\r
299 SERVICE_DEMAND_START   = 3\r
300 SERVICE_ERROR_NORMAL   = 1\r
301 REG_DWORD              = 0x00010001\r
302 REG_MULTI_SZ_APPEND    = 0x00010008\r
303 REG_SZ                 = 0x00000000\r