MODE SENSE (10) COMMAND (5Ah)
The MODE SENSE (10) command provides a means for a target to report parameters to the initiator. It is complementary to the MODE SELECT (10) command. Byte 9 is ignored.
|
|
|
| Table 27. | Mode Sense (10) Command (5Ah) |
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
Bit | 7 |
| 6 |
| 5 | 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
|
|
| Operation Code (5Ah) |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
1 | 0 |
| 0 |
| 0 | Reserved |
| DBD |
|
| Reserved |
|
|
|
|
|
|
|
|
|
| ||||
|
| Reserved |
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
| PCF |
|
|
|
| Page Code |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| |
3 |
|
|
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
|
| |||
4 |
|
|
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
|
| |||
5 |
|
|
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
|
| |||
6 |
|
|
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
7 | (MSB) |
|
|
|
| Allocation Length |
|
|
| |||
|
|
|
|
|
|
|
|
| ||||
8 |
|
|
|
|
|
|
| (LSB) | ||||
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| |
9 |
|
|
|
|
| Control |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
A Disable Block Descriptors (DBD) bit of zero indicates that the target may return zero or more block descriptors in the returned MODE SENSE data, at the target's discretion. A DBD bit of one specifies that the target shall not return any block descriptors in the returned MODE SENSE data. The page control (PC) field defines the type of mode parameter values to be returned in the mode pages. The page code specifies which mode page to return.
Table 28. Page Code Field Descriptions for Mode Sense (10)
Page Code | Description | Subclause |
|
|
|
00h |
| |
|
|
|
01h - 1Fh | See specific device types |
|
|
|
|
20h - 3Eh |
| |
|
|
|
3Fh | Return all mode pages |
|
|
|
|
50 | ZeusIOPS |