Initiator Role Custom Packet
controller following a check status and
a request sense data command. Valid
information if bit 14 (additional status)
|
|
|
| is set. |
|
|
|
| This block is |
|
|
|
| firmware private area |
|
|
|
| and only |
|
|
|
| used on the |
|
|
|
| INITIATOR role. |
. |
|
| . |
|
. |
|
| . |
|
$9E |
| xxxxxxxx | xxxxxxxx | Sense data block |
NOTE | 1. | Points to scatter/gather table if scatter/gather bit = 1 in byte 0. | ||
S: |
|
|
|
|
2.If = 0 and if status is "check", SCSI firmware interprets returned SCSI status, and sends a request sense command to the controller; if status is = busy, infinite retries are performed. If = 1, SCSI firmware does not read the SCSI status from the command table, and returned status word in the packet reflects only firmware status.
3.Must be 0. MVME147 SCSI firmware ONLY supports SCSI devices.
4.In TARGET mode, the CDBs is received from the SCSI bus and it will be returned to the user without any modification with CDB length. When a target LUN is not enabled or when ’target device reset’ or ’abort’ message is received, the CDB received by the target role firmware will not be returned to the user. Instead, a error code will be returned.
Example: Sending linked commands to a disk controller
You intend to implement a
2 |