INQUIRY | 6.Command Specification |
6.2.INQUIRY 12h
Bit | 7 | 6 | 5 |
| 4 |
|
| 3 | 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
| Operation |
| Code (12h) |
|
|
| |
1 |
|
|
| Reserved |
|
|
|
| CmdDT | EVPD | |
2 |
|
|
|
| Page or Operation Code |
|
|
| |||
3 |
|
|
|
|
| Reserved |
|
|
| ||
4 |
|
|
|
| Allocation Length |
|
|
| |||
5 |
|
|
|
|
| Control |
|
|
|
The INQUIRY command requests that the drive send information regarding the drive parameters to the initiator.
CmdDT: The Command support data (CmdDT) bit of one specifies that the drive returns the optional support data specified by the operation code field.
EVPD: The Enable Vital Product Data (EVPD) bit of one specifies that the drive returns the optional vital product data specified by the page code field.
If both the CmdDT and EVPD bits are zero, the drive returns the standard INQUIRY data. If the page or operation code field is not zero when both CmdDT and EVPD are zero, the drive returns a CHECK CONDITION status with an ILLEGAL REQUEST Sense Key.
If the CmdDT and EVPD bits are one, the drive returns a CHECK CONDITION status with an ILLEGAL REQUEST Sense Key.
When the EVPD bit is set to one, the drive returns vital product data that is specified in the page or operation code field. If the page or operation code field is reserved or not implemented by the target, the target will terminate the command with a CHECK CONDITION status. The sense key will be set to ILLEGAL REQUEST.
When the CmdDT bit is set to one, the page or operation field specifies the SCSI operation code for which the drive will return command support data.
Allocation Length: This specifies the maximum number of bytes that the initiator has allocated for returned Inquiry data. An Allocation Length of ZERO indicates that no Inquiry data is transferred. This condition is not considered an error. The drive will terminate the
SONY |