a2f9d89d2ea82886f70e2b8a9575873a354bf569
[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=04/10/2006,1.0.0000.306\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 mthca.sys=1\r
50 mthcau.dll=1\r
51 mthcaud.dll=1\r
52 \r
53 [SourceDisksFiles.amd64]\r
54 IbInstaller.dll=1\r
55 mthca.sys=1\r
56 mthcau.dll=1\r
57 mthcaud.dll=1\r
58 ;uvpd32.dll=1\r
59 ;uvpd32d.dll=1\r
60 \r
61 [SourceDisksFiles.ia64]\r
62 IbInstaller.dll=1\r
63 mthca.sys=1\r
64 mthcau.dll=1\r
65 mthcaud.dll=1\r
66 ;uvpd32.dll=1\r
67 ;uvpd32d.dll=1\r
68 \r
69 [Manufacturer]\r
70 %MTL% = HCA.DeviceSection,ntx86,ntamd64,ntia64\r
71 \r
72 [HCA.DeviceSection]\r
73 ; empty since we don't support W9x/Me\r
74 \r
75 [HCA.DeviceSection.ntx86]\r
76 %MT23108.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A44\r
77 %MT25208.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6278\r
78 %MT25218.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6282\r
79 %MT24204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8C\r
80 %MT25204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6274\r
81 \r
82 \r
83 [HCA.DeviceSection.ntamd64]\r
84 %MT23108.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A44\r
85 %MT25208.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6278\r
86 %MT25218.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6282\r
87 %MT24204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8C\r
88 %MT25204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6274\r
89 \r
90 [HCA.DeviceSection.ntia64]\r
91 %MT23108.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5A44\r
92 %MT25208.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6278\r
93 %MT25218.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6282\r
94 %MT24204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_5E8C\r
95 %MT25204.DeviceDesc% = MTHCA.DDInstall, PCI\VEN_15B3&DEV_6274\r
96 \r
97 [MTHCA.DDInstall.ntx86]\r
98 CopyFiles = MTHCA.CopyFiles\r
99 CopyFiles = MTHCA.UMCopyFiles\r
100 \r
101 [MTHCA.DDInstall.ntamd64]\r
102 CopyFiles = MTHCA.CopyFiles\r
103 CopyFiles = MTHCA.UMCopyFiles\r
104 CopyFiles = MTHCA.WOW64CopyFiles\r
105 \r
106 [MTHCA.DDInstall.ntia64]\r
107 CopyFiles = MTHCA.CopyFiles\r
108 CopyFiles = MTHCA.UMCopyFiles\r
109 CopyFiles = MTHCA.WOW64CopyFiles\r
110 \r
111 [MTHCA.DDInstall.ntx86.Services]\r
112 AddService = mthca,%SPSVCINST_ASSOCSERVICE%,MTHCA.ServiceInstall,MTHCA.EventLog\r
113 \r
114 [MTHCA.DDInstall.ntamd64.Services]\r
115 AddService = mthca,%SPSVCINST_ASSOCSERVICE%,MTHCA.ServiceInstall,MTHCA.EventLog\r
116 \r
117 [MTHCA.DDInstall.ntia64.Services]\r
118 AddService = mthca,%SPSVCINST_ASSOCSERVICE%,MTHCA.ServiceInstall,MTHCA.EventLog\r
119 \r
120 [MTHCA.CopyFiles]\r
121 mthca.sys\r
122 \r
123 [MTHCA.UMCopyFiles]\r
124 ; 2 lines excluded temporary\r
125 mthcau.dll,,,2\r
126 mthcaud.dll,,,2\r
127 \r
128 [MTHCA.WOW64CopyFiles]\r
129 mthcau.dll,uvpd32.dll,,2\r
130 mthcaud.dll,uvpd32d.dll,,2\r
131 \r
132 ;\r
133 ; ============= Service Install section ==============\r
134 ;\r
135 \r
136 [MTHCA.ServiceInstall]\r
137 DisplayName     = %MTHCA.ServiceDesc%\r
138 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
139 StartType       = %SERVICE_DEMAND_START%\r
140 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
141 ServiceBinary   = %12%\mthca.sys\r
142 LoadOrderGroup  = extended base\r
143 AddReg          = MTHCA.ParamsReg\r
144 \r
145 \r
146 [MTHCA.EventLog]\r
147 AddReg = MTHCA.AddEventLogReg\r
148 \r
149 [MTHCA.AddEventLogReg]\r
150 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mthca.sys"\r
151 HKR, , TypesSupported,   0x00010001, 7\r
152 \r
153 [MTHCA.ParamsReg]\r
154 HKR,"Parameters","DebugLevel",%REG_DWORD%,0x00000003\r
155 HKR,"Parameters","DebugFlags",%REG_DWORD%,0x0000ffff\r
156 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\8bf1f640-63fe-4743-b9ef-fa38c695bfde","Flags",%REG_DWORD%,0xffff\r
157 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\8bf1f640-63fe-4743-b9ef-fa38c695bfde","Level",%REG_DWORD%,0x3\r
158 \r
159 [Strings]\r
160 HcaClassGuid = "{58517E00-D3CF-40c9-A679-CEE5752F4491}"\r
161 MTL="Mellanox Technologies Ltd."\r
162 MTHCA.ServiceDesc = "Driver for Mellanox InfiniHost Devices"\r
163 MT23108.DeviceDesc="InfiniHost (MT23108) - Mellanox InfiniBand HCA"\r
164 MT25208.DeviceDesc="InfiniHost (MT25208) - Mellanox InfiniBand HCA for PCI Express"\r
165 MT25218.DeviceDesc="InfiniHost III Ex (MT25218) - Mellanox InfiniBand HCA for PCI Express"\r
166 MT24204.DeviceDesc="InfiniHost III Lx (MT24204) - Mellanox InfiniBand HCA for PCI Express"\r
167 MT25204.DeviceDesc="InfiniHost III Lx (MT25204) - Mellanox InfiniBand HCA for PCI Express"\r
168 DiskId = "Mellanox InfiniBand HCA installation disk"\r
169 SPSVCINST_NULL = 0x0\r
170 SPSVCINST_ASSOCSERVICE = 0x00000002\r
171 SERVICE_KERNEL_DRIVER  = 1\r
172 SERVICE_DEMAND_START   = 3\r
173 SERVICE_ERROR_NORMAL   = 1\r
174 REG_DWORD              = 0x00010001\r
175 REG_MULTI_SZ_APPEND    = 0x00010008\r
176 DIRID_SYSTEM           = 11\r
177 DIRID_DRIVERS          = 12\r