;*****************************************************************************
;
;    SkyNETB.INF - WinXP, Win2000, Win98 and WinME combined inf for NDIS4 
;                 MINIPORT NIC driver for B2C2 Broadband Receivers
;                            THELOGH
;    Copyright 1999-2005, B2C2, Inc.
;
;*****************************************************************************

[version]
DriverVer   = 09/29/2005,4.3.2.9999
;CatalogFile = SkyNetB.cat
Signature   = "$Chicago$"
Compatible  = 1
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %CompanyProvider%

[Manufacturer]
%CompanyManufacturer%     = Technisat_Models,NTAMD64

[ControlFlags]
ExcludeFromSelect    ; = PCI\VEN_13D0&DEV_2103,PCI\VEN_13D0&DEV_2200

[Technisat_Models]
%FCIIBReceiver.DeviceDesc%      = FCIIB.ndi,  PCI\VEN_13D0&DEV_2103
%FCIIIBReceiver.DeviceDesc%     = FCIIIB.ndi, ;PCI\VEN_13D0&DEV_2200

[Technisat_Models.NTAMD64]
%FCIIBReceiver.DeviceDesc%      = FCIIB.ndi.AMD64,  PCI\VEN_13D0&DEV_2103


;;****************************************************************************
;; Windows 9x
;;****************************************************************************

; Win98/ME FlexCop II Install Section

[FCIIB.ndi]
AddReg          = FCIIB.id.reg, SKYNETB.common.reg, SKYNETB.Win9x.reg, SKYNETB.PCI.Win9x.reg
LogConfig       = DefaultConfig

; Win98/ME FlexCop III PCI Install Section

[FCIIIB.ndi]
AddReg          = FCIIIB.id.reg, SKYNETB.common.reg, SKYNETB.PCI.reg, SKYNETB.Win9x.reg, SKYNETB.PCI.Win9x.reg
LogConfig       = DefaultConfig


;;****************************************************************************
;; NT 5.0
;;****************************************************************************

; Win2000 FlexCop II PCI Install Section

[FCIIB.ndi.NT]
Characteristics = 0x84 ; NCF_HAS_UI | NCF_PHYSICAL
BusType         = 5
AddReg          = SKYNETB.common.reg, SKYNETB.PCI.reg, SKYNETB.Win2K.reg
CopyFiles       = SKYNETB.CopyFiles

[FCIIB.ndi.NT.Services]
AddService = SKYNETB, 2, SKYNETB.Service, SKYNETB.EventLog

; Win2000 FlexCop III Install Section

[FCIIIB.ndi.NT]
Characteristics = 0x84 ; NCF_HAS_UI | NCF_PHYSICAL
BusType         = 5
AddReg          = SKYNETB.common.reg, SKYNETB.PCI.reg, SKYNETB.Win2K.reg
CopyFiles       = SKYNETB.CopyFiles

[FCIII.ndi.NT.Services]
AddService = SKYNETB, 2, SKYNETB.Service, SKYNETB.EventLog

; Win2000 Copy Files Section

[SKYNETB.CopyFiles]
SkyNETB.sys,,,2

;;****************************************************************************
;; Windows XP 64-bit Edition
;;****************************************************************************

; WinXP-64bit FlexCop II PCI Install Section

[FCIIB.ndi.AMD64]
Characteristics = 0x84 ; NCF_HAS_UI | NCF_PHYSICAL
BusType         = 5	
AddReg          = SKYNETB.common.reg, SKYNETB.PCI.reg, SKYNETB.Win2K.reg
CopyFiles       = SKYNET_AMD64B.CopyFiles

[FCIIB.ndi.AMD64.Services]
AddService = SKYNETB, 2, SKYNET_AMD64B.Service, SKYNETB.EventLog


[SKYNET_AMD64B.CopyFiles]
SkyNET_AMD64B.sys,,,2


;;----------------------------------------------------------------------------
;; SKYNETB Parameters
;;----------------------------------------------------------------------------
;;***************************************************************************
;; Windows 9x parameters
;;***************************************************************************

; Win98/ME Flexcop II Identification Add Registry Section

[FCIIB.id.reg]
HKR, Ndi,       DeviceID,       0,      "PCI\VEN_13D0&DEV_2103"
HKR, Ndi\Install,                       ,       0,      SKYNETB.install  ; NOT USED?
HKR, NDI\Params\NetworkAddress,         flag,   1,      30, 00, 00, 00

; Win98/ME Flexcop III Identification Add Registry Section

[FCIIIB.id.reg]
HKR, Ndi,       DeviceID,       0,      "PCI\VEN_13D0&DEV_2200"
HKR, Ndi\Install,                       ,       0,      SKYNETB.install ; NOT USED?
HKR, NDI\Params\NetworkAddress,         flag,   1,      30, 00, 00, 00

; Win98/ME Common Add Registry Section

[SKYNETB.PCI.Win9x.reg]
HKR, ,  DriverDesc,     0,      %PCIReceiver.Service.DispName%
HKR, ,  DeviceVxDs,     0,      SkyNETB.sys
;; NDIS Info
HKR, NDIS,              LogDriverName,          0,      "SKYNETB"
;; Install sections
HKR, Ndi\Install,       ndis3,                  0,      "SKYNETB.ndis5"

; Win98/ME Common Add Registry Section

[SKYNETB.Win9x.reg]
;; key,subkey,valuname,type,value
HKR, ,  DevLoader,      0,      *ndis
HKR, ,  EnumPropPages,  0,      netdi.dll,      EnumPropPages
;;params
HKR, ,  MediaType,      0,      1
HKR, ,  AdapterType,    0,      5
HKR, ,  BusType,        0,      5
;; NDIS Info
HKR, NDIS,              MajorNdisVersion,       1,      03
HKR, NDIS,              MinorNdisVersion,       1,      0a
;; Interfaces
HKR, Ndi\Interfaces,    DefLower,               ,       "ethernet"
HKR, Ndi\Interfaces,    LowerRange,             ,       "ethernet"
HKR, Ndi\Interfaces,    DefUpper,               ,       "ndis3"
HKR, Ndi\Interfaces,    UpperRange,             ,       "ndis3"

; Win98/ME NDIS3 Install Section

[SKYNETB.ndis5]
CopyFiles       = SKYNETB.ndis5.CopyFiles
DelFiles        = SKYNETB.DelFiles

; Win98/ME Copy Files Section

[SKYNETB.ndis5.CopyFiles]
SkyNETB.sys,,,2

; Win98/ME Delete Files Section

[SKYNETB.DelFiles]
SkyNETB.inf,,,1

;;****************************************************************************
;; SKYNETB parameters for all OSes
;;****************************************************************************

; Win2000/Win98/ME Common Add Registry Section

[SKYNETB.common.reg]
; Rx Frame Descriptors
HKR, Ndi\params\NumRfd,                ParamDesc,  0, %NumRfd% 
HKR, Ndi\params\NumRfd,                default,    0, "128"
HKR, Ndi\params\NumRfd,                min,        0, "1"
HKR, Ndi\params\NumRfd,                max,        0, "1024"
HKR, Ndi\params\NumRfd,                step,       0, "1"
HKR, Ndi\params\NumRfd,                Base,       0, "10"
HKR, Ndi\params\NumRfd,                type,       0, "int"
; 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,        UpperCase,  0, "1"
HKR, NDI\params\NetworkAddress,        optional,   0, "1"
;++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HKR, ,          NicIOSpaceBaseAddress,  0, 0x00000000
;
;===_UserHwParams_===
;
HKR, UserHwParams,              nBoard0x2102UseTimer,      0, "1"
HKR, UserHwParams,              nRunningNonStopDma1Dma2,   0, "0"
HKR, UserHwParams,              nRunningNonStopDma1Dma2_Default_Is_1,   0, "1"
HKR, UserHwParams,              nSizeOfBufDMA2,            0, "0"
HKR, UserHwParams,              nUserTimerPeriodMs,        0, "10"
HKR, UserHwParams,              nSizeOfTimeIrqDMA1,        0, "200"
HKR, UserHwParams,              nSizeOfTimeIrqDMA2,        0, "3"
HKR, UserHwParams,              nUseSmartCard,             0, "0"
HKR, UserHwParams,              nUseMemSpaceRegAccess,     0, "1"
HKR, UserHwParams,		nSizeOfSubBufDMA1,	   0, "64"
HKR, UserHwParams,		nUseSubBufDMA1,	   	   0, "0"
HKR, UserHwParams,		nNumReceiveIndicate,   	   0, "2"
HKR, UserHwParams,		nSamsungQpskBerMode,   	   0, "1"

;
;===_UserTunerParams_===
;
HKR, UserTunerParams,           nEnableKernelTunerControl,   0, "1"
HKR, UserTunerParams,           nTransponderFreq_KHz,        0, "0"
HKR, UserTunerParams,           nLnbFreq_KHz,                0, "0"
HKR, UserTunerParams,           nSymbolRate_KBauds,          0, "0"
HKR, UserTunerParams,           nStdIndexFec,                0, "6"
HKR, UserTunerParams,           nStdIndexPolarity,           0, "1"
HKR, UserTunerParams,           nStdIndexToneFreq,           0, "0"
HKR, UserTunerParams,           nTunerTimerPeriodMs,         0, "100"
HKR, UserTunerParams,           nTunerWaitLockTimeMs,        0, "400"

;
;===_UserSwParams_===
;
HKR, UserSwParams,              nValidateIpChecksums,        0, "0"


; Win2000/Win98/ME Add Registry Section

[SKYNETB.PCI.reg]
HKR, UserHwParams,		nResetChip,	   	   0, "0"
HKR, UserHwParams,              nSizeOfBufDMA1,            0, "481280"

;;****************************************************************************
;; NT 5.0 parameters
;;****************************************************************************

; Win2000 Add Registry Section

[SKYNETB.Win2K.reg]
HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"
HKR, Ndi,                       Service,    0, "SKYNETB"
;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;
;===_UserSwParams_===
;
HKR, UserSwParams,              nWinOsVersionMaj,          0, "2000"
HKR, UserSwParams,              nWinOsVersionMin,          0, "0"
HKR, UserSwParams,              nWinOsVersionSvcPack,      0, "0"
;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

; Win2000 DDInstall.Services Section

[SKYNETB.Service]
DisplayName     = %PCIReceiver.Service.DispName%
ServiceType     = 1	; SERVICE_KERNEL_DRIVER
StartType       = 3	; SERVICE_DEMAND_START
ErrorControl    = 1	; NORMAL
ServiceBinary   = %12%\SkyNETB.SYS
LoadOrderGroup  = NDIS

; WinXP x64 DDInstall.Services Section

[SKYNET_AMD64B.Service]
DisplayName     = %PCIReceiver.Service.DispName%
ServiceType     = 1	; SERVICE_KERNEL_DRIVER
StartType       = 3	; SERVICE_DEMAND_START
ErrorControl    = 1	; NORMAL
ServiceBinary   = %12%\SkyNET_AMD64B.SYS
LoadOrderGroup  = NDIS

; Win2000 Event-Log Services Section

[SKYNETB.EventLog]
Addreg = SKYNETB.AddEventLog.reg

; Win2000 Event Log Add Registry Section

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

;;****************************************************************************
;; Destination Directory
;;****************************************************************************
[DestinationDirs]
; 10 = Windows Directory
; 11 = System Directory
; 12 = Drivers Directory
; 17 = INF File Directory
SKYNETB.CopyFiles            = 12
SKYNET_AMD64B.CopyFiles      = 12
DefaultDestDir              = 11        ; LDID_SYS
SKYNETB.ndis5.CopyFiles      = 10,System32\Drivers; It goes in \Windows\System32\Drivers
SKYNETB.DelFiles             = 17

;;****************************************************************************
;; Source Files
;;****************************************************************************
[SourceDisksNames]
1=%InstallationDiskName%,,,

[SourceDisksFiles]
SkyNETB.sys=1
SkyNET_AMD64B.sys=1

;;****************************************************************************
;; Strings
;;****************************************************************************

[Strings]
InstallationDiskName         = "Installation Disk B"
CompanyProvider              = "B2C2 B"
CompanyManufacturer          = "B2C2 B, Inc."
FCIIBReceiver.DeviceDesc      = "TechniSat DVB-PC TV Star PCI B 4.3.2"
FCIIIBReceiver.DeviceDesc     = "TechniSat DVB-PC TV Star PCI B 4.3.2"

PCIReceiver.Service.DispName = "TechniSat DVB-PC TV Star PCI B 4.3.2"

NetworkAddress           = "Local Network Address"
NumRfd                   = "(Rfd)Receive Frame Descriptors"

