[VNIC] Initial checkin of VNIC code. Not yet fully functional.
[mirror/winof/.git] / ulp / inic / kernel / netvnic.inf
1 ; SilverStorm Technologies Ethernet over Infiniband NIC.\r
2 ; Copyright 2006 SilverStorm 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 Provider=%Inf_Provider%\r
9 DriverVer=01/12/2006,3.0.0039.0\r
10 \r
11 [ControlFlags]\r
12 ExcludeFromSelect = IBA\V00066aP00000030\r
13 \r
14 ; ================= Device Install section =====================\r
15 \r
16 [DestinationDirs]\r
17 DefaultDestDir=12\r
18 \r
19 [SourceDisksNames.x86]\r
20 1=%DiskId%,,,\x86\r
21 \r
22 [SourceDisksNames.amd64]\r
23 1=%DiskId%,,,\amd64\r
24 \r
25 [SourceDisksNames.ia64]\r
26 1=%DiskId%,,,\ia64\r
27 \r
28 [SourceDisksFiles]\r
29 vnic.sys=1\r
30 \r
31 [Manufacturer]\r
32 %Inf_Provider% = VNIC.DeviceSection,ntx86,ntamd64,ntia64\r
33 \r
34 [VNIC.DeviceSection]\r
35 ; empty since we don't support W9x/Me\r
36 \r
37 [VNIC.DeviceSection.ntx86]\r
38 %VNIC.DeviceDesc% = VNIC.DDInstall,IBA\V00066aP00000030S00066as00000030v0001, \\r
39                                                                 IBA\V00066aP00000030S00066as00000030, \\r
40                                                                 IBA\V00066aP00000030v0001, \\r
41                                                                 IBA\V00066aP00000030\r
42 \r
43 [VNIC.DeviceSection.ntamd64]\r
44 %VNIC.DeviceDesc% = VNIC.DDInstall,IBA\V00066aP00000030S00066as00000030v0001, \\r
45                                                                 IBA\V00066aP00000030S00066as00000030, \\r
46                                                                 IBA\V00066aP00000030v0001, \\r
47                                                                 IBA\V00066aP00000030\r
48 \r
49 [VNIC.DeviceSection.ntia64]\r
50 %VNIC.DeviceDesc% = VNIC.DDInstall,IBA\V00066aP00000030S00066as00000030v0001, \\r
51                                                                 IBA\V00066aP00000030S00066as00000030, \\r
52                                                                 IBA\V00066aP00000030v0001, \\r
53                                                                 IBA\V00066aP00000030\r
54 \r
55 [VNIC.DDInstall.ntx86]\r
56 Characteristics = %CHARACTERISTICS%\r
57 AddReg = VNIC.AddReg\r
58 CopyFiles = VNIC.CopyFiles\r
59 \r
60 [VNIC.DDInstall.ntamd64]\r
61 Characteristics = %CHARACTERISTICS%\r
62 AddReg = VNIC.AddReg\r
63 CopyFiles = VNIC.CopyFiles\r
64 \r
65 [VNIC.DDInstall.ntia64]\r
66 Characteristics = %CHARACTERISTICS%\r
67 AddReg = VNIC.AddReg\r
68 CopyFiles = VNIC.CopyFiles\r
69 \r
70 [VNIC.DDInstall.ntx86.Services]\r
71 AddService = vnic,%SPSVCINST_ASSOCSERVICE%,VNIC.ServiceInstall,VNIC.EventLogInstall\r
72 \r
73 [VNIC.DDInstall.ntamd64.Services]\r
74 AddService = vnic,%SPSVCINST_ASSOCSERVICE%,VNIC.ServiceInstall,VNIC.EventLogInstall\r
75 \r
76 [VNIC.DDInstall.ntia64.Services]\r
77 AddService = vnic,%SPSVCINST_ASSOCSERVICE%,VNIC.ServiceInstall,VNIC.EventLogInstall\r
78 \r
79 [VNIC.CopyFiles]\r
80 vnic.sys\r
81 \r
82 [VNIC.AddReg]\r
83 HKR, Ndi,                       Service,    0, "ipoib"\r
84 HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"\r
85 HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"\r
86 \r
87 \r
88 ; ============= Service Install section ==============\r
89 \r
90 [VNIC.ServiceInstall]\r
91 DisplayName     = %VNIC.ServiceDesc%\r
92 ServiceType     = %SERVICE_KERNEL_DRIVER%\r
93 StartType       = %SERVICE_DEMAND_START%\r
94 ErrorControl    = %SERVICE_ERROR_NORMAL%\r
95 ServiceBinary   = %12%\vnic.sys\r
96 LoadOrderGroup  = NDIS\r
97 AddReg          = VNIC.ParamsReg\r
98 \r
99 [VNIC.ParamsReg]\r
100 HKR,"Params\PnpInterface",%InternalBus%,%REG_DWORD%,1\r
101 HKR,"Params\PnpInterface",%PNPBus%,%REG_DWORD%,1\r
102 \r
103 HKR, Params,    MinMtu,,                                        "1500"\r
104 HKR, Params,    MaxMtu,,                                        "9500"\r
105 HKR, Params,    MinHostPoolSz,,                         "64"\r
106 HKR, Params,    HostRecvPoolEntries,,           "256"\r
107 HKR, Params,    MinEiocPoolSz,,                         "64"\r
108 HKR, Params,    MaxEiocPoolSz,,                         "256"\r
109 HKR, Params,    MinHostKickTimeout,,            "50"\r
110 HKR, Params,    MaxHostKickTimeout,,            "200"\r
111 HKR, Params,    MinHostKickEntries,,            "1"\r
112 HKR, Params,    MaxHostKickEntries,,            "64"\r
113 HKR, Params,    MinHostKickBytes,,                      "0"\r
114 HKR, Params,    MaxHostKickBytes,,                      "5000"\r
115 HKR, Params,    MinHostUpdateSz,,                       "8"\r
116 HKR, Params,    MaxHostUpdateSz,,                       "32"\r
117 HKR, Params,    MinEiocUpdateSz,,                       "8"\r
118 HKR, Params,    MaxEiocUpdateSz,,                       "32"\r
119 HKR, Params,    UseRxCsum,                              %REG_DWORD%,1\r
120 HKR, Params,    UseTxCsum,                              %REG_DWORD%,1\r
121 \r
122 [VNIC.EventLogInstall]\r
123 AddReg = VNIC.EventLogAddReg\r
124 \r
125 [VNIC.EventLogAddReg]\r
126 HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\netevent.dll"\r
127 HKR,,TypesSupported,%REG_DWORD%,7\r
128 \r
129 [Strings]\r
130 NetClassGuid = "{4d36e972-e325-11ce-bfc1-08002be10318}"\r
131 Inf_Provider = "SilverStorm Technologies"\r
132 VNIC.DeviceDesc = "Ethernet over InfiniBand Virtual NIC"\r
133 VNIC.ServiceDesc = "Virtual NIC"\r
134 DiskId = "SilverStorm Ethernet over InfiniBand Virtual NIC installation disk"\r
135 InternalBus                             = 0\r
136 PNPBus                                  = 15\r
137 SPSVCINST_NULL                  = 0x0\r
138 SPSVCINST_ASSOCSERVICE  = 0x00000002\r
139 SERVICE_KERNEL_DRIVER   = 1\r
140 SERVICE_DEMAND_START    = 3\r
141 SERVICE_ERROR_NORMAL    = 1\r
142 REG_DWORD                               = 0x00010001\r
143 REG_DWORD_NO_CLOBBER    = 0x00010003\r
144 REG_EXPAND_SZ                   = 0x00020000\r
145 CHARACTERISTICS                 = 0x81 ; NCF_VIRTUAL | NCF_HAS_UI\r
146 \r