### Configuring and Loading the Driver: Xem, Xr and Xe

Use the information on this page to construct a command line to load the driver with the desired options. For the driver to be loaded automatically during boot, the load line must be inserted in the AUTOEXEC.NCF file.

- Each ISA adapter in the system must have its own load command.

- PCI adapters need only a single load command per adapter type, even if there are multiple PCI adapters in the system. That is, one load command for all Xem PCI adapters in the system and/or one for all Xr PCI adapters in the system.

- All load commands for ISA adapters must come before any PCI adapter load command(s).

Configure the driver by supplying values for the parameters in the load command as shown below:

##### PCI Adapter Command Lines

Xem | `load aiodgxem [name=bname] [altp[=mask]]`
Xr | `load aiodgxr [name=bname] [altp[=mask]] fastbaud`

##### ISA Adapter Command Lines

Xem | `load aiodgxem port=xxx mem=xxxxx [name=bname] [node=0] [altp[=mask]]`
Xr | `load aiodgxr port=xxx mem=xxxxx [name=bname] [node=0] [altp[=mask]] fastbaud`
Xe | `load aiodgxe port=xxx mem=xxxxx [name=bname] [node=0]`

##### Parameter Definitions

`port=xxx` (required for ISA adapters)

> Supply the adapter's unique 3 digit I/O port address as set by the DIP switch on the adapter.

> Possible values:

> Xem, Xr | 104, 114, 124, 204, 224, 304, 324
> Xe | 100, 110, 120, 200, 220, 300, 320

> Example: `port=324`

`mem=xxxxx` (required for ISA adapters)

> Use this parameter to set the dual-port memory address for the adapter to use. You must choose a free 32K block of free memory address space. Typically addresses from C0000 to D8000 are the best choice for availability.

> Possible values:

> Xem, Xr | 80000, 88000, 90000, 98000, A0000, A8000, B0000, B8000, C0000, C8000, D0000, D8000, E0000, E8000
> Xe | 80000, 88000, 90000, 98000, A0000, A8000, B0000, B8000, C0000, C8000, D0000, D8000

> Example: `mem=d0000`

`name=bname` (optional)

> Use this parameter to choose a name for the adapter. A name is assigned by the driver if you do not choose one.

> Possible values: Up to 10 alphanumeric characters.

> Example: `name=digiboard1`

`node=0` (ISA only -- optional)

> Use this parameter, with this value, to tell the driver to number adapters sequentially, based on the order of the load lines in the AUTOEXEC.NCF file. This parameter must be used in the first load command. If not used, the adapters (and their ports) will be numbered based on the I/O address of the adapter (lowest to highest).

> Possible values: 0

> Example: `node=0`

`altp[=mask]`

> Use this parameter when you are using an RJ-45 10-pin connector assembly or PORTS/Xem module with 10-pin RJ-45 connectors, and want to use peripheral cabling with 8-pin plugs. This option switches the DCD (Data Carrier Detect) signal from pin 10 of a 10-pin RJ-45 connector to pin 2 (this corresponds to pin 1 of an 8-pin plug).

> Possible values: Use the parameter with no value to cause all ports to use the alternate wiring. Otherwise, use a hexadecimal mask up to 16 digits in length to use alternate wiring for up to 64 individual ports. Bit zero (the least significant bit) corresponds to port one. A value of one turns on the alternate wiring.

> Example: `altp=f0`, causes ports 5-8 to use alternate wiring.

`fastbaud`

> Include this parameter to cause the adapter to interpret a slower baud rate setting as a faster baud rate. If it is included on the load line, the adapter will interpret the following baud rate settings:

> 300 baud as 230K baud
> 600 baud as 460K baud
> 4800 baud as 920K baud (Xr 920 only)

> The baud rate for a port is set in the application.