10-byte version

 

 

7

 

6

 

5

4

 

3

2

1

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

Operation Code (5Ah)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

Reserved (0)

 

 

 

DBD

 

Reserved (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

PC

 

 

 

 

 

Page Code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

Sub Page Code

 

 

 

 

Commands

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Allocation Length

 

 

 

 

 

6

 

 

 

 

 

Reserved (0)

 

 

 

 

 

 

7

(MSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CDB fields:

DBD

Disable Block Descriptors flag

 

0

Allows the drive to return the MODE SELECT block descriptor.

 

1

Prevents the drive from returning the MODE SELECT block descriptor.

 

 

PC

Page Control—Indicates the type of page parameter values to be returned to the host, as

 

shown in the following table:

 

 

 

 

 

7

6

Description

 

0

0

Report Current Values: the current values of the parameters are returned.

01 Report Changeable Values: the page returned has its non-changeable parameter fields cleared to 0. The fields that are changeable are set to all 1’s.

10/1 Report Default Values: the page returned contains the power-on/reset/bus-device-reset values of the mode parameters.

Page Code This allows the host to select any specific page, or all the pages supported by the drive.

0The drive returns no mode pages, so only the header and block descriptor are returned.

Any mode The drive returns that page. page code

 

3Fh

The drive returns all mode pages.

 

 

Sub Page

The sub-page code of the page code for data to be returned. If there are no sub-pages, it

Code

should be set to 0.

 

 

Allocation

Specifies the number of bytes that the host has allocated for returned MODE SENSE data.

Length

0 No data transfer will occur. This is not considered an error.

 

nThe maximum number of bytes which the drive should return in its data-out phase. Either the entire mode page or allocation length bytes of the page are returned, whichever is least.

MODE SENSE 1Ah/5Ah 97