u0.scsi.cdb_length
u0.scsi.scsi_status
The device driver does not know the contents of the CDB. The driver only passes on
the CDB to the hardware. See the relevant hardware documentation to determine what
CDBs are valid for a particular SSA physical disk.
Return Values
If the command was successfully sent to the adapter card, this operation returns a
value of 0. Otherwise, it returns a value of -1, and sets the errno global variable set to
one of the following values:
EIO
EINVAL
EPERM
ENOMEM
If the return code is 0, the result field of the ssadisk_ioctl_parms structure is valid.
The return code indicates whether the adapter was able to process the command
successfully.
Files
/dev/pdisk0, /dev/pdisk1, ..., /dev/pdiskn
/dev/hdisk0, /dev/hdisk1,..., /dev/hdiskn
284
User's Guide and Maintenance Information
Set by the caller to indicate the length of the CDB.
Contains the SCSI status that is returned for the command.
Either an unrecoverable I/O error has occurred, or the hardware did not
recognize the SCSI command as valid.
Either the
set to a length that is not valid, or the
structure was set to a value that is not valid.
The caller did not have an effective user ID (EUID) of 0.
The device driver was unable to allocate or pin enough memory to complete
the operation.
Provide an interface to allow SSA device drivers to access physical SSA disks.
Provide an interface to allow SSA device drivers to access logical SSA disks.
field in the
structure was
field in the
Need help?
Do you have a question about the Advanced SerialRAID Adapters SA33-3285-02 and is the answer not in the manual?
Questions and answers