┌───────────────┬───────────────┬───────────────┬───────────────┐ │Offset │# Bytes │Description │R/W* │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │00h (00) │01h (01) │Command Code = │W │ │ │ │4 │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │01h (01) │01h (01) │Status │R │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │02h (02) │01h (01) │Host Adapter │W │ │ │ │Number │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │03h (03) │01h (01) │SCSI Request │W │ │ │ │Flags │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │04h (04) │04h (04) │Reserved for │- │ │ │ │Expansion = 0 │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │08h (08) │01h (01) │Target ID │W │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │09h (09) │01h (01) │LUN │W │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │0Ah (10) │0Eh (14) │Reserved │- │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │18h (24) │01h (01) │Host Adapter │R │ │ │ │Status │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │19h (25) │01h (01) │Target Status │R │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │1Ah (26) │02h (02) │Real Mode POST │W │ │ │ │Routine │ │ │ │ │Offset** │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │1Ch (28) │02h (02) │Real Mode POST │W │ │ │ │Routine CS** │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │1Eh (30) │02h (02) │Real Mode POST │W │ │ │ │Routine DS** │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │20h (32) │02h (02) │Protected Mode │W │ │ │ │POST Routine │ │ │ │ │Offset │ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │22h (34) │02h (02) │Protected Mode │W │ │ │ │POST Routine CS│ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │24h (36) │02h (02) │Protected Mode │W │ │ │ │POST Routine DS│ │ ├───────────────┼───────────────┼───────────────┼───────────────┤ │26h (38) │16h (22) │Reserved for │- │ │ │ │ASPI Workspace │ │ └───────────────┴───────────────┴───────────────┴───────────────┘
*The R/W column indicates whether the field is sent to ASPI (W), returned from ASPI (R), or reserved (-). **Used by OS/2 1.x only. Fields are not used under OS/2 2.x.
This command is used to reset a specific SCSI target. Note that the structure passed is almost identical to the execute SCSI I/O SRB except that some of the fields are not used.
This command usually returns with zero status indicating that the request was queued successfully. Command completion can be determined by polling for non-zero status or through the use of posting. The SCSI Request Flags byte is defined as follows:
┌─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ │7 │6 │5 │4 │3 │2 │1 │0 │ ├─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┼─────────┤ │Rsvd │Rsvd │Rsvd │Rsvd │Rsvd │Rsvd │Rsvd │Post │ └─────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┴─────────┘The Post bit specifies whether posting is enabled (bit 0 = 1) or disabled (bit 0 = 0).