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