Technical data

Managing Peripheral Devices
8.5 Automatically Conguring Devices for OpenVMS Alpha Systems
Descriptions of the conversion for each parameter in ISA_CONFIG.DAT are as
follows:
NAME = xx
Use the NAME keyword in SYS$USER_CONFIG.DAT. Use the same value,
where xx is the device code. (The device code is usually 2 letters.)
Example: NAME = ER
DRIVER = driver_name
Use the DRIVER keyword in SYS$USER_CONFIG.DAT. Use the same value
for file-based autoconfiguration. driver_name is the name of the driver in
SYS$LOADABLE_IMAGES.
Example: DRIVER = SYS$ERDRIVER
IRQ=i
Use IRQx in the ISACFG utility. You can express four IRQs: -IRQ0 through
-IRQ3. Use the same value used for ISA_CONFIG.DAT. The IRQ is a value from
0 to 15, which specifies which ISA IRQ the device uses to report interrupts.
Example:
This example assigns IRQs 10 and 5 to the device.
>>>isacfg -slot 3 -dev 0 -mk -handle MYDEV -enadev 1 -etyp 1 -irq0 10 -irq1 5
NODE = n
Use -slot in the ISACFG utility. The slot number (n) does not represent the slot
in which the device resides. It is a logical, not a physical number. However, the
number must be between 1 and the maximum number of slots on the machine.
Slot number 0 is not available to users.
Example:
>>>isacfg -slot 3 -dev 0 -mk -enadev 1 -etyp 1 -handle MYDEV -dmachan0 1 -irq0 10
This example assigned values to a device represented by slot 3. There must be
at least 3 slots on the machine on which this command is executed. To see which
logical slots are being used, enter the following command:
>>>isacfg -all
DMA = (j,k, ...)
Use -dmachanx in the ISACFG utility. Values j,k, and so on are values 0 through
7, which specify the channels of the DMA controller that the device is using to
relay information. Use the same values for j, k, and so on with ISACFG, but
assign each one to a different DMA channel. You can specify four DMA channels,
using the keywords -dmachan0 through -dmachan3.
Example:
>>>isacfg -slot 3 -dev 0 -mk -enadev 1 -etyp 1 -handle MYDEV -irq0 10 -dmachan0 1 -dmachan1 3
This example assigned two dma channels, 1 and 3, to the device.
PORT = (aa:b, cc:d, ... )
Use -iobasex in the ISACFG utility. You can specify six ports using the keywords
-iobase0 through -iobase5. There is no equivalent for the length fields b, d
etc. The ISACFG utility assumes that the driver knows the length of the port.
Drivers that called the IOC$NODE_DATA routine with the keyword IOC$K_
Managing Peripheral Devices 819