beautypg.com

Set device identifier a4h, Pre-execution checks, Command descriptor block – HP Q153090901 User Manual

Page 171: Cdb fields, Data

background image

SET DEVICE IDENTIFIER A4h

C

omm

an

ds

171

SET DEVICE IDENTIFIER

A4h

S

ET 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:

Command descriptor block:

CDB fields:

Data

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

Illegal Field

Reservation

Deferred Error

Unit Attention

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

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.

7

6

5

4

3

2

1

0

0

(MSB)

Identifier

n

(LSB)