12.07.2015 Views

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

18 July 2001 T10/1236-D Revision 20The page control (PC) field defines the type of mode parameter values to be returned in the mode pages. The PCfield is defined in table 63.Table 63 — Page control fieldCode Type of parameter Reference00b Current values 7.8.201b Changeable values 7.8.310b Default values 7.8.411b Saved values 7.8.5The PC field only affects the mode parameters within the mode pages, however the PS bit, PAGE CODE and PAGELENGTH fields should return current values since they have no meaning when used with other types. The modeparameter header and mode parameter block descriptor should return current values.Some <strong>SCSI</strong> devices may not distinguish between current and saved mode parameters and report identical valuesin response to a PC field of either 00b or 11b. See also the description of the save pages (SP) bit in the MODESELECT command.The PAGE CODE field specifies which mode page(s) to return. Mode page code usage is defined in table 64.Table 64 — Mode page code usage for all devicesPage Code00h01h - 1Fh20h - 3Eh3FhDescriptionVendor specific (does not require page format)See specific device-typesVendor specific (page format required)Return all mode pagesAn application client may request any one or all of the supported mode pages from the device server. If an applicationclient issues a MODE SENSE command with a page code value not implemented by the target, the deviceserver shall return CHECK CONDITION status and shall set the sense key to ILLEGAL REQUEST and theadditional sense code to INVALID FIELD IN CDB.A page code of 3Fh indicates that all mode pages implemented by the target shall be returned to the applicationclient. If the mode parameter list exceeds 256 bytes for a MODE SENSE(6) command or 65 536 bytes for a MODESENSE(10) command, the device server shall return CHECK CONDITION status and the sense key shall be set toILLEGAL REQUEST and the additional sense code set to INVALID FIELD IN CDB.Mode page 00h, if implemented, shall be returned after all other mode pages.Mode pages should be returned in ascending page code order except for mode page 00h.If the PC field and the PAGE CODE field are both set to zero the device server should return a mode parameterheader and block descriptor (if applicable).The mode parameter list for all device types for MODE SELECT and MODE SENSE is defined in 8.3. Parts of themode parameter list are specifically defined for each device type. Definitions for the parts of each mode parameterlist that are unique for each device-type may be found in the applicable command standards (see 3.1.12).dpANS <strong>SCSI</strong> <strong>Primary</strong> <strong>Commands</strong> - 2 (SPC-2) 101

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!