;-------------------------------------------------------------------------
; vmware-nic.inf
;
; Copyright (c) 1993-1999, Microsoft Corporation
; Copyright 1999-2004 VMware, Inc.  All rights reserved.
;-------------------------------------------------------------------------
[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %VMware%
DriverVer   = 10/25/2004, 2.0.0.5
CatalogFile = vmware-nic.cat

[SourceDisksNames.x86]
1 = %DiskDescription%,"",,

[SourceDisksFiles.x86]
vmxnet.sys = 1

[Manufacturer]
%VMware%     = VMware

[ControlFlags]
; Exclude all devices from Select Device list
ExcludeFromSelect = *          

[VMware]
%VMware.DeviceDesc% = vmxnet.ndi, PCI\VEN_1022&DEV_2000&SUBSYS_20001022

[vmxnet.ndi.NT]
Characteristics = 0x84
BusType         = 5
AddReg          = vmxnet.reg
CopyFiles       = vmxnet.CopyFiles

[vmxnet.ndi.NT.Services]
AddService = vmxnet, 2, vmxnet.Service, common.EventLog

[vmxnet.reg]
HKR, Ndi,                       Service,    0, "VMXNET"
HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"

; TsoEnable
HKR, Ndi\params\TsoEnable,	ParamDesc,  0, "TsoEnable"
HKR, Ndi\params\TsoEnable,	default,    0, "1"
HKR, Ndi\params\TsoEnable,	type,	    0, "int"
HKR, Ndi\params\TsoEnable,	min,	    0, "0"
HKR, Ndi\params\TsoEnable,	max,	    0, "1"
HKR, Ndi\params\TsoEnable,	step,	    0, "1"
HKR, Ndi\params\TsoEnable,	Base,	    0, "10"

; MinTsoSegCount
HKR, Ndi\params\MinTsoSegCount,	ParamDesc,  0, "MinTsoSegCount"
HKR, Ndi\params\MinTsoSegCount,	default,    0, "2"
HKR, Ndi\params\MinTsoSegCount,	type,	    0, "int"
HKR, Ndi\params\MinTsoSegCount,	min,	    0, "1"
HKR, Ndi\params\MinTsoSegCount,	max,	    0, "4"
HKR, Ndi\params\MinTsoSegCount,	step,	    0, "1"
HKR, Ndi\params\MinTsoSegCount,	Base,	    0, "10"

; MaxTsoSegSize
HKR, Ndi\params\MaxTsoSegSize,	ParamDesc,  0, "MaxTsoSegSize"
HKR, Ndi\params\MaxTsoSegSize,	default,    0, "3952"
HKR, Ndi\params\MaxTsoSegSize,	type,	    0, "int"
HKR, Ndi\params\MaxTsoSegSize,	min,	    0, "1518"
HKR, Ndi\params\MaxTsoSegSize,	max,	    0, "8048"
HKR, Ndi\params\MaxTsoSegSize,	step,	    0, "1"
HKR, Ndi\params\MaxTsoSegSize,	Base,	    0, "10"

; Network address
HKR, Ndi\params\NetworkAddress,	ParamDesc,  0, "NetworkAddress"
HKR, Ndi\params\NetworkAddress,	default,    0, ""
HKR, Ndi\params\NetworkAddress,	type,	    0, "edit"
HKR, Ndi\params\NetworkAddress,	limitText,  0, "12"
HKR, Ndi\params\NetworkAddress,	optional,   0, "1"
HKR, Ndi\params\NetworkAddress,	UpperCase,  0, "1"

[vmxnet.Service]
DisplayName     = %vmxnet.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\vmxnet.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.reg

[common.EventLog]
AddReg = common.AddEventLog.reg

[common.AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\drivers\vmxnet.sys"
HKR, , TypesSupported,   0x00010001, 7

[TextModeFlags.reg]
HKR, , TextModeFlags, 0x00010001, 0x0001

[vmxnet.CopyFiles]
vmxnet.sys,,,2

[DestinationDirs]
vmxnet.CopyFiles = 12

[Strings]
VMware                  = "VMware, Inc."
vmware.DeviceDesc       = "VMware Accelerated AMD PCNet Adapter"
vmxnet.Service.DispName = "VMware Ethernet Adapter Driver"
DiskDescription         = "VMware Ethernet Adapter Disk"
