scsi_dpt(7) UNIX System V(DPT PM2012) scsi_dpt(7)
NAME
scsidpt - DPT PM2012 SCSI host adapter subsystem
DESCRIPTION
The DPT PM2012 host adapter subsystem serves as a means for SCSI target
drivers (such as scsidisk, scsitape, and so on) to communicate on the
SCSI bus with target controllers and logical units. This driver
implements the SCSI Driver Interface (SDI) for such SCSI target drivers.
It is also possible to access this subsystem via the pass-through driver
interface. To find the appropriate device to use, while any device is
being accessed through the target driver, use the BGETDEV ioctl to get
the major and minor numbers of the pass-through node. This node may be
created and opened for use.
ioctl Calls
There are three groups of ioctl commands [see ioctl(2) in the
Programmer's Reference Manual] supported by scsidpt. The first group
contains the ioctl commands used by the scsidpt driver itself:
SDISEND Used to send a pass-through command to a target
controller, bypassing the associated target driver.
SDIBRESET Used to reset the SCSI bus.
BREDT Used to read the extended edt data structure that is
stored in the scsidpt driver's internal data
structure.
BHACNT Used to get the value of the number of host adapters
the scsidpt driver is configured for.
The second group is used by the scsidpt driver and all target drivers
that use the SDI protocol to communicate with their associated target
controllers.
BGETTYPE Return the bus name (for example, scsi) and device
driver name of a specific device.
The third group should be supported by all target drivers that use the
SDI protocol to communicate with their associated target controllers.
This ioctl is not supported by the scsidpt driver.
BGETDEV Return the pass-through major and minor numbers to
the calling utility to allow creation of a pass-
through special device file.
FILES
/usr/include/sys/dpt.h
/usr/include/sys/scsi.h
/usr/include/sys/sdi.h
/usr/include/sys/sdiedt.h
10/89 Page 1
scsi_dpt(7) UNIX System V(DPT PM2012) scsi_dpt(7)
/etc/conf/pack.d/scsidpt/space.c
SEE ALSO
scsiadaptec(7), scsicdrom(7), scsidisk(7), scsitape(7),
scsiwd7000(7), scsiworm(7)
ioctl(2) in the Programme's Reference Manual
Programmer's Guide: SCSI Driver Interface (SDI)
Page 2 10/89