Sony SDX-800V/R Computer Drive User Manual


 
6.Command Specification SET DEVICE IDENTIFIER
6-100 SONY AIT-3Ex drive SDX-800V series Ver.1.1
6.26. SET DEVICE IDENTIFIER A4h
Table 6-96: SET DEVICE IDENTIFIER command
Bit
Byte
7 6 5 4 3 2 1 0
0 Operation Code (A4h)
1 Reserved Service Action
(06h)
2 – 5 Reserved
6 – 9 Parameter List Length
10 Reserved
11 Control
The SET DEVICE IDENTIFIER command (Table 6-96) requests that the device identifier information in the logical
unit be set to the value received in the SET DEVICE IDENTIFIER command parameter list. In this implementation,
only Service Action 06h is supported (all other options are for disk array use (SCC-2)).
The Identifier set by an initiator may be from 0 (reset) to 64 bytes in increments of 1 byte.
The identifier is preserved over power cycles and reset events (see the REPORT DEVICE IDENTIFIER command).
Service Action: Service Action must be 06h.
If the Service Action is not 06h, the command is terminated with CHECK CONDITION status, the sense key is set to
ILLEGAL REQUEST, and the ASC/ASCQ is set to INVALID FIELD IN CDB.
Parameter List Length: Parameter List Length specifies the length in bytes of the Identifier that is transferred from
the application client to the Logical Unit. The maximum value for this field is 64 bytes; the minimum is 0.
If the parameter list length exceeds 64, the command is terminated with CHECK CONDITION status, the sense key
is set to ILLEGAL REQUEST, and the ASC/ASCQ is set to INVALID FIELD IN CDB.
A parameter list length of ZERO indicates that no data is to be transferred, the identifier in the Logical unit is to be set
to zero length, and subsequent REPORT DEVICE IDENTIFIER commands return an Identifier length of zero.
The SET DEVICE IDENTIFIER parameter list contains the identifier to be set by the logical unit (see Table 6-97).
Table 6-97: SET DEVICE IDENTIFIER Parameter List — Data Format
Bit
Byte
7 6 5 4 3 2 1 0
0 - <= 63 Identifier
The Identifier field is an initiator selected value, to be returned in subsequent valid REPORT DEVICE IDENTIFIER
commands or until reset or until replaced by another valid SET DEVICE IDENTIFIER command.
On successful completion of a SET DEVICE IDENTIFIER command a unit attention shall be generated for all
initiators except the initiator that issued the SET DEVICE IDENTIFIER command with service action 06h. When
reporting the unit attention condition the additional sense code shall be set to DEVICE IDENTIFIER CHANGED.