5.14MODE SENSE (6) Command (1Ah)

The MODE SENSE (6) command allows the initiator to read the drive's sector descriptor and mode pages. The MODE SENSE Command Descriptor Sector is shown in Table 5-89and the data fields are described in Table 5-90.The Mode Parameter Header is shown in Table 5-91and the data fields are described in Table 5-92.

Table 5-89MODE SENSE (6) Command Descriptor Block-Data Format

Bit

7

 

6

 

5

4

 

3

 

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

Operation Code (1Ah)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

Reserved

 

 

DBD

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

PC

 

 

 

 

Page

Code

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

Sub Page Code

 

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

 

 

Allocation Length

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

 

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5-90MODE SENSE Command-Field Descriptions

Data Field

 

Description

 

 

DBD

Disable Block Descriptor. When the value is 0, the drive returns its Block Descriptor

followed by the requested page(s). When the value is 1, the drive returns only the re-

 

quested pages.

 

Page Control. Determines which type of page values are returned. These values are:

PC

00b

Current

01b

Changeable

 

 

10b

Default

 

11b

Saved

 

The Page Code field determines the pages to be returned to the initiator in the com-

Page Code

mand's data-in buffer transfer. Refer to Table 5-49and Table 5-93for a complete list of

the Mode Pages (changeable and read-only). A Page Code of 3Fh causes all supported

 

 

pages to be returned.

 

 

Sub Page Code

The Sub Page Code field determines the sub pages to be returned to the initiator in the

command's data-in buffer transfer. A Sub Page Code of 0xFF causes all supported sub

 

pages to be returned.

Table 5-91Mode Parameter Header (6 Byte)-Data Format

Bit

7

6

5

4

3

 

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

0

 

 

 

Mode Data Length

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

Medium Type

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

Device-Specific Parameter

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

Block Descriptor Length

 

 

 

 

 

 

 

 

 

 

 

 

 

Maxtor Atlas 10K V

5-65