[mlx4] Add support for Yatir (more device ids)
[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 wdfcoinstaller01007.dll = 1,,\r
52 \r
53 [SourceDisksFiles.amd64]\r
54 mlx4_bus.sys = 1,,\r
55 wdfcoinstaller01007.dll = 1,,\r
56 \r
57 [SourceDisksFiles.ia64]\r
58 mlx4_bus.sys = 1,,\r
59 wdfcoinstaller01007.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 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
81 \r
82 [MLX4BUS.DeviceSection.ntamd64]\r
83 %MT25408.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6340\r
84 %MT25418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_634A\r
85 %MT25448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6368\r
86 %MT25458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6372\r
87 %MT26418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6732\r
88 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
89 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
90 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
91 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
92 \r
93 [MLX4BUS.DeviceSection.ntia64]\r
94 %MT25408.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6340\r
95 %MT25418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_634A\r
96 %MT25448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6368\r
97 %MT25458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6372\r
98 %MT26418.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6732\r
99 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
100 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
101 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
102 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
103 \r
104 [MLX4BUS.DDInstall.ntx86]\r
105 CopyFiles = MLX4BUS.CopyFiles\r
106 \r
107 [MLX4BUS.DDInstall.ntamd64]\r
108 CopyFiles = MLX4BUS.CopyFiles\r
109 \r
110 [MLX4BUS.DDInstall.ntia64]\r
111 CopyFiles = MLX4BUS.CopyFiles\r
112 \r
113 [MLX4BUS.DDInstall.ntx86.Services]\r
114 AddService = mlx4_bus,%SPSVCINST_ASSOCSERVICE%,MLX4BUS.ServiceInstall,MLX4BUS.EventLog\r
115 \r
116 [MLX4BUS.DDInstall.ntamd64.Services]\r
117 AddService = mlx4_bus,%SPSVCINST_ASSOCSERVICE%,MLX4BUS.ServiceInstall,MLX4BUS.EventLog\r
118 \r
119 [MLX4BUS.DDInstall.ntia64.Services]\r
120 AddService = mlx4_bus,%SPSVCINST_ASSOCSERVICE%,MLX4BUS.ServiceInstall,MLX4BUS.EventLog\r
121 \r
122 [MLX4BUS.CopyFiles]\r
123 mlx4_bus.sys\r
124 \r
125 \r
126 ;*****************************************\r
127 ; Service Install section\r
128 ;*****************************************\r
129 \r
130 [MLX4BUS.ServiceInstall]\r
131 DisplayName     = %MLX4BUS.ServiceDesc%\r
132 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
133 StartType       = %SERVICE_DEMAND_START%\r
134 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
135 ServiceBinary   = %12%\mlx4_bus.sys\r
136 LoadOrderGroup  = extended base\r
137 AddReg          = MLX4BUS.ParamsReg\r
138 \r
139 [MLX4BUS.EventLog]\r
140 AddReg = MLX4BUS.AddEventLogReg\r
141 \r
142 [MLX4BUS.AddEventLogReg]\r
143 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mlx4_bus.sys"\r
144 HKR, , TypesSupported,   0x00010001, 7\r
145 \r
146 [MLX4BUS.ParamsReg]\r
147 HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens\r
148 HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system \r
149 HKR,"Parameters","DebugLevel",%REG_DWORD%,0x00000003\r
150 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x0000ffff\r
151 HKR,"Parameters","LogNumQp",%REG_DWORD%,0x00000011\r
152 HKR,"Parameters","LogNumRdmaRc",%REG_DWORD%,0x00000004\r
153 HKR,"Parameters","LogNumSrq",%REG_DWORD%,0x00000010\r
154 HKR,"Parameters","LogNumCq",%REG_DWORD%,0x00000010\r
155 HKR,"Parameters","LogNumMcg",%REG_DWORD%,0x0000000D\r
156 HKR,"Parameters","LogNumMpt",%REG_DWORD%,0x00000012\r
157 HKR,"Parameters","LogNumMtt",%REG_DWORD%,0x00000014\r
158 HKR,"Parameters","EnableQoS",%REG_DWORD%,0x00000001\r
159 HKR,"Parameters","BlockMcastLoopBack",%REG_DWORD%,0x00000000\r
160 HKR,"Parameters","InterruptFromFirstPacket",%REG_DWORD%,0x00000001\r
161 \r
162 HKR,"Parameters","NumMac",%REG_DWORD%,0x00000001\r
163 HKR,"Parameters","NumVlan",%REG_DWORD%,0x00000000\r
164 HKR,"Parameters","UsePrio",%REG_DWORD%,0x00000000\r
165 HKR,"Parameters","PortType",%REG_SZ%,"ib,ib"\r
166 \r
167 \r
168 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\E51BB6E2-914A-4e21-93C0-192F4801BBFF","Flags",%REG_DWORD%,0xffff\r
169 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\E51BB6E2-914A-4e21-93C0-192F4801BBFF","Level",%REG_DWORD%,0x3\r
170 \r
171 ;*****************************************\r
172 ; WDF Coinstaller installation section\r
173 ;*****************************************\r
174 \r
175 [MLX4BUS.DDInstall.ntx86.CoInstallers]\r
176 AddReg=Wdf_CoInstaller_AddReg\r
177 CopyFiles=Wdf_CoInstaller_CopyFiles\r
178 \r
179 [MLX4BUS.DDInstall.ntamd64.CoInstallers]\r
180 AddReg=Wdf_CoInstaller_AddReg\r
181 CopyFiles=Wdf_CoInstaller_CopyFiles\r
182 \r
183 [MLX4BUS.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, "wdfcoinstaller01007.dll,WdfCoInstaller"\r
189 \r
190 [Wdf_CoInstaller_CopyFiles]\r
191 wdfcoinstaller01007.dll\r
192 \r
193 [MLX4BUS.DDInstall.ntx86.Wdf]\r
194 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
195 \r
196 [MLX4BUS.DDInstall.ntamd64.Wdf]\r
197 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
198 \r
199 [MLX4BUS.DDInstall.ntia64.Wdf]\r
200 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
201 \r
202 [mlx4_bus_wdfsect]\r
203 KmdfLibraryVersion = 1.7\r
204 \r
205 \r
206 ;*****************************************\r
207 ; Strings\r
208 ;*****************************************\r
209 \r
210 [Strings]\r
211 MTL="Mellanox Technologies Ltd."\r
212 MLX4BUS.ServiceDesc = "Mellanox ConnectX Bus Enumerator"\r
213 MT25408.DeviceDesc="ConnectX (MT25408) - Mellanox ConnectX SDR Channel Adapter"\r
214 MT25418.DeviceDesc="ConnectX (MT25418) - Mellanox ConnectX DDR Channel Adapter"\r
215 MT25448.DeviceDesc="ConnectX (MT25448) - Mellanox ConnectX Ethernet Adapter"\r
216 MT25458.DeviceDesc="ConnectX (MT25458) - Mellanox ConnectX Ethernet Adapter"\r
217 MT26418.DeviceDesc="ConnectX (MT26418) - Mellanox ConnectX DDR PCI Gen2 Channel Adapter"\r
218 MT26428.DeviceDesc="ConnectX (MT26428) - Mellanox ConnectX QDR PCI Gen2 Channel Adapter"\r
219 MT26448.DeviceDesc="ConnectX (MT26448) - Mellanox ConnectX Ethernet PCI Gen2 Adapter"\r
220 MT26458.DeviceDesc="ConnectX (MT26458) - Mellanox ConnectX Ethernet PCI Gen2 Adapter"\r
221 MT00401.DeviceDesc="ConnectX (MT00401) - Mellanox ConnectX Channel Adapter in Flash Recovery Mode"\r
222 DiskId = "Mellanox Mlx4 Bus installation disk"\r
223 SPSVCINST_NULL = 0x0\r
224 SPSVCINST_ASSOCSERVICE = 0x00000002\r
225 SERVICE_KERNEL_DRIVER  = 1\r
226 SERVICE_DEMAND_START   = 3\r
227 SERVICE_ERROR_NORMAL   = 1\r
228 REG_DWORD              = 0x00010001\r
229 REG_MULTI_SZ_APPEND    = 0x00010008\r
230 REG_SZ                 = 0x00000000\r