
4.6 Packet Commands
4.6.7 MODE SENSE (6) command
Table 4.76 MODE SENSE (6) command
Bit | 7 |
| 6 | 5 |
| 4 | 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
| Operation Code (1Ah) |
|
|
| |||
|
|
|
|
|
|
|
| ||||
1 | Logical Unit Number |
| Reserved | DBD |
|
| Reserved |
| |||
|
|
|
|
|
|
|
|
|
| ||
2 |
| PC |
|
|
| Page Code |
|
| |||
|
|
|
|
|
|
|
|
|
| ||
3 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
4 |
|
|
|
|
| Allocation Length |
|
|
| ||
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
This command transfers the mode parameter list to the host. Table 4.77 shows the mode parameter list format.
The Disable Block Descriptor (DBD) bit is ignored.
Page Control (PC) is ignored.
When Page Code is not 3Fh, an error occurs.
Table 4.77 Mode parameter list
Bit | 7 | 6 | 5 |
| 4 | 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Mode Parameter Header |
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The mode parameter list consists of a mode parameter header and page descriptor. Because the page descriptor has no supported page, it always consists of only a header. Table 4.78 shows the mode parameter header format.
Table 4.78 Mode parameter header
Bit | 7 | 6 | 5 |
| 4 | 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
| Mode data Length |
|
|
| ||
|
|
|
|
|
|
|
|
| ||
1 |
|
|
|
| Medium Type Code |
|
|
| ||
|
|
|
|
|
|
|
|
|
| |
2 | WP |
|
|
|
| Reserved |
|
|
| |
|
|
|
|
|
|
|
| |||
3 |
|
|
| Block Descriptor Length |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|