1 # SCSI mode page data base.
3 # Copyright (c) 1995 HD Associates
4 # Copyright (c) 2001 The FreeBSD Project
5 # (contact: dufault@hda.com)
8 # Redistribution and use in source and binary forms, with or without
9 # modification, are permitted provided that the following conditions
11 # 1. Redistributions of source code must retain the above copyright
12 # notice, this list of conditions and the following disclaimer.
13 # 2. Redistributions in binary form must reproduce the above copyright
14 # notice, this list of conditions and the following disclaimer in the
15 # documentation and/or other materials provided with the distribution.
16 # 3. The name of HD Associates
17 # may not be used to endorse or promote products derived from this software
18 # without specific prior written permission.
20 # THIS SOFTWARE IS PROVIDED BY HD ASSOCIATES ``AS IS'' AND
21 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 # ARE DISCLAIMED. IN NO EVENT SHALL HD ASSOCIATES BE LIABLE
24 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 # $FreeBSD: head/share/misc/scsi_modes 312750 2017-01-25 11:47:16Z mav $
34 # The ordering is alphabetical by page name, as it appears in the SCSI spec.
36 # 'i' is a byte-sized integral types, followed by a field width of
37 # 1 through 4 (1 to 4 bytes).
39 # 'b' is a bit-sized integral type
40 # 't' is a bitfield type- followed by a bit field width
42 # 'c' values are character arrays
43 # 'z' values are null-padded strings
46 # '*' suppresses assignment (for 'seeking').
47 # Bitfields are MSB to LSB.
52 0x0a,0x03 "Command Duration Limit A";
54 0x0a,0x04 "Command Duration Limit B";
63 {Queue Algorithm Modifier} t4
78 {SBLP (Supported Block Lengths and Protection)} t1
80 {Ready AEN Holdoff Period} i2
81 {Busy Timeout Period} i2
82 {Extended Self-Test Completion Time} i2
85 0x0a,0x01 "Control Extension" {
92 {Initial Command Priority} t4
93 {Maximum Sense Data Length} i1
96 0x02 "Disconnect-Reconnect" {
97 {Buffer Full Ratio} i1
98 {Buffer Empty Ratio} i1
99 {Bus Inactivity Limit} i2
100 {Disconnect Time Limit} i2
101 {Connect Time Limit} i2
102 {Maximum Burst Size} i2
112 0x16 "Extended Device-Type Specific";
114 0x09 "Peripheral Device" {
115 {Interface Identifier} i2
122 0x1a "Power Condition" {
123 {PM_BG_PRECEDENCE} t1
131 {IDLE_A Condition Timer} i4
132 {STANDBY_Z Condition Timer} i4
133 {IDLE_B Condition Timer} i4
134 {IDLE_C Condition Timer} i4
135 {STANDBY_Y Condition Timer} i4
146 0x1a,0x01 "Power Consumption" {
150 {Power Consumption Identifier} i1
155 0x18 "Protocol-Specific Logical Unit";
157 0x19 "Protocol-Specific Port";
159 # DIRECT ACCESS DEVICES
161 0x0a,0x02 "Application Tag";
163 0x1a,0xf1 "ATA Power Condition";
165 0x1c,0x01 "Background Control" {
172 {Background Medium Scan Interval Time} i2
173 {Background Pre-Scan Time Limit} i2
174 {Minimum Idle Time Before Background Scan} i2
175 {Maximum Time To Suspend Background Scan} i2
179 0x0a,0x06 "Background Operation Control" {
193 {Demand Retention Priority} t4
194 {Write Retention Priority} t4
195 {Disable Pre-fetch Transfer Length} i2
196 {Minimum Pre-fetch} i2
197 {Maximum Pre-fetch} i2
198 {Maximum Pre-fetch Ceiling} i2
199 {FSW (Force Sequential Write)} t1
200 {LBCSS (Logical Block Cache Segment Size)} t1
201 {DRA (Disable Read-Ahead)} t1
205 {Number of Cache Segments} i1
206 {Cache Segment Size} i2
210 0x05 "Flexible Disk" {
213 {Sectors per track} i1
214 {Data bytes per sector} i2
215 {Number of cylinders} i2
216 {Starting cylinder-write precompensation} i2
217 {Starting cylinder-reduced write current} i2
219 {Drive step pulse width} i1
220 {Head settle delay} i2
229 {Write Compensation} i1
231 {Head unload delay} i1
236 {Medium rotation rate} i2
241 0x03 "Format Device" {
243 {Alternate Sectors per Zone} i2
244 {Alternate Tracks per Zone} i2
245 {Alternate Tracks per Logical Unit} i2
246 {Sectors per Track} i2
247 {Data Bytes per Physical Sector} i2
249 {Track Skew Factor} i2
250 {Cylinder Skew Factor} i2
258 0x0a,0x05 "I/O Advice Hints Grouping";
260 0x1c "Informational Exceptions Control" {
275 0x1c,0x02 "Logical Block Provisioning" {
285 0x0b "Medium Types Supported" {
288 {Medium type one supported} i1
289 {Medium type two supported} i1
290 {Medium type three supported} i1
291 {Medium type four supported} i1
294 0x0c "Notch and Partition";
296 0x0a,0xf1 "PATA Control";
298 0x01 "Read-Write Error Recovery" {
299 {AWRE (Auto Write Reallocation Enbld)} t1
300 {ARRE (Auto Read Reallocation Enbld)} t1
301 {TB (Transfer Block)} t1
302 {RC (Read Continuous)} t1
303 {EER (Enable Early Recovery)} t1
304 {PER (Post Error)} t1
305 {DTE (Disable Transfer on Error)} t1
306 {DCR (Disable Correction)} t1
307 {Read Retry Count} i1
309 {Head Offset Count} i1
310 {Data Strobe Offset Count} i1
311 {LBPERE (LBP Error Reporting Enabled)} t1
312 {MWR (Misaligned Write Reporting)} t2
314 {Write Retry Count} i1
316 {Recovery Time Limit} i2
319 0x04 "Rigid Disk Drive Geometry" {
320 {Number of Cylinders} i3
322 {Starting Cylinder-Write Precompensation} i3
323 {Starting Cylinder-Reduced Write Current} i3
325 {Landing Zone Cylinder} i3
328 {Rotational Offset} i1
330 {Medium Rotation Rate} i2
335 0x07 "Verify Error Recovery" {
341 {Verify Retry Count} i1
342 {Verify Correction Span} i1
348 {Verify Recovery Time Limit} i2
351 0x0E "CD-ROM Audio Control Parameters" {
359 {Format of LBAs / sec.} t4
360 {Logical Blocks per Second of Audio Playback} i2
362 {Output Port 0 Channel Selection} t4
363 {Output Port 0 Volume} i1
365 {Output Port 1 Channel Selection} t4
366 {Output Port 1 Volume} i1
368 {Output Port 2 Channel Selection} t4
369 {Output Port 2 Volume} i1
371 {Output Port 3 Channel Selection} t4
372 {Output Port 3 Volume} i1
375 # SEQUENTIAL ACCESS DEVICES
376 0x10 "Device Configuration" {
378 {Change Active Partition} t1
379 {Change Active Format} t1
381 {Active Partition} i1
382 {Write Buffer Full Ratio} i1
383 {Write Buffer Empty Ratio} i1
384 {Write Delay Time} i2
385 {Data Buffer Recovery} t1
386 {Block Identifiers Support} t1
388 {Automatic Velocity Control} t1
389 {Stop on Consecutive Filemarks} t2
390 {Recover Buffer Order} t1
391 {Report Early-Warning} t1
394 {Enable EOD Generation} t1
395 {Synchronize at Early-Warning} t1
397 {Buffer Size at Early-Warning} i3
398 {Select Data Compression Algorithm} i1
400 {SCSI-3 Associated Write Protect} t1
401 {SCSI-3 Persistent Write Protect} t1
402 {SCSI-3 Permanent Write Protect} t1
405 0x0f "Data Compression" {
406 {Data Compression Enabled} t1
407 {Date Compression Capable} t1
409 {Data Decompression Capable} t1
410 {Data Decompression Report on Exception} t2
412 {Compression Algorithm} i4
413 {Decompression Algorithm} i4
418 0x1b "Removable Block Access Capacities" {
419 {System Floppy Type Device} t1
420 {Supports Reporting Format Progress} t1
422 {Non CD Optical Device} t1
423 {Single or Multiple LUN Supported} t1
425 {Total Logical Units Supported} t3
429 # CD-ROM (and CD-R[W]) devices
430 0x2a "CD capabilities and mechanical status" {
443 {Digital Port (2)} t1
444 {Digital Port (1)} t1
450 {C2 Pointers are supported} t1
451 {R-W De-interleaved & corrected} t1
453 {CD-DA Stream is Accurate} t1
454 {CD-DA Commands Supported} t1
455 {Loading Mechanism Type} t3
462 {S/W Slot Selection} t1
463 {Changer Supports Disc Present reporting} t1
464 {Separate Channel Mute Supported} t1
465 {Separate volume levels per channel} t1
466 {Maximum Read Speed Supported (kBps)} i2
467 {Number of Volume Leves Supported} i2
468 {Buffer Size supported by Drive (KB)} i2
469 {Current Read Speed Selected (kBps)} i2
477 {Maximum Write Speed Supported (kBps)} i2
478 {Current Write Speed Supported (kBps)} i2
481 0x1d "Timeout and Protect" {
489 {Group 1 Minimum Timeout} i2
490 {Group 2 Minimum Timeout} i2
494 0x00 "Vendor-Specific";