DrvConf  2.4 beta 1


New functionality in DRVCONF.EXE
DRVCONF.EXE supports now options in command line. The command line has following syntax:
DrvConf  [options] [config files]

[config files] are files in ASCII form, which syntax will be described later in this document. We recommend to generate them automatically with the option /c+

Options are of the form:
/<options letter>[+/-]
The + sign turns the option on, the - sign off. Following options are recognised:
/r reboot, /r+ do reboot, /r- no reboot, default /r+
/i install, /i+ do install on this system, /i- simulate installation ( useful with /c+ ), default /i+
/c save configuration into a file, /c+ save it ( the user will be prompted for the filename), /c- don't save, default /c-
/c <file name>, save configuration into file given by the <file name>
/a automatic flag, /a+ automatic run without user interaction, /a- interactive installation. Default: /a-

Using the option /c+ the user can store the configuration into a file. The form of the file is similar to a ini-files. It consist of sections led in by [<title>]. The root section is
[CARDS] enumerating all cards to be configured. All entries in this section are of the form
<Card type>.<instance>
....
<Card type>.<instance>

the <Card type> is one of
PCI010
PCI020
PCI200
PCI210
PCI400
PCI800
TC200
TC200PRO
TC200IPRO
TC400PRO
TC400PROV2
TC420PRO
TC800PRO

The instance number is a counter for all cards in the system being of the same type. It starts by 0.
Example:
 [CARDS]
PCI200.0
PCI200.1
PCI400.0

For each card enumerated in this section there have to be a Section with the title
[<Card type>.<instance>]
Exaple:
 [PCI200.1]. 
This section contains entries of the form:
<Keyword>=<Value>
The keyword depends on card type being configured.
For PCIxxx cards are following keywords valid:

UART=one of  550,650 or 750
SPEEDMODE= one of 14745600, 1843200.
PORT=<Port name>

Turbo series cards, TCxxxxx:
PORT=<Port name>

For each PORT keyword there have to exist a section with the title
[<Portname>]

In this section are following entries possible:
TYPE=LPT or COM, currently ignored.
NAME=LPTxx or NAME=COMxx
BASE= IO address of the port
IRQ= IRQ line to be used by this port
SPEED=1,2,4,8
OVERSPEED=1,2,4,8
UART=550,650,750

The # sign starts a comment in the file.
We strongly recommend to generate this file using DRVCONF /r- /i- /c+ <MyFile>


Example for a configuration

[CARDS]
PCI020.0
PCI800.0
PCI400.0
#
[PCI020.0]
Port=PCI020.0.0
Port=PCI020.0.1
#
[PCI020.0.0]
TYPE=LPT
NAME=LPT2
BASE=0xa800
IRQ=9
SPEED=0
MODE=PS2
#
[PCI020.0.1]
TYPE=LPT
NAME=LPT3
BASE=0xac00
IRQ=9
SPEED=0
MODE=PS2
#
[PCI800.0]
UART=550
Port=PCI800.0.0
Port=PCI800.0.1
Port=PCI800.0.2
Port=PCI800.0.3
Port=PCI800.0.4
Port=PCI800.0.5
Port=PCI800.0.6
Port=PCI800.0.7
#
[PCI800.0.0]
TYPE=COM
NAME=COM3
BASE=0xffffffff
IRQ=-1
SPEED=1
OVERSPEED=1
UART=550
#
[PCI800.0.1]
TYPE=COM
NAME=COM4
BASE=0xffffffff
IRQ=-1
SPEED=1
OVERSPEED=1
UART=550
#
[PCI800.0.2]
TYPE=COM
NAME=COM5
BASE=0xffffffff
IRQ=-1
SPEED=1
OVERSPEED=1
UART=550
#
[PCI800.0.3]
TYPE=COM
NAME=COM6
BASE=0xffffffff
IRQ=-1
SPEED=1
OVERSPEED=1
UART=550
#
[PCI800.0.4]
TYPE=COM
NAME=COM7
BASE=0xffffffff
IRQ=-1
SPEED=1
OVERSPEED=1
UART=550
#
[PCI800.0.5]
TYPE=COM
NAME=COM8
BASE=0xffffffff
IRQ=-1
SPEED=1
OVERSPEED=1
UART=550
#
[PCI800.0.6]
TYPE=COM
NAME=COM9
BASE=0xffffffff
IRQ=-1
SPEED=1
OVERSPEED=1
UART=550
#
[PCI800.0.7]
TYPE=COM
NAME=COM10
BASE=0xffffffff
IRQ=-1
SPEED=1
OVERSPEED=1
UART=550
#
[PCI400.0]
UART=750
SpeedMode=14745600
Port=PCI400.0.0
Port=PCI400.0.1
Port=PCI400.0.2
Port=PCI400.0.3
#
[PCI400.0.0]
TYPE=COM
NAME=COM11
BASE=0xffffffff
IRQ=-1
SPEED=8
OVERSPEED=1
UART=550
#
[PCI400.0.1]
TYPE=COM
NAME=COM12
BASE=0xffffffff
IRQ=-1
SPEED=8
OVERSPEED=1
UART=550
#
[PCI400.0.2]
TYPE=COM
NAME=COM13
BASE=0xffffffff
IRQ=-1
SPEED=8
OVERSPEED=1
UART=550
#
[PCI400.0.3]
TYPE=COM
NAME=COM19
BASE=0xffffffff
IRQ=-1
SPEED=8
OVERSPEED=8
UART=550
#


