Mode Sense (6)
128 SL500: Interface Reference Manual • July 2008 Revision: F • 96122
Mode Sense (6) Command Definitions:
DBD Disable Block Descriptors is ignored.
Page Control Defines the type of parameters to be returned for the Mode Sense command,
values include:
0h (00b) = Current Values:
The library returns the current parameter values, including:
Parameters set in the last successful Mode Select command.
Default values if saved values are unavailable or invalid.
Saved values if a MODE command has not been executed since the last power-
on, interface reset, or Bus Device Reset.
1h (01b) = Changeable Values:
The library returns the changeable parameter masks.
All requested pages are returned
Pages indicate which parameters are changeable by the initiator
All bits of changeable parameters are set to 1
All bits of parameters that are not changeable are set to 0
2h (10b) = Default Values:
The library returns the default values.
Requested pages are returned with each supported parameter set to its default
Parameters not supported by the library are set to 0.
Default values for the Element Address Assignment page are based on the
configuration of the library.
3h (11b) = Saved Values:
The library returns the saved values.
Requested pages are returned with supported parameters set to its saved
value.
Parameters not supported by the library are set to 0.
This option is valid only with mode pages that can be saved.
Page Code Specifies which pages the library returns, including:
■ 18h = Protocol Specific Logical Unit page
■ 19h = Protocol Specific Port Control page
■ 1Ch = Informational Exceptions TapeAlert page
■ 1Dh = Element Address Assignment page
■ 1Eh = Transport Geometry page
■ 1Fh = Device Capabilities page
■ 3Fh = All pages (in the above order)
SubPage Code Not supported
Allocation Length Specifies the length of the parameter list the library returns.
The maximum length is 4Ch (76d) bytes.
The length varies based on the Page Code selected:
■ 4 bytes for the parameter list header (always present)
■ 8 additional bytes for the Protocol Specific Logical Unit Control page
■ 8 additional bytes for the Protocol Specific Port Control page
■ 12 additional bytes for the Informational Exceptions TapeAlert page
■ 20 additional bytes for the Element Address Assignment page
■ 4 additional bytes for the Transport Geometry page
■ 20 additional bytes for the Device Capabilities page
The library transfers the number of bytes specified by the Allocation Length or
the available Mode Sense data, whichever is less.