Provides the means to issue various adapter commands to test the card DMA interface and buffer RAM.
The SCIOTRAM operation allows the caller to issue various adapter commands to test the card DMA interface and buffer RAM. The arg parameter block to the SCIOTRAM operation is the sc_ram_test structure. This structure is defined in the /usr/include/sys/scsi.h file and contains the following information:
Note: The SCSI adapter device driver is not responsible for comparing read data with previously written data. After successful completion of write or read operations, the caller is responsible for performing a comparison test to determine the final success or failure of this test.
The SCSI adapter device driver performs no internal retries or other error recovery procedures during execution of this operation. Error logging is inhibited when running this command.
When completed successfully, this operation returns a value of 0. Otherwise, a value of -1 is returned and the errno global variable is set to one of the following values:
/dev/scsi0, /dev/scsi1,..., /dev/scsin | Provide an interface to allow SCSI device drivers to access SCSI devices or adapters. |
The rmt SCSI device driver, scdisk SCSI device driver, SCSI Adapter device driver.