SET DEVICE IDENTIFIERA4h

SET DEVICE IDENTIFIER allows a initiator to set the Device ID information to that supplied in the Parameter List. This information can be later retrieved by the REPORT DEVICE IDENTIFIER command.

Upon successful completion the command will post sense key UNIT ATTENTION with additional sense of 3F05h (device identifier changed) to all initiators except the one that issued the command. Once set the Device Identifier will only be cleared by a successful Set Device Identifier command or a drive reset.

Pre-execution checks:

Illegal Field Reservation Deferred Error Unit Attention

Command descriptor block:

 

 

7

 

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Operation

Code (A4h)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

Reserved (0)

 

 

 

Service Action (06h)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2–5

 

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6

(MSB)

 

 

 

Parameter List Length

 

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10

 

 

 

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

11

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CDB fields:

Service Action Must be 06h

Parameter List Length The length in bytes of the Device Identifier to be set. If the value exceeds 64, CHECK CONDITION is returned with additional sense of 2400h (invalid field in CDB).

0 Not an error, but clears any previously stored Device ID.

Data

The format of the Device Identifier supplied in the Parameter List is as follows:

 

 

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

0

(MSB)

 

 

 

Identifier

 

 

 

 

 

 

 

 

 

 

 

 

 

n

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Commands

SET DEVICE IDENTIFIER A4h 171