[MTHCA] added alpha version of new low-level driver, supporting memfree HCA devices
[mirror/winof/.git] / hw / mthca / kernel / mthca.inf
1 ; Mellanox Technologies InfiniBand HCAs.\r
2 ; Copyright 2005 Mellanox Technologies all Rights Reserved.\r
3 \r
4 [Version]\r
5 Signature="$Windows NT$"\r
6 Class=InfiniBandHca\r
7 ClassGUID={58517E00-D3CF-40c9-A679-CEE5752F4491}\r
8 Provider=%MTL%\r
9 CatalogFile=mthca.cat\r
10 ; must be synchronized with MTHCA_DEV.H\r
11 DriverVer=03/01/2006,1.0.4\r
12 \r
13 ; ================= Destination directory section =====================\r
14 \r
15 [DestinationDirs]\r
16 DefaultDestDir=%DIRID_DRIVERS%\r
17 ClassCopyFiles=%DIRID_SYSTEM%\r
18 MTHCA.UMCopyFiles=%DIRID_SYSTEM%\r
19 MTHCA.WOW64CopyFiles=%DIRID_WINDOWS%\SysWOW64\r
20 \r
21 ; ================= Class Install section =====================\r
22 \r
23 [ClassInstall32]\r
24 CopyFiles=ClassCopyFiles\r
25 AddReg=ClassAddReg\r
26 \r
27 [ClassCopyFiles]\r
28 IbInstaller.dll\r
29 \r
30 [ClassAddReg]\r
31 HKR,,,,"InfiniBand Host Channel Adapters"\r
32 HKR,,Icon,,-5\r
33 HKLM,"System\CurrentControlSet\Control\CoDeviceInstallers", \\r
34  %HcaClassGuid%,%REG_MULTI_SZ_APPEND%, "IbInstaller.dll,IbCoInstaller"\r
35 \r
36 ; ================= Device Install section =====================\r
37 \r
38 [SourceDisksNames.x86]\r
39 1=%DiskId%,,,\x86\r
40 \r
41 [SourceDisksNames.amd64]\r
42 1=%DiskId%,,,\amd64\r
43 \r
44 [SourceDisksNames.ia64]\r
45 1=%DiskId%,,,\ia64\r
46 \r
47 [SourceDisksFiles]\r
48 IbInstaller.dll=1\r
49 ibal.sys=1\r
50 mthca.sys=1\r
51 mthcau.dll=1\r
52 mthcaud.dll=1\r
53 \r
54 [SourceDisksFiles.amd64]\r
55 IbInstaller.dll=1\r
56 ibal.sys=1\r
57 mthca.sys=1\r
58 mthcau.dll=1\r
59 mthcaud.dll=1\r
60 ;uvpd32.dll=1\r
61 ;uvpd32d.dll=1\r
62 \r
63 [SourceDisksFiles.ia64]\r
64 IbInstaller.dll=1\r
65 ibal.sys=1\r
66 mthca.sys=1\r
67 mthcau.dll=1\r
68 mthcaud.dll=1\r
69 ;uvpd32.dll=1\r
70 ;uvpd32d.dll=1\r
71 \r
72 [Manufacturer]\r
73 %MTL% = HCA.DeviceSection,ntx86,ntamd64,ntia64\r
74 \r
75 [HCA.DeviceSection]\r
76 ; empty since we don't support W9x/Me\r
77 \r
78 [HCA.DeviceSection.ntx86]\r
79 %MT23108.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A44\r
80 %MT25208.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6278\r
81 %MT25218.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6282\r
82 %MT24204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8C\r
83 %MT25204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6274\r
84 \r
85 \r
86 [HCA.DeviceSection.ntamd64]\r
87 %MT23108.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A44\r
88 %MT25208.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6278\r
89 %MT25218.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6282\r
90 %MT24204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8C\r
91 %MT25204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6274\r
92 \r
93 [HCA.DeviceSection.ntia64]\r
94 %MT23108.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A44\r
95 %MT25208.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6278\r
96 %MT25218.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6282\r
97 %MT24204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8C\r
98 %MT25204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6274\r
99 \r
100 [MTHCA.DDInstall.ntx86]\r
101 CopyFiles = MTHCA.CopyFiles\r
102 CopyFiles = MTHCA.UMCopyFiles\r
103 \r
104 [MTHCA.DDInstall.ntamd64]\r
105 CopyFiles = MTHCA.CopyFiles\r
106 CopyFiles = MTHCA.UMCopyFiles\r
107 CopyFiles = MTHCA.WOW64CopyFiles\r
108 \r
109 [MTHCA.DDInstall.ntia64]\r
110 CopyFiles = MTHCA.CopyFiles\r
111 CopyFiles = MTHCA.UMCopyFiles\r
112 CopyFiles = MTHCA.WOW64CopyFiles\r
113 \r
114 [MTHCA.DDInstall.ntx86.Services]\r
115 AddService = mthca,%SPSVCINST_ASSOCSERVICE%,MTHCA.ServiceInstall,MTHCA.EventLog\r
116 AddService = ibal,%SPSVCINST_NULL%,Ibal.ServiceInstall\r
117 \r
118 [MTHCA.DDInstall.ntamd64.Services]\r
119 AddService = mthca,%SPSVCINST_ASSOCSERVICE%,MTHCA.ServiceInstall,MTHCA.EventLog\r
120 AddService = ibal,%SPSVCINST_NULL%,Ibal.ServiceInstall\r
121 \r
122 [MTHCA.DDInstall.ntia64.Services]\r
123 AddService = mthca,%SPSVCINST_ASSOCSERVICE%,MTHCA.ServiceInstall,MTHCA.EventLog\r
124 AddService = ibal,%SPSVCINST_NULL%,Ibal.ServiceInstall\r
125 \r
126 [MTHCA.CopyFiles]\r
127 ibal.sys\r
128 mthca.sys\r
129 \r
130 [MTHCA.UMCopyFiles]\r
131 ; 2 lines excluded temporary\r
132 mthcau.dll,,,2\r
133 mthcaud.dll,,,2\r
134 \r
135 [MTHCA.WOW64CopyFiles]\r
136 mthcau.dll,uvpd32.dll,,2\r
137 mthcaud.dll,uvpd32d.dll,,2\r
138 \r
139 ;\r
140 ; ============= Service Install section ==============\r
141 ;\r
142 \r
143 [MTHCA.ServiceInstall]\r
144 DisplayName     = %MTHCA.ServiceDesc%\r
145 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
146 StartType       = %SERVICE_DEMAND_START%\r
147 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
148 ServiceBinary   = %12%\mthca.sys\r
149 LoadOrderGroup  = extended base\r
150 AddReg          = MTHCA.ParamsReg\r
151 \r
152 [Ibal.ServiceInstall]\r
153 DisplayName     = %Ibal.ServiceDesc%\r
154 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
155 StartType       = %SERVICE_DEMAND_START%\r
156 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
157 ServiceBinary   = %12%\ibal.sys\r
158 AddReg          = Ibal.ParamsReg\r
159 \r
160 \r
161 [MTHCA.EventLog]\r
162 AddReg = MTHCA.AddEventLogReg\r
163 \r
164 [MTHCA.AddEventLogReg]\r
165 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mthca.sys"\r
166 HKR, , TypesSupported,   0x00010001, 7\r
167 \r
168 [MTHCA.ParamsReg]\r
169 HKR,"Parameters","DebugLevel",%REG_DWORD%,0x00000003\r
170 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x0000ffff\r
171 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\8bf1f640-63fe-4743-b9ef-fa38c695bfde","Flags",%REG_DWORD%,0xffff\r
172 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\8bf1f640-63fe-4743-b9ef-fa38c695bfde","Level",%REG_DWORD%,0x3\r
173 \r
174 [Ibal.ParamsReg]\r
175 HKR,"Parameters","DebugFlags",%REG_DWORD_NO_CLOBBER%,0x80000000\r
176 HKR,"Parameters","SmiPollInterval",%REG_DWORD_NO_CLOBBER%,20000\r
177 HKR,"Parameters","IocQueryTimeout",%REG_DWORD_NO_CLOBBER%,250\r
178 HKR,"Parameters","IocQueryRetries",%REG_DWORD_NO_CLOBBER%,4\r
179 HKR,"Parameters","IocPollInterval",%REG_DWORD_NO_CLOBBER%,30000\r
180 \r
181 [Strings]\r
182 HcaClassGuid = "{58517E00-D3CF-40c9-A679-CEE5752F4491}"\r
183 MTL="Mellanox Technologies Ltd."\r
184 Ibal.ServiceDesc = "Mellanox InfiniBand Access Layer"\r
185 MTHCA.ServiceDesc = "Driver for Mellanox InfiniHost Devices"\r
186 MT23108.DeviceDesc="InfiniHost (MT23108) - Mellanox InfiniBand HCA"\r
187 MT25208.DeviceDesc="InfiniHost (MT25208) - Mellanox InfiniBand HCA for PCI Express"\r
188 MT25218.DeviceDesc="InfiniHost III Ex (MT25218) - Mellanox InfiniBand HCA for PCI Express"\r
189 MT24204.DeviceDesc="InfiniHost III Lx (MT24204) - Mellanox InfiniBand HCA for PCI Express"\r
190 MT25204.DeviceDesc="InfiniHost III Lx (MT25204) - Mellanox InfiniBand HCA for PCI Express"\r
191 DiskId = "Mellanox InfiniBand HCA installation disk"\r
192 SPSVCINST_NULL = 0x0\r
193 SPSVCINST_ASSOCSERVICE = 0x00000002\r
194 SERVICE_KERNEL_DRIVER  = 1\r
195 SERVICE_DEMAND_START   = 3\r
196 SERVICE_ERROR_NORMAL   = 1\r
197 REG_DWORD              = 0x00010001\r
198 REG_DWORD_NO_CLOBBER   = 0x00010003\r
199 REG_MULTI_SZ_APPEND    = 0x00010008\r
200 DIRID_SYSTEM           = 11\r
201 DIRID_DRIVERS          = 12\r