SCIOGTHW (Gathered Write) SCSI Adapter Device Driver ioctl Operation

Purpose

Allows the caller to verify that the SCSI adapter device driver to which this device instance is attached supports gathered writes.

Description

This operation allows the caller to verify that the gathered write function is supported by the SCSI adapter device driver before the caller attempts such an operation. The SCIOGTHW operation fails if a SCSI adapter device driver does not support gathered writes.

The arg parameter to the SCIOGTHW operation is set to null by the caller to indicate no input parameter is passed.

Note: This operation is not supported by all SCSI I/O Controllers. If not supported, errno is set to EINVAL and a value of -1 is returned.

Return Values

When completed successfully, the SCIOGTHW operation returns a value of 0, meaning gathered writes are supported. Otherwise, a value of -1 is returned and errno global variable is set to EINVAL.

Files

Item Description
/dev/scsi0, /dev/scsi1,..., /dev/scsin Provide an interface to allow SCSI device drivers to access SCSI devices or adapters.
/dev/vscsi0, /dev/vscsi1,..., /dev/vscsin Provide an interface to allow SCSI-2 Fast/Wide Adapter/A and SCSI-2 Differential Fast/Wide Adapter/A device drivers to access SCSI devices or adapters.