Inquiry
92 SL500: Interface Reference Manual • July 2008 Revision: F • 96122
Inquiry
The Inquiry command (12h) requests that the library send to the initiator
information regarding the library’s parameters.
The library terminates the Data In phase when it has transferred either the number
of bytes specified by the Allocation Length field or all of the available inquiry data,
whichever is less.
■ The data length for the standard inquiry data the library returns is 24h (36d) bytes.
■ The data length for page 0 is 07h (7d) for fibre and 06h (6d) for LVD.
■ The data length for the unit serial number page (80h) is 0fh (15d) bytes.
■ The data length for the device identification page (83h) is 20h (32d).
Note – The Inquiry command returns check condition status only when the
requested data cannot be returned. This command will not clear any pending unit
attention conditions.
TABLE 6-8 Inquiry Command
Byte
Bit
765432 1 0
0Operation Code (12h)
1 Ignored Reserved (00h) CmdDt
(0)
EVPD
2Page Code
3
to
4
MSB
Allocation Length
LSB
5 Control Byte (00h)
Inquiry Command Definitions:
CmdDt Command support data is not supported (0).
EVPD The enable vital product data bit indicates the type of inquiry data the initiator is
requesting. Supported values are:
■ 0 = Request for standard inquiry data
■ 1 = Request for vital support product data page
Page Code If the EVPD value is 0, this field is set to 00h.
If the EVPD value is 1, this field must be:
■ 00h = Supported vital product pages
■ 80h = Unit serial number page
■ 83h = Device identification page (Fibre only)
Allocation Length The allocation length field specifies the number of bytes the initiator has allocated
for data returned from the Inquiry command.
A value of 0 indicates that no inquiry data is to be transferred.
This condition is not considered an error.