Specifications
ATAPI For Streaming Tape QIC-157 Rev B
63
6.8.8.13. Mode Parameters
This section describes the block descriptors and the pages used with MODE SELECT and MODE
SENSE commands that are applicable to Devices.
Table 6-35 Mode Page Codes
Page Code Description Reference Type
00h Vendor specific (do not require page format)
01h - 0Eh Reserved
0Fh Data Compression Page 6.8.8.55 on page 72
10h Reserved
11h Medium Partition Page 6.8.8.64 on page 76 Mandatory for QFA
15h - 3Dh Vendor Specific (page format required)
2Ah Capabilities and Mechanical Status 6.8.8.73 on page 77
3Fh Returns all pages (valid only for the MODE
SENSE command)
The mode parameter list shown in Table 6-36 contains a header, followed by zero or more block
descriptors, followed by zero or more variable-length pages. Parameter lists are defined for each
Device type.
Table 6-36 Mode Parameter List
Bit
Byte
7 6 5 4 3 2 1 0
0 - n Mode Parameter Header
0 - n Block Descriptor(s)
0 - n Page(s)
Table 6-37 Mode Parameter Header
Bit
Byte
7 6 5 4 3 2 1 0
0 Mode Data Length
1 Medium Type
2 Device-Specific Parameter
3 Block Descriptor Length
When using the MODE SENSE command, the mode data length field specifies the length in bytes of
the following data that is available to be transferred. The mode data length does not include itself.
When using the MODE SELECT command, this field is reserved.
Implementor's Note: ATAPI Devices limit the MODE SENSE returned data to 65535 bytes.
Medium types are unique for each Device type. Refer to the mode parameters section of the specific
Device type for definition of these values.
Implementor's Note: Refer to Table 6-40 for a table of medium types for Streaming Tape Devices.
The Device specific parameter is unique for each Device type. Refer to the mode parameters section of
the specific Device type for definition of this field. Some Device types reserve all or part of this field.
The block descriptor length specifies the length in bytes of all the block descriptors. It is equal to the
number of block descriptors times eight and does not include pages or vendor-specific parameters, if