[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 2

IOCINFO (Device Information) tmscsi Device Driver ioctl Operation

Purpose

Returns a structure defined in the /usr/include/sys/devinfo.h file.

Note: This operation is not supported by all SCSI I/O controllers.

Description

The IOCINFO ioctl operation returns a structure defined in the /usr/include/sys/devinfo.h header file. The caller supplies the address to an area of type struct devinfo in the arg parameter to the IOCINFO operation. The device-type field for this component is DD_TMSCSI; the subtype is DS_TM. The information returned includes the device's device dependent structure (DDS) information and the host SCSI adapter maximum transfer size for initiator-mode requests. The IOCINFO ioctl operation is allowed for both target and initiator modes. This command is not required for the caller, but it is useful for programs that need to know what the maximum transfer length is for write subroutines. It is also useful for calling programs that need the SCSI ID or logical unit number (LUN) of the device instance in use.

Files

/dev/tmscsi0, /dev/tmscsi1,..., /dev/tmscsin Support processor-to-processor communications through the SCSI target-mode device driver.

Related Information

The rmt SCSI device driver, scdisk SCSI device driver, SCSI Adapter device driver, tmscsi SCSI device driver.


[ Previous | Next | Contents | Home | Search ]