User`s manual
Returned Errors
D-4 Single Board Computers SCSI Software UserÕs Manual
D
siop_key Error Codes
For the field siop_key, the following error codes are listed along with an
explanation of their meaning and recommended response. Some of these
errors are also returned for an siop_init() call, in which case, they are located in
the LSB of the returned value.
SI_GOOD (0x00)
Current command has completed successfully. No corrective action is
necessary.
SI_NOP (0x01)
An siop_struc was sent with no command mode bit (i.e., INTATR, TARG, or
CONFIG) set in the cmd_ctrl word. The user may have intentionally issued this
command, in which case the returned status indicates that the desired no
operation action has occurred. Otherwise, the user has issued an siop_struc in
error and must set one of the command mode bits.
SI_SCSIRST (0x02)
The Firmware has either detected or issued a SCSI bus reset. All commands
currently outstanding to the Firmware at the time of a SCSI bus reset are
terminated with this status. All commands which are terminated in a
SI_SCSIRST may be reissued by the user. The Firmware status information
for all target devices is set to asynchronous data transfers and tagged
command queuing support is disabled.
SI_DEVRST (0x03)
This status is returned only for target mode commands outstanding to the
Firmware. It indicates that a SCSI device reset message has been received by
the Firmware in target mode. The target application task should reset itself in
accordance to its configured reset mode and ready itself to receive more target
commands.
SI_ABRT (0x04)
This status is returned only for target mode commands outstanding to the
Firmware. It indicates that a SCSI abort message has been received by the
Firmware in target mode for the specified logical unit. The target task should
abort the current I/O and all queued I/O.