// constant.inc

#include "dxbbuildnumber.h"

[Identification]
   OptionType = NetAdapter
   InstallVersion = DXBVER_VERSION_MAJOR"."DXBVER_VERSION_MINOR"."DXBVER_BUILDNUMBER

[GlobalConstants]
Manufacturer = "Digi"

TYPECHECK_NONE = "NoValueTypeCheck"

//
// Usage:
//
//   read-syms GlobalConstants
//   read-syms GlobalRegistryConstants
//
[GlobalRegistryConstants]
KEY_DIGIROOT = $(!NTN_SoftwareBase)"\\"$(Manufacturer)
KEY_NETWORKCARDS = $(!NTN_SoftwareBase)"\\Microsoft\\Windows NT\\CurrentVersion\\NetworkCards"
KEY_SERVICEGROUPORDER = "SYSTEM\\CurrentControlSet\\Control\\ServiceGroupOrder"

[GlobalPathConstants]
SYSTEM32_DIR = "%SystemRoot%\\System32"
DRIVER_DIR = $(SYSTEM32_DIR)"\\drivers"
IoLogMsgDLLPath = $(SYSTEM32_DIR)"\\IoLogMsg.dll"

[DetectionConstants]
DETECTDLL_PATH = $(!STF_WINDOWSSYSPATH)"\\DigiDtct.dll"

[UpdateConstants]
UPDATEDLL_PATH = $(!STF_WINDOWSSYSPATH)"\\DigiInf.dll"

//
// Usage:
//
//   read-syms GlobalRegistryConstants
//   read-syms DriverPackageConstants
//
[DriverPackageConstants]
PackageSoftwareName              = "WAN Links"
PackageKeyName                   = $(KEY_DIGIROOT)"\\"$(PackageSoftwareName)"\\CurrentVersion"
PackageInstalledOptionsKeyName   = $(PackageKeyName)"\\InstalledOptions"
PackageOptionInstalledKeyName    = $(PackageInstalledOptionsKeyName)"\\"$(Option)
PackageOptionDiagKeyName         = $(PackageOptionInstalledKeyName)
PackageConfigMapKey              = $(PackageKeyName)"\\Config"

[DriverConstants]
SoftwareType            = "driver"

ProductMajorVersion     = DXBVER_VERSION_MAJOR
ProductMinorVersion     = DXBVER_VERSION_MINOR
ProductBuildNumber      = DXBVER_BUILDNUMBER
ProductVersion          = DXBVER_VERSION_MAJOR"."DXBVER_VERSION_MINOR"."DXBVER_BUILDNUMBER

NetRuleSoftwareUse      = $(SoftwareType)
NetRuleMiniportUse      = $(SoftwareType)
NetRuleHardwareBindForm = " yes yes container"

DStreamsDependOnGroup   = "DIGIDS"
DStreamsBeforeGroup     = "NDIS"
OptionsThatNeedStreams  = {"Sync570"}
StreamsDevice           = "DigiSOH"
OptionsWithX25Svcs		= {"Sync570","Clydesdale"}

MiniPortDependOnGroup   = EMPTY_STR

ServicesToDeinstallList = {+
      "PCI", +
      "PAMA", +
      "FR", +
      "X25L", +
      "X25", +
      "SNA", +
      "PPP", +
      "ISDN", +
      "ASYN", +
      }

//
// Usage:
//
//   read-syms GlobalConstants
//   read-syms GlobalRegistryConstants
//   read-syms GlobalPathConstants
//   read-syms DriverConstants
//   read-syms DriverConstants-$(Option)
//
[DriverConstants-Houston]
ProductSoftwareName        = "DigiDxb"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiDxb.sys"
Review                     = TRUE
Hidden                     = FALSE

NetRuleSoftwareType        = "DigiDxbSys DigiDxbDriver"
NetRuleSoftwareBindForm    = """DigiDxbDriver"" yes no container"
NetRuleSoftwareClass       = {"DigiDxbDriver basic"}
NetRuleSoftwareBindable    = {"DigiDxbDriver DigiDxbAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "DIGIDS"
DependOnGroup              = EMPTY_LIST
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiDxb"
NetRuleHardwareType        = "DigiDxb DigiDxbAdapter"
NetRuleHardwareClass       = {"DigiDxbAdapter basic"}

MiniPortDriverName         = EMPTY_STR

[DriverConstants-London]
ProductSoftwareName        = "DigiDxb"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiDxb.sys"
Review                     = TRUE
Hidden                     = FALSE

NetRuleSoftwareType        = "DigiDxbSys DigiDxbDriver"
NetRuleSoftwareBindForm    = """DigiDxbDriver"" yes no container"
NetRuleSoftwareClass       = {"DigiDxbDriver basic"}
NetRuleSoftwareBindable    = {"DigiDxbDriver DigiDxbAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "DIGIDS"
DependOnGroup              = EMPTY_LIST
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiDxb"
NetRuleHardwareType        = "DigiDxb DigiDxbAdapter"
NetRuleHardwareClass       = {"DigiDxbAdapter basic"}

MiniPortDriverName         = EMPTY_STR

[DriverConstants-Chaska]
ProductSoftwareName        = "DigiDxb"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiDxb.sys"
Review                     = TRUE
Hidden                     = FALSE

NetRuleSoftwareType        = "DigiDxbSys DigiDxbDriver"
NetRuleSoftwareBindForm    = """DigiDxbDriver"" yes no container"
NetRuleSoftwareClass       = {"DigiDxbDriver basic"}
NetRuleSoftwareBindable    = {"DigiDxbDriver DigiDxbAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "DIGIDS"
DependOnGroup              = EMPTY_LIST
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiDxb"
NetRuleHardwareType        = "DigiDxb DigiDxbAdapter"
NetRuleHardwareClass       = {"DigiDxbAdapter basic"}

MiniPortDriverName         = EMPTY_STR

[DriverConstants-Clydesdale]
ProductSoftwareName        = "DigiDxb"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiDxb.sys"
Review                     = TRUE
Hidden                     = FALSE

NetRuleSoftwareType        = "DigiDxbSys DigiDxbDriver"
NetRuleSoftwareBindForm    = """DigiDxbDriver"" yes no container"
NetRuleSoftwareClass       = {"DigiDxbDriver basic"}
NetRuleSoftwareBindable    = {"DigiDxbDriver DigiDxbAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "DIGIDS"
DependOnGroup              = EMPTY_LIST
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiDxb"
NetRuleHardwareType        = "DigiDxb DigiDxbAdapter"
NetRuleHardwareClass       = {"DigiDxbAdapter basic"}

MiniPortDriverName         = EMPTY_STR

#if defined(SUPPORT_SYNC570)
[DriverConstants-Streams]
ProductSoftwareName        = "DigiSOH"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiSOH.sys"
Review                     = TRUE
Hidden                     = FALSE


NetRuleSoftwareType        = EMPTY_STR
NetRuleSoftwareBindForm    = EMPTY_STR
NetRuleSoftwareClass       = EMPTY_LIST
NetRuleSoftwareBindable    = EMPTY_LIST

ServiceType                = "kernelautostart"
Group                      = "DIGIDS"
DependOnGroup              = EMPTY_LIST
DependsOn                  = {"+DIGIMP"}

ProductHardwareName        = "DigiSOH"
NetRuleHardwareType        = EMPTY_STR
NetRuleHardwareClass       = EMPTY_LIST

MiniportAdapterKey         = "MiniportAdapters"
MiniPortDependOnGroup      = "DIGIMP"

PerfLoadIni                = "sohctrs.ini"
PerfUnload                 = $(ProductSoftwareName)
PerfLibrary                = "sohperf.dll"
PerfEventLog               = "SohPerf"
PerfOpen                   = "OpenSohPerformanceData"
PerfCollect                = "CollectSohPerformanceData"
PerfClose                  = "CloseSohPerformanceData"

[DriverConstants-Sync570]
ProductSoftwareName        = "Dg570mp"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\Dg570mp.sys"
Review                     = TRUE
Hidden                     = TRUE

NetRuleSoftwareType        = "Dg570mpSys Dg570mpDriver"
NetRuleSoftwareBindForm    = """Dg570mpDriver"" yes no container"
NetRuleSoftwareClass       = {"Dg570mpDriver basic"}
NetRuleSoftwareBindable    = {"Dg570mpDriver Dg570mpAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "DIGIMP"
DependOnGroup              = EMPTY_LIST
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "Dg570mp"
NetRuleHardwareType        = "Dg570mp Dg570mpAdapter"
NetRuleHardwareClass       = {"Dg570mpAdapter basic"}

#endif
#if defined(SUPPORT_ACCELEPORT_2000)
[DriverConstants-AccelePort2000]
ProductSoftwareName        = "DigiDxb"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiDxb.sys"
Review                     = FALSE
Hidden                     = FALSE

NetRuleSoftwareType        = "DigiDxbSys DigiDxbDriver"
NetRuleSoftwareBindForm    = """DigiDxbDriver"" yes no container"
NetRuleSoftwareClass       = {"DigiDxbDriver basic"}
NetRuleSoftwareBindable    = {"DigiDxbDriver DigiDxbAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "DIGIDS"
DependOnGroup              = EMPTY_LIST
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiDxb"
NetRuleHardwareType        = "DigiDxb DigiDxbAdapter"
NetRuleHardwareClass       = {"DigiDxbAdapter basic"}

MiniPortDriverName         = EMPTY_STR

#endif


//
// Usage:
//
//   read-syms GlobalConstants
//   read-syms GlobalRegistryConstants
//   read-syms GlobalPathConstants
//   read-syms DriverConstants
//   read-syms DriverConstants-$(Type)
//
[DriverConstants-PCI]
ProductSoftwareName        = "DigiPci"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiPci.sys"
Review                     = FALSE
Hidden                     = TRUE

NetRuleSoftwareType        = EMPTY_STR
NetRuleSoftwareUse         = EMPTY_STR
NetRuleSoftwareBindForm    = EMPTY_STR
NetRuleSoftwareClass       = EMPTY_LIST
NetRuleSoftwareBindable    = EMPTY_LIST
ServiceType                = "kernel"
Group                      = "Base"
DependOnGroup              = EMPTY_LIST
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiPci"
NetRuleHardwareType        = EMPTY_STR
NetRuleHardwareClass       = EMPTY_LIST

CircuitName                = EMPTY_STR
LineServiceKeyName         = EMPTY_STR
MediaType                  = EMPTY_STR

[DriverConstants-FR]       // Frame Relay PVC's
ProductSoftwareName        = "DigiLan"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiLan.sys"
Review                     = FALSE
Hidden                     = TRUE

NetRuleSoftwareType        = "DigiLanSys ndisDriver DigiLanDriver"
NetRuleSoftwareUse         = $(SoftwareType)
NetRuleSoftwareBindForm    = """DigiLanDriver"" yes no container"
NetRuleSoftwareClass       = {"DigiLanDriver basic"}
NetRuleSoftwareBindable    = {"DigiLanDriver DigiLanAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "NDIS"
DependOnGroup              = {"+DIGIDS"}
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiLan"
NetRuleHardwareType        = "DigiLan DigiLanAdapter"
NetRuleHardwareClass       = {"DigiLanAdapter basic"}

CircuitName                = "DLCI"
LineServiceKeyName         = DXB_REGVAL_LINE_SERVICE_FR
MediaType                  = "FR"

[DriverConstants-X25L]     // X.25 PVC's
ProductSoftwareName        = "DigiLan"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiLan.sys"
Review                     = FALSE
Hidden                     = TRUE

NetRuleSoftwareType        = "DigiLanSys ndisDriver DigiLanDriver"
NetRuleSoftwareUse         = $(SoftwareType)
NetRuleSoftwareBindForm    = """DigiLanDriver"" yes no container"
NetRuleSoftwareClass       = {"DigiLanDriver basic"}
NetRuleSoftwareBindable    = {"DigiLanDriver DigiLanAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "NDIS"
DependOnGroup              = {"+DIGIDS"}
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiLan"
NetRuleHardwareType        = "DigiLan DigiLanAdapter"
NetRuleHardwareClass       = {"DigiLanAdapter basic"}

CircuitName                = "Channel"
LineServiceKeyName         = DXB_REGVAL_LINE_SERVICE_X25
MediaType                  = "X25"

[DriverConstants-X25]      // RAS X.25 SVC's
ProductSoftwareName        = "DigiWanX"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiWanX.sys"
Review                     = FALSE
Hidden                     = TRUE

NetRuleSoftwareType        = "DigiWanXSys DigiWanXDriver"
NetRuleSoftwareUse         = $(SoftwareType)
NetRuleSoftwareBindForm    = """"DigiWanXDriver""" yes no container"
NetRuleSoftwareClass       = {"DigiWanXDriver basic"}
NetRuleSoftwareBindable    = {"DigiWanXDriver DigiWanXAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "NDIS"
DependOnGroup              = {"+DIGIDS"}
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiWanX"
NetRuleHardwareType        = "DigiWanX DigiWanXAdapter"
NetRuleHardwareClass       = {"DigiWanXAdapter basic"}

CircuitName                = "Channel"
LineServiceKeyName         = DXB_REGVAL_LINE_SERVICE_X25
MediaType                  = "X25"

[DriverConstants-SNA]       // SNA
ProductSoftwareName        = "DigiSNA"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiSNA.sys"
Review                     = FALSE
Hidden                     = TRUE

NetRuleSoftwareType        = "DigiSNASys ndisDriver DigiSNADriver"
NetRuleSoftwareUse         = $(SoftwareType)
NetRuleSoftwareBindForm    = """DigiSNADriver"" yes no container"
NetRuleSoftwareClass       = {"DigiSNADriver basic"}
NetRuleSoftwareBindable    = {"DigiSNADriver DigiSNAAdapter non exclusive 100"}
ServiceType                = "kernel"
Group                      = "Extended Base"
DependOnGroup              = {"+DIGIDS"}
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiSNA"
NetRuleHardwareType        = "DigiSNA DigiSNAAdapter"
NetRuleHardwareClass       = {"DigiSNAAdapter basic"}

CircuitName                = EMPTY_STR
LineServiceKeyName         = DXB_REGVAL_LINE_SERVICE_SNA
MediaType                  = "SNA"


[DriverConstants-PPP]      // PPP PVC's
ProductSoftwareName        = "DigiPPP"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiPPP.sys"
Review                     = FALSE
Hidden                     = TRUE

NetRuleSoftwareType        = "DigiPPPSys DigiPPPDriver"
NetRuleSoftwareUse         = $(SoftwareType)
NetRuleSoftwareBindForm    = """"DigiPPPDriver""" yes no container"
NetRuleSoftwareClass       = {"DigiPPPDriver basic"}
NetRuleSoftwareBindable    = {"DigiPPPDriver DigiPPPAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "NDIS"
DependOnGroup              = {"+DIGIDS"}
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiPPP"
NetRuleHardwareType        = "DigiPPP DigiPPPAdapter"
NetRuleHardwareClass       = {"DigiPPPAdapter basic"}

CircuitName                = EMPTY_STR
LineServiceKeyName         = DXB_REGVAL_LINE_SERVICE_PPP
MediaType                  = "PPP"


[DriverConstants-ISDN]
ProductSoftwareName        = "DigiIsdn"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiIsdn.sys"
Review                     = FALSE
Hidden                     = TRUE

NetRuleSoftwareType        = "DigiIsdnSys DigiIsdnDriver"
NetRuleSoftwareUse         = $(SoftwareType)
NetRuleSoftwareBindForm    = """"DigiIsdnDriver""" yes no container"
NetRuleSoftwareClass       = {"DigiIsdnDriver basic"}
NetRuleSoftwareBindable    = {"DigiIsdnDriver DigiIsdnAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "NDIS"
DependOnGroup              = {"+DIGIDS"}
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiIsdn"
NetRuleHardwareType        = "DigiIsdn DigiIsdnAdapter"
NetRuleHardwareClass       = {"DigiIsdnAdapter basic"}

CircuitName                = EMPTY_STR
LineServiceKeyName         = DXB_REGVAL_LINE_SERVICE_ISDN
MediaType                  = "ISDN"

[DriverConstants-ASYN]
ProductSoftwareName        = "DigiAsyn"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(DRIVER_DIR)"\\DigiAsyn.sys"
Review                     = FALSE
Hidden                     = TRUE

NetRuleSoftwareType        = "DigiAsynSys DigiAsynDriver"
NetRuleSoftwareUse         = $(SoftwareType)
NetRuleSoftwareBindForm    = """"DigiAsynDriver""" yes no container"
NetRuleSoftwareClass       = {"DigiAsynDriver basic"}
NetRuleSoftwareBindable    = {"DigiAsynDriver DigiAsynAdapter non exclusive 100"}
ServiceType                = "kernelautostart"
Group                      = "Extended Base"
DependOnGroup              = {"+DIGIDS"}
DependsOn                  = EMPTY_LIST

ProductHardwareName        = "DigiAsyn"
NetRuleHardwareType        = "DigiAsyn DigiAsynAdapter"
NetRuleHardwareClass       = {"DigiAsynAdapter basic"}

CircuitName                = EMPTY_STR
LineServiceKeyName         = DXB_REGVAL_LINE_SERVICE_ASYN
MediaType                  = EMPTY_STR

[DriverConstants-PAMA]
ProductSoftwareName        = "DigiPamA"
ProductKeyName             = $(KEY_DIGIROOT)"\\"$(ProductSoftwareName)"\\CurrentVersion"
ProductSoftwareImagePath   = $(SYSTEM32_DIR)"\\DigiPamA.exe"
Review                     = FALSE
Hidden                     = FALSE
SoftwareType               = "service"

NetRuleSoftwareType        = EMPTY_STR
NetRuleSoftwareUse         = EMPTY_STR
NetRuleSoftwareBindForm    = EMPTY_STR
NetRuleSoftwareClass       = EMPTY_LIST
NetRuleSoftwareBindable    = EMPTY_LIST
ServiceType                = "serviceauto"
Group                      = EMPTY_STR
DependOnGroup              = EMPTY_LIST
DependsOn                  = {"Tcpip"}

ProductHardwareName        = "DigiPamA"
NetRuleHardwareType        = EMPTY_STR
NetRuleHardwareClass       = EMPTY_LIST

CircuitName                = EMPTY_STR
LineServiceKeyName         = EMPTY_STR
MediaType                  = EMPTY_STR
