A SERVICE OF

logo

MODE SENSE
Both the 10-byte and the 6-byte versions of the command are supported.
Table 28. Byte MODE SENSE Command
76543210
0 Operation Code (1Ah)
1 Logical Unit Number (0) Reserved DBD Reserved
2 PC Page Code
3 Reserved
4 Allocation Length
5 Control
Table 29. Byte MODE SENSE Command
76543210
0 Operation Code (5Ah)
1 Logical Unit Number (0) Reserved DBD Reserved
2 PC Page Code
3 Reserved
4 Reserved
5 Reserved
6 Reserved
7
Allocation Length
8
9 Control
The MODE SENSE command requests that the drive send its configuration data to
the initiator. Pages 01h, 02h, 0Fh, 10h, and 1Ch are supported. Mode Pages 18h
and 19h are supported only when the device is attached by a Fibre Channel
interface. A page 3Fh request returns all supported pages.
If the Disable Block Descriptors (DBD) flag is set, then no block descriptors are
returned with the mode data. If it is clear, then block descriptors are returned.
If the Page Control (PC) field is set to 00b, the current configuration is returned. If it
is set to 01b, the configuration is returned with every bit that can be modified set to
1 and every bit that cannot be modified set to 0. If it is set to 10b or 11b, the
power-on configuration is returned.
The Page Code should be set to the page to be returned.
Chapter 2. Command Support 27