MODE SENSE (6) COMMAND (1Ah)
The MODE SENSE (6) command provides a means for a target to report parameters to the initiator. It is a complementary to the MODE SELECT (6) command. See Tables 19 and 20.
Table 19. Mode Sense CDB
Bit | 7 |
| 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Byte |
| ||||||||
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
| Operation Code (1Ah) |
|
|
| |
|
|
|
|
|
|
| |||
1 | Logical Unit Number (RSVD) | Reserve | DBD |
| Reserved |
| |||
|
|
|
|
|
|
|
|
| |
2 |
| PC |
|
| Page Code |
|
| ||
|
|
|
|
|
|
|
|
|
|
3 |
|
|
|
| Reserved |
|
|
| |
|
|
|
|
|
|
|
|
| |
4 |
|
|
|
| Allocation Length |
|
|
| |
|
|
|
|
|
|
|
|
| |
5 |
|
|
|
| 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 20. Page Code Field Descriptions
Page Code | Description | Subclause |
|
|
|
00h |
| |
|
|
|
01h - 1Fh | See specific |
|
|
|
|
20h - 3Eh |
| |
|
|
|
3Fh | Return all mode pages |
|
|
|
|
ZeusIOPS | 43 |