; Copyright (c) 2007-2010 Ceton Corporation
[version]
Signature   = "$Chicago$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider   	= %Ceton%
Compatible  = 1
CatalogFile = ceton_mocur.cat
DriverVer=10/05/2011,1.0.2.4

[Manufacturer]
%Ceton%     = Ceton,NTx86,NTamd64

[ControlFlags]
;CETON PCI ID
ExcludeFromSelect = PCI\VEN_1B7C&DEV_0004

[Ceton.NTx86]
;CETON PCI ID
%ceton_mocur.DeviceDesc%  = ceton_mocur.ndi,    PCI\VEN_1B7C&DEV_0004

[Ceton.NTamd64]
;CETON PCI ID
%ceton_mocur.DeviceDesc%  = ceton_mocur.ndi,    PCI\VEN_1B7C&DEV_0004

[ceton_mocur.ndi.NT]
Characteristics = 0x84 ; NCF_PHYSICAL, NCF_HAS_UI
BusType         = 5
AddReg          = ceton_mocur.reg, SupportBridging.reg, ReportedSpeed.reg
DelReg          = cleanup_params.reg
CopyFiles       = ceton_mocur.CopyFiles
*IfType         = 6		; IF_TYPE_ETHERNET_CSMACD 
*MediaType      = 0		; NdisMedium802_3
*PhysicalMediaType = 14	; NdisPhysicalMedium802_3

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

[SupportBridging.reg]
HKR, Ndi\params\*SupportBridging,       ParamDesc,  0, %SupportBridging%
HKR, Ndi\params\*SupportBridging,       default,    0, "0"
HKR, Ndi\params\*SupportBridging,       type,       0, "enum"
HKR, Ndi\params\*SupportBridging\enum,  "0",        0, "No"
HKR, Ndi\params\*SupportBridging\enum,  "1",        0, "Yes"

[ReportedSpeed.reg]
HKR, Ndi\params\*ReportedSpeed,       ParamDesc,  0, %ReportedSpeed%
HKR, Ndi\params\*ReportedSpeed,       default,    0, "100"
HKR, Ndi\params\*ReportedSpeed,       type,       0, "dword"



;-----------------------------------------------------------------------------
; ceton_mocur NT specific
;

[ceton_mocur.ndi.NT.CoInstallers]
AddReg = ceton_mocur_coinstaller.AddReg
CopyFiles = ceton_mocur_coinstaller.CopyFilesWdf

[ceton_mocur.reg]
HKR, Ndi,                       Service,    0, "ceton_mocur"
; use ndis5 as the upper bound because NT supports it
HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"
;CETON PCI ID
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\ehPrivJob\UPnPNetworks,PCI\VEN_1B7C&DEV_0004,0x10001,0x00000001
HKR, , *NdisDeviceType, 0x00010001, 1

[cleanup_params.reg]
HKR, , *StartingSubnet
HKR, Ndi\params

[ceton_mocur_coinstaller.AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoinstaller01009,WdfCoInstaller", "msdri.dll, CoInstallerEntry"

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

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

[common.AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

;-----------------------------------------------------------------------------
; KMDF Coinstaller section
;

[ceton_mocur.ndi.NT.Wdf]
KmdfService = ceton_mocur, ceton_mocur.WdfSect

[ceton_mocur.WdfSect]
KmdfLibraryVersion = 1.9

[ceton_mocur_coinstaller.CopyFilesWdf]
WdfCoinstaller01009.dll


;-----------------------------------------------------------------------------
; DestinationDirs
;

[ceton_mocur.CopyFiles]
ceton_mocur.sys

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

[SourceDisksFiles.x86]
ceton_mocur.sys = 1,i386,
WdfCoinstaller01009.dll=1,i386,

[SourceDisksFiles.amd64]
ceton_mocur.sys = 1,amd64,
WdfCoinstaller01009.dll=1,amd64,

[DestinationDirs]
ceton_mocur.CopyFiles = 12
ceton_mocur_coinstaller.CopyFilesWdf = 11
DefaultDestDir     = 11

[Strings]
Msft                     = "Microsoft"
Ceton                    = "Ceton"
ceton_mocur.DeviceDesc = "Ceton InfiniTV Network Device"
ceton_mocur.Service.DispName = "Ceton InfiniTV Network Device"
DiskDescription 	 = "Ceton InfiniTV Driver Disk 1"
SupportBridging          = "Support Bridging"
ReportedSpeed = "Reported Speed"


