Specifications
TURBOchannel Bus Support
12.2 TURBOchannel on DEC 3000 Model 500
BUSARRAY$Q_BUS_SPECIFIC
The slot base address (dense space) is stored in this field.
12.2.5 Configuring a Device on DEC 3000 Model 500/TURBOchannel
The SYSMAN utility is used to manually configure devices. In order to configure
a TURBOchannel option on DEC 3000 Model 500, the first step is to issue the
SYSMAN IO SHOW BUS command. This command uses the ADP list (pictured
above) to display information on all of the I/O options that are present in the
system. The information in the SYSMAN IO SHOW BUS display is most of the
information that is necessary to configure a device.
The SYSMAN IO CONNECT command is used to actually configure the device.
On DEC 3000 Model 500, this command should be issued as follows:
SYSMAN>IO CONNECT devname /adapter=x /csr=y /vector=z /node=w
/driver=yourdriver.exe
The "devname" parameter should be specified in standard device naming format—
a 2 letter device code, controller letter, and unit number (such as XXA0). The
"adapter" parameter should be specified as the TR number of the TURBOchannel
ADP. This is part of the SYSMAN IO SHOW BUS display.
The "csr" parameter is the base physical address of the TURBOchannel option
slot. The SYSMAN IO SHOW BUS display shows the sparse space slot base
address. The value specified in the "csr" parameter is copied directly to the
IDB$Q_CSR field in the IDB by the SYS$LOAD_DRIVER program. The "vector"
parameter specifies the TURBOchannel slot interrupt vector. This value is
not part of the SYSMAN IO SHOW BUS display. For DEC 3000 Model 500
TURBOchannel, the vector should be specified as:
(TURBOchannel slot number * 4)
The "node" parameter specifies the TURBOchannel slot number. The node
number is part of the SYSMAN IO SHOW BUS display. The specified value
is copied to the CRB$L_NODE field in the CRB by the SYS$LOAD_DRIVER
program. This parameter must be specified in order for routines IOC$NODE_
FUNCTION and IOC$NODE_DATA to work correctly.
The "drivername" parameter is the file name of the driver.
12.2.6 IOC$NODE_DATA
IOC$NODE_DATA is a system specific routine that returns bus-slot specific
information to the caller. On DEC 3000 Model 500 TURBOchannel, IOC$NODE_
DATA can be used by a driver to obtain the TURBOchannel slot sparse or dense
space base physical address.
IOC$NODE_DATA requires a CRB address, a function code, and a pointer
to a buffer as input arguments. The CRB$L_NODE field must contain the
TURBOchannel slot number of the TURBOchannel option (the driver must be
loaded using the /node qualifer). It is up to the caller to supply the address
of a buffer large enough for the requested information. On DEC 3000 Model
500/TURBOchannel, a quadword buffer is required to contain a TURBOchannel
slot physical address.
The function codes available for DEC 3000 Model 500/TURBOchannel are defined
in [LIB.LIS]IOCDEF.SDL and are listed below:
12–15