dpt(7)


dpt -- DPT SCSI host adapter subsystem

Description

The dpt host adapter subsystem enables SCSI target drivers (such as sd01 and st01) to communicate on the SCSI bus with target controllers and logical units. This driver implements the Storage Device Interface (SDI) for such SDI target drivers.

This driver supports hot insertion and removal of devices on the SCSI bus using the sdiadd(1M) and sdirm(1M) commands. It supports DPT WIDE SCSI controllers.

You can access this subsystem directly using the pass-through driver interface. This allows you to issue sb control blocks directly to the target controller. To find the appropriate device to use, while any device is being accessed through the target driver (for example, sd01), use the B_GETDEV ioctl to get the major and minor numbers of the pass-through node. This node can be created and opened for pass-through use (SDI_SEND) ioctl.

The DPT host adapter driver honors the command timeout values as specified in the scb structure; see the scb(D4sdi) manual page. A software watchdog timer enforces the processing time limit. When the watchdog timer detects a job that has exceeded its processing time limit, it attempts to abort the job with a SCSI Job Abort Message. The driver also enforces a time limit on the abort process, thereby ensuring that jobs that timeout are reported to the sending SDI Target Driver whether or not the abort succeeds.


NOTE: The DPT SCSI adapter will not work reliably with the Emulex SCSI/ESDI bridge controller (also known as the AT&T DCM/4E). In the future, a hardware or software solution might be implemented.

For ISA DPT controllers to work in UnixWare, the I/O ports must be set secondary/disabled.


ioctl calls

All of the pass-through ioctl(2) commands documented on the sdi(7) manual page are supported by this driver. In addition, the following command is supported:

B_REDT
reads the extended Equipped Device Table (EDT) data structure that is stored in the dpt driver's internal data structure

Files

/usr/include/sys/dpt.h

/usr/include/sys/scsi.h

/usr/include/sys/sdi.h

/usr/include/sys/sdi_edt.h

/etc/conf/pack.d/dpt/space.c

References

ioctl(2), sc01(7), sd01(7), sdi(7), st01(7), sw01(7), wd7000(7)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.