;/*++
;
;Copyright (c) 1984-2012 Sangoma Technologies All rights Reserved
;
;Module Name:
;    SngBus.inf
;
;Author:
;	David Rokhvarg <davidr@sangoma.com>
;
;Description:
;    Inf file for installing "Sangoma Bus" - port enumerator driver Windows XP/2003/2008/7.
;
;--*/

[Version]
Signature	= "$Windows NT$"
class		= SANGOMA_ADAPTER
classGUID	= {680D0063-63ED-4e66-A2CC-6F54CB331CF5}
Provider	= %V_Sangoma%
DriverVer   = 10/25/2016, 7.0.20.6

CatalogFile.ntx86=SngBus.ntX86.cat
CatalogFile.NTamd64=SngBus.ntX64.cat

[DestinationDirs]
DefaultDestDir	= 12
Drivers_Dir     = 12			; "Windows\system32\drivers"
HardwareEC_Dir	= 10,sang_ec_files	; "Windows\sang_ec_files"
system32.CopyFiles  = 11 ;system32

[ClassInstall32.ntx86]
Addreg=SangomaAdapterClassReg     

[ClassInstall32.ntamd64]
Addreg=SangomaAdapterClassReg     

[SangomaAdapterClassReg]
HKR,,,0,%ClassName%

[SourceDisksNames.x86]
1	= %DiskId1%,,,""
2	= %DiskId1%,,,\ec_files
3	= %DiskId1%,,,\x86

[SourceDisksNames.amd64]
1	= %DiskId1%,,,""
2	= %DiskId1%,,,\ec_files
3	= %DiskId1%,,,\x64

[SourceDisksFiles]
DTMF_0_ulaw.pcm			= 2
DTMF_1_ulaw.pcm			= 2
DTMF_2_ulaw.pcm			= 2
DTMF_3_ulaw.pcm			= 2
DTMF_4_ulaw.pcm			= 2
DTMF_5_ulaw.pcm			= 2
DTMF_6_ulaw.pcm			= 2
DTMF_7_ulaw.pcm			= 2
DTMF_8_ulaw.pcm			= 2
DTMF_9_ulaw.pcm			= 2
DTMF_A_ulaw.pcm			= 2
DTMF_B_ulaw.pcm			= 2
DTMF_C_ulaw.pcm			= 2
DTMF_D_ulaw.pcm			= 2
DTMF_POUND_ulaw.pcm		= 2
DTMF_STAR_ulaw.pcm		= 2
female_voice1_a_law.pcm	= 2
female_voice1_u_law.pcm	= 2
male_voice1_a_law.pcm	= 2
male_voice1_u_law.pcm	= 2
male_voice2_a_law.pcm	= 2
male_voice2_u_law.pcm	= 2
OCT6116-32S.ima			= 2
OCT6116-64S.ima			= 2
OCT6116-128S.ima		= 2
OCT6116-256S.ima		= 2
oct_phone_number_a_law.pcm 	= 2
oct_phone_number_u_law.pcm 	= 2
Rin_a_law.pcm			= 2
Rin_u_law.pcm			= 2
Sin_a_law.pcm			= 2
Sin_u_law.pcm			= 2
voice_long_a_law.pcm	= 2
voice_long_u_law.pcm	= 2
SngBusCfg.dll    		= 3
SngBus.sys				= 3

;*****************************************
; SangomaBus  Install Section
;*****************************************

[Manufacturer]
%V_Sangoma%=Sangoma,NTx86,NTamd64

;[Sangoma.NTx86.LogConfigOverride]
;LogConfig=Sangoma.Override1
;[NTamd64.LogConfigOverride]
;LogConfig=Sangoma.Override1
;[Sangoma.Override1]
;ConfigPriority=REBOOT

[Sangoma.NTx86]
; These are the Sangoma PCI IDs:

%DeviceDesc.S5141% = sang_PCI_S5141, PCI\VEN_11B0&DEV_0002&SUBSYS_00114753&REV_05; S5141, single CPU, serial
%DeviceDesc.S5142% = sang_PCI_S5142, PCI\VEN_11B0&DEV_0002&SUBSYS_00124753&REV_05; S5142, dual   CPU, serial
%DeviceDesc.S5143% = sang_PCI_S5143, PCI\VEN_11B0&DEV_0002&SUBSYS_00134753&REV_05; S5143, single CPU, FT1
%DeviceDesc.S5144% = sang_PCI_S5144, PCI\VEN_11B0&DEV_0002&SUBSYS_00144753&REV_00; S5144, single CPU, T1/E1
%DeviceDesc.S5148% = sang_PCI_S5144, PCI\VEN_11B0&DEV_0002&SUBSYS_00184753&REV_00; S5148, single CPU, T1/E1 (the same as S5144)

%DeviceDesc.S5145% = sang_PCI_S5145, PCI\VEN_11B0&DEV_0002&SUBSYS_00154753&REV_00; S5145, single CPU, 56K
%DeviceDesc.S5145% = sang_PCI_S5145, PCI\VEN_11B0&DEV_0002&SUBSYS_00154753&REV_05; S5145, single CPU, 56K

%DeviceDesc.S5147% = sang_PCI_S5147, PCI\VEN_11B0&DEV_0002&SUBSYS_00174753&REV_00; S5147, dual CPU, T1/E1

; note, on AFT cards SUBSYS is changed when firmware is changed
; A101 and A102 with PMC T1/E1 chip
%DeviceDesc.A101%  = sang_PCI_A101,		PCI\VEN_1923&DEV_0300; AFT,   single CPU, T1/E1

; A102-Shark and A200 - for XP Embedded must have shared 'Device Description' , otherwize the 'device id data base' becomes unmanageble because
; any change in firmware version also changes the PCI ID.
; B800 - 4 FXS or 4 FXO card. PCI ID: PCI\VEN_1923&DEV_0040&SUBSYS_4200B800
%DeviceDesc.A102sh_A200%  = sang_PCI_A102sh_A200,	PCI\VEN_1923&DEV_0040; AFT, dual T1/E1 or Analog

; A104
%DeviceDesc.A104%  = sang_PCI_A104,		PCI\VEN_1923&DEV_0400; AFT,   quad port, T1/E1

; W400
%DeviceDesc.W400%  = sang_PCI_W400,		PCI\VEN_1923&DEV_0025; AFT,   quad port, GSM

; A104/A108/T116 - Shark
%DeviceDesc.A104sh% = sang_PCI_A104d,	PCI\VEN_1923&DEV_0100; AFT,   4 or 8 port, T1/E1, w/without Echo Canceller

; A116 - Shark
%DeviceDesc.A116sh% = sang_PCI_A116,	PCI\VEN_1923&DEV_0160; AFT,   16 port, T1/E1

; S518 - ADSL Card
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D001&SUBSYS_D00114BC
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002&SUBSYS_D00114BC
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002&SUBSYS_D00114BC&REV_01
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002&SUBSYS_001814BC
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002&SUBSYS_D01814BC
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002&SUBSYS_D01814BC&REV_01
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002; should match all revisions of ADSL card

; A056 - 56k DDS (Shark)
%DeviceDesc.A056%  = sang_PCI_A056,		PCI\VEN_1923&DEV_0020&SUBSYS_0000A056&REV_00; AFT, 56k, single port 
%DeviceDesc.A056%  = sang_PCI_A056,		PCI\VEN_1923&DEV_0020
%DeviceDesc.A056%  = sang_PCI_A056,		PCI\VEN_1923&DEV_0040&SUBSYS_0100A056&REV_00

; A500 - ISDN BRI (Shark)
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3200A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3300A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3400A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3500A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3600A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3700A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3800A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3900A500

; B500 - ISDN BRI short card
%DeviceDesc.B500%	= sang_PCI_B500,	PCI\VEN_1923&DEV_0040&SUBSYS_4200B500

;B600 Analog Voice Card - 4 Port FXO and 1 Port FXS
%DeviceDesc.B600%	= sang_PCI_B600,	PCI\VEN_1923&DEV_0025&SUBSYS_0200A600
%DeviceDesc.B600%	= sang_PCI_B600,	PCI\VEN_1923&DEV_0025&SUBSYS_0300A600
%DeviceDesc.B600%	= sang_PCI_B600,	PCI\VEN_1923&DEV_0025&SUBSYS_0400A600
%DeviceDesc.B600%	= sang_PCI_B600,	PCI\VEN_1923&DEV_0025&SUBSYS_0500A600
%DeviceDesc.B600%	= sang_PCI_B600,	PCI\VEN_1923&DEV_0025&SUBSYS_0600A600

;B700 - Connect up to 4 ports of BRI plus 2 ports of Analog
;PCI\VEN_1923&DEV_0040&SUBSYS_3500A700&REV_00\4&31B6CD7&0&10F0
%DeviceDesc.B700%	= sang_PCI_B700,	PCI\VEN_1923&DEV_0040&SUBSYS_3500A700
%DeviceDesc.B700%	= sang_PCI_B700,	PCI\VEN_1923&DEV_0040&SUBSYS_3600A700
%DeviceDesc.B700%	= sang_PCI_B700,	PCI\VEN_1923&DEV_0040&SUBSYS_3700A700
%DeviceDesc.B700%	= sang_PCI_B700,	PCI\VEN_1923&DEV_0040&SUBSYS_3800A700
%DeviceDesc.B700%	= sang_PCI_B700,	PCI\VEN_1923&DEV_0040&SUBSYS_3900A700

; A140 - AFT Serial
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0400A031
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0500A031
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0600A031
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0700A031
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0800A031
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0900A031

%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0400A032
%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0500A032
%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0600A032
%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0700A032
%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0800A032
%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0900A032

%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0400A033
%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0500A033
%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0600A033
%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0700A033
%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0800A033
%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0900A033

%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0400A034
%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0500A034
%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0600A034
%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0700A034
%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0800A034
%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0900A034

[Sangoma.NTamd64]
;LogConfig=Sangoma.LogConfig

; These are the Sangoma PCI IDs:

%DeviceDesc.S5141% = sang_PCI_S5141, PCI\VEN_11B0&DEV_0002&SUBSYS_00114753&REV_05; S5141, single CPU, serial
%DeviceDesc.S5142% = sang_PCI_S5142, PCI\VEN_11B0&DEV_0002&SUBSYS_00124753&REV_05; S5142, dual   CPU, serial
%DeviceDesc.S5143% = sang_PCI_S5143, PCI\VEN_11B0&DEV_0002&SUBSYS_00134753&REV_05; S5143, single CPU, FT1
%DeviceDesc.S5144% = sang_PCI_S5144, PCI\VEN_11B0&DEV_0002&SUBSYS_00144753&REV_00; S5144, single CPU, T1/E1
%DeviceDesc.S5148% = sang_PCI_S5144, PCI\VEN_11B0&DEV_0002&SUBSYS_00184753&REV_00; S5148, single CPU, T1/E1 (the same as S5144)

%DeviceDesc.S5145% = sang_PCI_S5145, PCI\VEN_11B0&DEV_0002&SUBSYS_00154753&REV_00; S5145, single CPU, 56K
%DeviceDesc.S5145% = sang_PCI_S5145, PCI\VEN_11B0&DEV_0002&SUBSYS_00154753&REV_05; S5145, single CPU, 56K

%DeviceDesc.S5147% = sang_PCI_S5147, PCI\VEN_11B0&DEV_0002&SUBSYS_00174753&REV_00; S5147, dual CPU, T1/E1

; note, on AFT cards SUBSYS is changed when firmware is changed
; A101 and A102 with PMC T1/E1 chip
%DeviceDesc.A101%  = sang_PCI_A101,		PCI\VEN_1923&DEV_0300; AFT,   single CPU, T1/E1

; A102-Shark and A200 - for XP Embedded must have shared 'Device Description' , otherwize the 'device id data base' becomes unmanageble because
; any change in firmware version also changes the PCI ID.
; B800 - 4 FXS or 4 FXO card. PCI ID: PCI\VEN_1923&DEV_0040&SUBSYS_4200B800
%DeviceDesc.A102sh_A200%  = sang_PCI_A102sh_A200,	PCI\VEN_1923&DEV_0040; AFT, dual T1/E1 or Analog

; A104
%DeviceDesc.A104%  = sang_PCI_A104,		PCI\VEN_1923&DEV_0400; AFT,   quad port, T1/E1

; W400
%DeviceDesc.W400%  = sang_PCI_W400,		PCI\VEN_1923&DEV_0025; AFT,   quad port, GSM

; A104/A108 - Shark
%DeviceDesc.A104sh% = sang_PCI_A104d,	PCI\VEN_1923&DEV_0100; AFT,   4 or 8 port, T1/E1, w/without Echo Canceller

; A116 - Shark
%DeviceDesc.A116sh% = sang_PCI_A116,	PCI\VEN_1923&DEV_0160; AFT,   16 port, T1/E1

; S518 - ADSL Card
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D001&SUBSYS_D00114BC
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002&SUBSYS_D00114BC
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002&SUBSYS_D00114BC&REV_01
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002&SUBSYS_001814BC
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002&SUBSYS_D01814BC
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002&SUBSYS_D01814BC&REV_01
%DeviceDesc.ADSL% = sang_PCI_ADSL,		PCI\VEN_14BC&DEV_D002; should match all revisions of ADSL card

; A056 - 56k DDS (Shark)
%DeviceDesc.A056%  = sang_PCI_A056,		PCI\VEN_1923&DEV_0020&SUBSYS_0000A056&REV_00; AFT, 56k, single port 
%DeviceDesc.A056%  = sang_PCI_A056,		PCI\VEN_1923&DEV_0020
%DeviceDesc.A056%  = sang_PCI_A056,		PCI\VEN_1923&DEV_0040&SUBSYS_0100A056&REV_00

; A500 - ISDN BRI (Shark)
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3200A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3300A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3400A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3500A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3600A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3700A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3800A500
%DeviceDesc.A500%	= sang_PCI_A500,	PCI\VEN_1923&DEV_0040&SUBSYS_3900A500

; B500 - ISDN BRI short card
%DeviceDesc.B500%	= sang_PCI_B500,	PCI\VEN_1923&DEV_0040&SUBSYS_4200B500

;B600 Analog Voice Card - 4 Port FXO and 1 Port FXS
%DeviceDesc.B600%	= sang_PCI_B600,	PCI\VEN_1923&DEV_0025&SUBSYS_0200A600
%DeviceDesc.B600%	= sang_PCI_B600,	PCI\VEN_1923&DEV_0025&SUBSYS_0300A600
%DeviceDesc.B600%	= sang_PCI_B600,	PCI\VEN_1923&DEV_0025&SUBSYS_0400A600
%DeviceDesc.B600%	= sang_PCI_B600,	PCI\VEN_1923&DEV_0025&SUBSYS_0500A600
%DeviceDesc.B600%	= sang_PCI_B600,	PCI\VEN_1923&DEV_0025&SUBSYS_0600A600

;B700 - Connect up to 4 ports of BRI plus 2 ports of Analog
;PCI\VEN_1923&DEV_0040&SUBSYS_3500A700&REV_00\4&31B6CD7&0&10F0
%DeviceDesc.B700%	= sang_PCI_B700,	PCI\VEN_1923&DEV_0040&SUBSYS_3500A700
%DeviceDesc.B700%	= sang_PCI_B700,	PCI\VEN_1923&DEV_0040&SUBSYS_3600A700
%DeviceDesc.B700%	= sang_PCI_B700,	PCI\VEN_1923&DEV_0040&SUBSYS_3700A700
%DeviceDesc.B700%	= sang_PCI_B700,	PCI\VEN_1923&DEV_0040&SUBSYS_3800A700
%DeviceDesc.B700%	= sang_PCI_B700,	PCI\VEN_1923&DEV_0040&SUBSYS_3900A700

; A140 - AFT Serial
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0400A031
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0500A031
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0600A031
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0700A031
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0800A031
%DeviceDesc.A142_V35%	= sang_PCI_A142_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0900A031

%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0400A032
%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0500A032
%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0600A032
%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0700A032
%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0800A032
%DeviceDesc.A144_V35%	= sang_PCI_A144_V35,	PCI\VEN_1923&DEV_0100&SUBSYS_0900A032

%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0400A033
%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0500A033
%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0600A033
%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0700A033
%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0800A033
%DeviceDesc.A142_RS232% = sang_PCI_A142_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0900A033

%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0400A034
%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0500A034
%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0600A034
%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0700A034
%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0800A034
%DeviceDesc.A144_RS232%	= sang_PCI_A144_RS232,	PCI\VEN_1923&DEV_0100&SUBSYS_0900A034

[ControlFlags]
;ExcludeFromSelect - there is nothing to exclude, all options should be visible

; *****************************
; Sangoma S5141 PCI Adapter
; *****************************
[sang_PCI_S5141.NT]
Characteristics	= 0x4
BusType			= 5
AddReg	    	= sang_busenum.reg, s514_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles

[sang_PCI_S5141.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_S5141_Service_Inst

[sang_PCI_S5141_Service_Inst]
DisplayName    = %DeviceDesc.S5141%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; *****************************
; Sangoma S5142 PCI Adapter
; *****************************
[sang_PCI_S5142.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		   	= sang_busenum.reg, s514_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles
CopyInf			= virif.inf

[sang_PCI_S5142.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_S5142_Service_Inst

[sang_PCI_S5142_Service_Inst]
DisplayName    = %DeviceDesc.S5142%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; *****************************
; Sangoma S5143 PCI Adapter
; *****************************
[sang_PCI_S5143.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		    = sang_busenum.reg, s514_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles

[sang_PCI_S5143.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_S5143_Service_Inst

[sang_PCI_S5143_Service_Inst]
DisplayName    = %DeviceDesc.S5143%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; *****************************
; Sangoma S5144 PCI Adapter
; *****************************
[sang_PCI_S5144.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		    	= sang_busenum.reg, s514_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles

[sang_PCI_S5144.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_S5144_Service_Inst

[sang_PCI_S5144_Service_Inst]
DisplayName    = %DeviceDesc.S5144%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; *****************************
; Sangoma S5145 PCI Adapter
; *****************************
[sang_PCI_S5145.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		    	= sang_busenum.reg, s514_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles

[sang_PCI_S5145.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_S5145_Service_Inst

[sang_PCI_S5145_Service_Inst]
DisplayName    = %DeviceDesc.S5145%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; *****************************
; Sangoma S5147 (dual T1/E1) PCI Adapter
; *****************************
[sang_PCI_S5147.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		    	= sang_busenum.reg, s514_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles

[sang_PCI_S5147.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_S5147_Service_Inst

[sang_PCI_S5147_Service_Inst]
DisplayName    = %DeviceDesc.S5147%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; *****************************
; Sangoma A101 or A102 PCI Adapter
; *****************************
[sang_PCI_A101.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		    = sang_busenum.reg, aft_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A101.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A101_Service_Inst

[sang_PCI_A101_Service_Inst]
DisplayName    = %DeviceDesc.A101%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; *****************************
; Sangoma A102-Shark PCI Adapter - the only difference from A102 is DisplayName
; *****************************
[sang_PCI_A102sh_A200.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		    	= sang_busenum.reg, aft_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A102sh_A200.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A102sh_A200_Service_Inst

[sang_PCI_A102sh_A200_Service_Inst]
DisplayName    = %DeviceDesc.A102sh_A200%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; *****************************
; Sangoma W400 GSM PCI Adapter 
; *****************************
[sang_PCI_W400.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		    	= sang_busenum.reg, aft_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_W400.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A102sh_A200_Service_Inst

[sang_PCI_W400_Service_Inst]
DisplayName    = %DeviceDesc.W400%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base


; *****************************
; Sangoma A104 PCI Adapter
; *****************************
[sang_PCI_A104.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		    	= sang_busenum.reg, aft_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A104.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A104_Service_Inst

[sang_PCI_A104_Service_Inst]
DisplayName		= %DeviceDesc.A104%
ServiceType		= 1               ; SERVICE_KERNEL_DRIVER
StartType		= 3               ; SERVICE_DEMAND_START 
ErrorControl	= 1               ; SERVICE_ERROR_NORMAL
ServiceBinary	= %12%\SngBus.sys
LoadOrderGroup	= Extended Base

; *****************************
; Sangoma A104D PCI Adapter
; *****************************
[sang_PCI_A104d.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		    	= sang_busenum.reg, aft_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A104d.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A104d_Service_Inst

[sang_PCI_A104d_Service_Inst]
DisplayName		= %DeviceDesc.A104sh%
ServiceType		= 1               ; SERVICE_KERNEL_DRIVER
StartType		= 3               ; SERVICE_DEMAND_START 
ErrorControl	= 1               ; SERVICE_ERROR_NORMAL
ServiceBinary	= %12%\SngBus.sys
LoadOrderGroup	= Extended Base

; *****************************
; Sangoma A116 PCI Adapter
; *****************************
[sang_PCI_A116.NT]
Characteristics	= 0x4
BusType			= 5
AddReg		    	= sang_busenum.reg, aft_busenum.reg
CopyFiles		= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A116.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A116_Service_Inst

[sang_PCI_A116_Service_Inst]
DisplayName		= %DeviceDesc.A116sh%
ServiceType		= 1               ; SERVICE_KERNEL_DRIVER
StartType		= 3               ; SERVICE_DEMAND_START 
ErrorControl	= 1               ; SERVICE_ERROR_NORMAL
ServiceBinary	= %12%\SngBus.sys
LoadOrderGroup	= Extended Base

; *****************************
; Sangoma ADSL PCI Adapter
; *****************************
[sang_PCI_ADSL.NT]
Characteristics	= 0x4
BusType		= 5
AddReg		= sang_busenum.reg, aft_busenum.reg
CopyFiles	= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_ADSL.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_ADSL_Service_Inst

[sang_PCI_ADSL_Service_Inst]
DisplayName	= %DeviceDesc.ADSL%
ServiceType	= 1               ; SERVICE_KERNEL_DRIVER
StartType	= 3               ; SERVICE_DEMAND_START 
ErrorControl	= 1               ; SERVICE_ERROR_NORMAL
ServiceBinary	= %12%\SngBus.sys
LoadOrderGroup	= Extended Base

; ************************
; Sangoma A056 PCI Adapter
;; ************************
[sang_PCI_A056.NT]
Characteristics	= 0x4
BusType		= 5
AddReg		= sang_busenum.reg, aft_busenum.reg
CopyFiles	= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A056.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A056_Service_Inst

[sang_PCI_A056_Service_Inst]
DisplayName    = %DeviceDesc.A056%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; ************************
; Sangoma A500 PCI Adapter
;; ************************
[sang_PCI_A500.NT]
Characteristics	= 0x4
BusType		= 5
AddReg		= sang_busenum.reg, aft_busenum.reg
CopyFiles	= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A500.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A500_Service_Inst

[sang_PCI_A500_Service_Inst]
DisplayName    = %DeviceDesc.A500%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; ************************
; Sangoma A142 V35
;; ************************
[sang_PCI_A142_V35.NT]
Characteristics	= 0x4
BusType		= 5
AddReg		= sang_busenum.reg, aft_busenum.reg
CopyFiles	= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A142_V35.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A142_V35_Service_Inst

[sang_PCI_A142_V35_Service_Inst]
DisplayName    = %DeviceDesc.A142_V35%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; ************************
; Sangoma A144 V35
;; ************************
[sang_PCI_A144_V35.NT]
Characteristics	= 0x4
BusType		= 5
AddReg		= sang_busenum.reg, aft_busenum.reg
CopyFiles	= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A144_V35.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A144_V35_Service_Inst

[sang_PCI_A144_V35_Service_Inst]
DisplayName    = %DeviceDesc.A144_V35%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; ************************
; Sangoma A142 RS232
;; ************************
[sang_PCI_A142_RS232.NT]
Characteristics	= 0x4
BusType		= 5
AddReg		= sang_busenum.reg, aft_busenum.reg
CopyFiles	= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A142_RS232.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A142_RS232_Service_Inst

[sang_PCI_A142_RS232_Service_Inst]
DisplayName    = %DeviceDesc.A142_RS232%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; ************************
; Sangoma A144 RS232
;; ************************
[sang_PCI_A144_RS232.NT]
Characteristics	= 0x4
BusType		= 5
AddReg		= sang_busenum.reg, aft_busenum.reg
CopyFiles	= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_A144_RS232.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_A144_RS232_Service_Inst

[sang_PCI_A144_RS232_Service_Inst]
DisplayName    = %DeviceDesc.A144_RS232%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; ************************
; Sangoma B500 PCI Adapter
;; ************************
[sang_PCI_B500.NT]
Characteristics	= 0x4
BusType		= 5
AddReg		= sang_busenum.reg, aft_busenum.reg
CopyFiles	= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_B500.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_B500_Service_Inst

[sang_PCI_B500_Service_Inst]
DisplayName    = %DeviceDesc.B500%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; ************************
; Sangoma B600 PCI Adapter
;; ************************
[sang_PCI_B600.NT]
Characteristics	= 0x4
BusType		= 5
AddReg		= sang_busenum.reg, aft_busenum.reg
CopyFiles	= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_B600.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_B600_Service_Inst

[sang_PCI_B600_Service_Inst]
DisplayName    = %DeviceDesc.B600%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base

; ************************
; Sangoma B700 PCI Adapter
;; ************************
[sang_PCI_B700.NT]
Characteristics	= 0x4
BusType		= 5
AddReg		= sang_busenum.reg, aft_busenum.reg
CopyFiles	= Drivers_Dir, system32.CopyFiles, HardwareEC_Dir

[sang_PCI_B700.NT.Services]
AddService = busenum, %SPSVCINST_ASSOCSERVICE%, sang_PCI_B700_Service_Inst

[sang_PCI_B700_Service_Inst]
DisplayName    = %DeviceDesc.B700%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SngBus.sys
LoadOrderGroup = Extended Base


; This is the same for all types of cards
[sang_busenum.reg]
HKR, , DeviceName,			0,	"\Device\SANGBUS"
HKR, , EnumPropPages32,		,	"SngBusCfg.dll,EnumPropPages"
HKR, , Icon,				,	"0"
HKR, , SerialNumbersRange,	0,	"0"	; For the first start use, will be changed by the driver.

; *****************************
; AFT only settings
; *****************************
[aft_busenum.reg]
HKR, , driver_mode,  		0, "0"	; 0 - "Normal", 1 - "Fimware Update"

; *****************************
; S514 only settings
; *****************************
[s514_busenum.reg]
HKR, , driver_mode,  		0, "0"	; 0 - "Normal", 1 - "Fimware Update"

;*************************************************

[Drivers_Dir]
SngBus.sys

[HardwareEC_Dir]
DTMF_0_ulaw.pcm
DTMF_1_ulaw.pcm
DTMF_2_ulaw.pcm
DTMF_3_ulaw.pcm
DTMF_4_ulaw.pcm
DTMF_5_ulaw.pcm
DTMF_6_ulaw.pcm
DTMF_7_ulaw.pcm
DTMF_8_ulaw.pcm
DTMF_9_ulaw.pcm
DTMF_A_ulaw.pcm
DTMF_B_ulaw.pcm
DTMF_C_ulaw.pcm
DTMF_D_ulaw.pcm
DTMF_POUND_ulaw.pcm
DTMF_STAR_ulaw.pcm
female_voice1_a_law.pcm
female_voice1_u_law.pcm
male_voice1_a_law.pcm
male_voice1_u_law.pcm
male_voice2_a_law.pcm
male_voice2_u_law.pcm
OCT6116-32S.ima
OCT6116-64S.ima
OCT6116-128S.ima
OCT6116-256S.ima
oct_phone_number_a_law.pcm
oct_phone_number_u_law.pcm
Rin_a_law.pcm
Rin_u_law.pcm
Sin_a_law.pcm
Sin_u_law.pcm
voice_long_a_law.pcm
voice_long_u_law.pcm

[system32.CopyFiles]
SngBusCfg.dll

[Strings]
SPSVCINST_ASSOCSERVICE	= 0x00000002
V_Sangoma				= "Sangoma Technologies"
DiskId1					= "Sangoma Installation Disk"
ClassName				= "Sangoma Communications Devices"

DeviceDesc.S5141  = "Sangoma S5141 PCI Adapter"
DeviceDesc.S5142  = "Sangoma S5142 PCI Adapter"
DeviceDesc.S5143  = "Sangoma S5143 (FT1) PCI Adapter"
DeviceDesc.S5144  = "Sangoma S5144 (T1/E1) PCI Adapter"
DeviceDesc.S5148  = "Sangoma S5148 (T1/E1) PCI Adapter"
DeviceDesc.S5145  = "Sangoma S5145 (56K) PCI Adapter"
DeviceDesc.S5147  = "Sangoma S5147 (dual T1/E1) PCI Adapter"
; discontuned A101
DeviceDesc.A101  	= "Sangoma A101/A102 (T1/E1) PCI Adapter"
; current A101/A102....
DeviceDesc.A102sh_A200	= "Sangoma A101/A102/A200/A400/B800 PCI Adapter"

DeviceDesc.A104		= "Sangoma A104 (quad T1/E1) PCI Adapter"

DeviceDesc.A104sh	= "Sangoma A104/8/16/T116 (T1/E1) PCI Adapter"

DeviceDesc.A116sh	= "Sangoma A116 (16 port T1/E1) PCI Adapter"

DeviceDesc.ADSL		= "Sangoma S518 (ADSL) Adapter"

DeviceDesc.A056		= "Sangoma A056 (56k DDS) PCI Adapter"

DeviceDesc.A500		= "Sangoma A500 (ISDN BRI) PCI Adapter"

DeviceDesc.W400		= "Sangoma W400 GSM PCI Adapter"

DeviceDesc.B500		= "Sangoma B500 (ISDN BRI) PCI Adapter"

DeviceDesc.B600		= "Sangoma B600 (Analog - 4 FXO / 1 FXS) PCI Adapter"

DeviceDesc.B700		= "Sangoma B700 (4 BRI and 2 Analog FXO / FXS) PCI Adapter"

DeviceDesc.A142_V35	= "Sangoma A142 (2 Port V.35/X.21) PCI Adapter"
DeviceDesc.A144_V35	= "Sangoma A144 (4 Port V.35/X.21) PCI Adapter"
DeviceDesc.A142_RS232	= "Sangoma A142 (2 Port RS232) PCI Adapter"
DeviceDesc.A144_RS232	= "Sangoma A144 (4 Port RS232) PCI Adapter"
