12.07.2015 Views

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

T10/1236-D Revision 20 18 July 20017.2.6 Target descriptors7.2.6.1 Target descriptors introductionAll target descriptors are 32 bytes in length and begin with a four-byte header (see table 17) that contains theDESCRIPTOR TYPE CODE field, that identifies the format of the descriptor. The assigned values for target descriptorstype codes are shown in table 16. Support for each target descriptor format is optional. If copy manager receivesan unsupported descriptor type code in a target descriptor, the command shall be terminated with CHECKCONDITION status. The sense key shall be set to ILLEGAL REQUEST and the additional sense code shall be setto UNSUPPORTED TARGET DESCRIPTOR TYPE CODE.Table 17 — Target descriptor formatBitByte7 6 5 4 3 2 1 00 DESCRIPTOR TYPE CODE (E0 - FFh)1 Reserved NUL PERIPHERAL DEVICE TYPE2 Reserved3 Reserved427Target descriptor parameters2831Device type specific parametersThe DESCRIPTOR TYPE CODE field is described in 7.2.5.A null device (NUL) bit of zero indicates that the target descriptor identifies a <strong>SCSI</strong> device that is expected torespond to an INQUIRY command and to which data movement commands may be sent. A NUL bit of oneindicates that the descriptor identifies a null device that is not expected to be the recipient of any <strong>SCSI</strong> commands.If NUL is one, bytes 4-27 of the target descriptor shall be ignored. If the processing required by a segmentdescriptor necessitates sending a command to a target device whose target descriptor has the NUL bit set to one,then the EXTENDED COPY command shall be terminated as if an unreachable target had been encountered (see7.2.3).NOTE 4 Target descriptors with the NUL bit set to one are useful for processing the residual data from previoussegment descriptors without affecting any media. For example, a segment descriptor of type 06h (stream device todiscard) with a byte count of zero, CAT equal to zero, and a null source target descriptor with PAD equal to one maybe used to discard all residual data.The PERIPHERAL DEVICE TYPE field is described in 7.3.2. The value in the DESCRIPTOR TYPE CODE field determinesthe format of the target descriptor parameters that follow the four-byte header and precede the device type specificparameters. The values in the DESCRIPTOR TYPE CODE field are listed in table 16.The value in the PERIPHERAL DEVICE TYPE field determines the format of the device type specific parameters thatfollow the target descriptor parameters. The device type specific parameters convey information specific to thetype of device identified by the target descriptor.50 dpANS <strong>SCSI</strong> <strong>Primary</strong> <strong>Commands</strong> - 2 (SPC-2)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!