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
33 # The ordering is alphabetical by page name, as it appears in the SCSI spec.
35 # 'i' is a byte-sized integral types, followed by a field width of
36 # 1 through 4 (1 to 4 bytes).
38 # 'b' is a bit-sized integral type
39 # 't' is a bitfield type- followed by a bit field width
41 # 'c' values are character arrays
42 # 'z' values are null-padded strings
45 # '*' suppresses assignment (for 'seeking').
46 # Bitfields are MSB to LSB.
51 0x0a,0x03 "Command Duration Limit A";
53 0x0a,0x04 "Command Duration Limit B";
62 {Queue Algorithm Modifier} t4
77 {SBLP (Supported Block Lengths and Protection)} t1
79 {Ready AEN Holdoff Period} i2
80 {Busy Timeout Period} i2
81 {Extended Self-Test Completion Time} i2
84 0x0a,0x01 "Control Extension" {
91 {Initial Command Priority} t4
92 {Maximum Sense Data Length} i1
95 0x02 "Disconnect-Reconnect" {
96 {Buffer Full Ratio} i1
97 {Buffer Empty Ratio} i1
98 {Bus Inactivity Limit} i2
99 {Disconnect Time Limit} i2
100 {Connect Time Limit} i2
101 {Maximum Burst Size} i2
111 0x16 "Extended Device-Type Specific";
113 0x09 "Peripheral Device" {
114 {Interface Identifier} i2
121 0x1a "Power Condition" {
122 {PM_BG_PRECEDENCE} t1
130 {IDLE_A Condition Timer} i4
131 {STANDBY_Z Condition Timer} i4
132 {IDLE_B Condition Timer} i4
133 {IDLE_C Condition Timer} i4
134 {STANDBY_Y Condition Timer} i4
145 0x1a,0x01 "Power Consumption" {
149 {Power Consumption Identifier} i1
154 0x18 "Protocol-Specific Logical Unit";
156 0x19 "Protocol-Specific Port";
158 # DIRECT ACCESS DEVICES
160 0x0a,0x02 "Application Tag";
162 0x1a,0xf1 "ATA Power Condition";
164 0x1c,0x01 "Background Control" {
171 {Background Medium Scan Interval Time} i2
172 {Background Pre-Scan Time Limit} i2
173 {Minimum Idle Time Before Background Scan} i2
174 {Maximum Time To Suspend Background Scan} i2
178 0x0a,0x06 "Background Operation Control" {
192 {Demand Retention Priority} t4
193 {Write Retention Priority} t4
194 {Disable Pre-fetch Transfer Length} i2
195 {Minimum Pre-fetch} i2
196 {Maximum Pre-fetch} i2
197 {Maximum Pre-fetch Ceiling} i2
198 {FSW (Force Sequential Write)} t1
199 {LBCSS (Logical Block Cache Segment Size)} t1
200 {DRA (Disable Read-Ahead)} t1
204 {Number of Cache Segments} i1
205 {Cache Segment Size} i2
209 0x05 "Flexible Disk" {
212 {Sectors per track} i1
213 {Data bytes per sector} i2
214 {Number of cylinders} i2
215 {Starting cylinder-write precompensation} i2
216 {Starting cylinder-reduced write current} i2
218 {Drive step pulse width} i1
219 {Head settle delay} i2
228 {Write Compensation} i1
230 {Head unload delay} i1
235 {Medium rotation rate} i2
240 0x03 "Format Device" {
242 {Alternate Sectors per Zone} i2
243 {Alternate Tracks per Zone} i2
244 {Alternate Tracks per Logical Unit} i2
245 {Sectors per Track} i2
246 {Data Bytes per Physical Sector} i2
248 {Track Skew Factor} i2
249 {Cylinder Skew Factor} i2
257 0x0a,0x05 "I/O Advice Hints Grouping";
259 0x1c "Informational Exceptions Control" {
274 0x1c,0x02 "Logical Block Provisioning" {
284 0x0b "Medium Types Supported" {
287 {Medium type one supported} i1
288 {Medium type two supported} i1
289 {Medium type three supported} i1
290 {Medium type four supported} i1
293 0x0c "Notch and Partition";
295 0x0a,0xf1 "PATA Control";
297 0x01 "Read-Write Error Recovery" {
298 {AWRE (Auto Write Reallocation Enbld)} t1
299 {ARRE (Auto Read Reallocation Enbld)} t1
300 {TB (Transfer Block)} t1
301 {RC (Read Continuous)} t1
302 {EER (Enable Early Recovery)} t1
303 {PER (Post Error)} t1
304 {DTE (Disable Transfer on Error)} t1
305 {DCR (Disable Correction)} t1
306 {Read Retry Count} i1
308 {Head Offset Count} i1
309 {Data Strobe Offset Count} i1
310 {LBPERE (LBP Error Reporting Enabled)} t1
311 {MWR (Misaligned Write Reporting)} t2
313 {Write Retry Count} i1
315 {Recovery Time Limit} i2
318 0x04 "Rigid Disk Drive Geometry" {
319 {Number of Cylinders} i3
321 {Starting Cylinder-Write Precompensation} i3
322 {Starting Cylinder-Reduced Write Current} i3
324 {Landing Zone Cylinder} i3
327 {Rotational Offset} i1
329 {Medium Rotation Rate} i2
334 0x07 "Verify Error Recovery" {
340 {Verify Retry Count} i1
341 {Verify Correction Span} i1
347 {Verify Recovery Time Limit} i2
350 0x0E "CD-ROM Audio Control Parameters" {
358 {Format of LBAs / sec.} t4
359 {Logical Blocks per Second of Audio Playback} i2
361 {Output Port 0 Channel Selection} t4
362 {Output Port 0 Volume} i1
364 {Output Port 1 Channel Selection} t4
365 {Output Port 1 Volume} i1
367 {Output Port 2 Channel Selection} t4
368 {Output Port 2 Volume} i1
370 {Output Port 3 Channel Selection} t4
371 {Output Port 3 Volume} i1
374 # SEQUENTIAL ACCESS DEVICES
375 0x10 "Device Configuration" {
377 {Change Active Partition} t1
378 {Change Active Format} t1
380 {Active Partition} i1
381 {Write Buffer Full Ratio} i1
382 {Write Buffer Empty Ratio} i1
383 {Write Delay Time} i2
384 {Data Buffer Recovery} t1
385 {Block Identifiers Support} t1
387 {Automatic Velocity Control} t1
388 {Stop on Consecutive Filemarks} t2
389 {Recover Buffer Order} t1
390 {Report Early-Warning} t1
393 {Enable EOD Generation} t1
394 {Synchronize at Early-Warning} t1
396 {Buffer Size at Early-Warning} i3
397 {Select Data Compression Algorithm} i1
399 {SCSI-3 Associated Write Protect} t1
400 {SCSI-3 Persistent Write Protect} t1
401 {SCSI-3 Permanent Write Protect} t1
404 0x0f "Data Compression" {
405 {Data Compression Enabled} t1
406 {Date Compression Capable} t1
408 {Data Decompression Capable} t1
409 {Data Decompression Report on Exception} t2
411 {Compression Algorithm} i4
412 {Decompression Algorithm} i4
417 0x1b "Removable Block Access Capacities" {
418 {System Floppy Type Device} t1
419 {Supports Reporting Format Progress} t1
421 {Non CD Optical Device} t1
422 {Single or Multiple LUN Supported} t1
424 {Total Logical Units Supported} t3
428 # CD-ROM (and CD-R[W]) devices
429 0x2a "CD capabilities and mechanical status" {
442 {Digital Port (2)} t1
443 {Digital Port (1)} t1
449 {C2 Pointers are supported} t1
450 {R-W De-interleaved & corrected} t1
452 {CD-DA Stream is Accurate} t1
453 {CD-DA Commands Supported} t1
454 {Loading Mechanism Type} t3
461 {S/W Slot Selection} t1
462 {Changer Supports Disc Present reporting} t1
463 {Separate Channel Mute Supported} t1
464 {Separate volume levels per channel} t1
465 {Maximum Read Speed Supported (kBps)} i2
466 {Number of Volume Leves Supported} i2
467 {Buffer Size supported by Drive (KB)} i2
468 {Current Read Speed Selected (kBps)} i2
476 {Maximum Write Speed Supported (kBps)} i2
477 {Current Write Speed Supported (kBps)} i2
480 0x1d "Timeout and Protect" {
488 {Group 1 Minimum Timeout} i2
489 {Group 2 Minimum Timeout} i2
493 0x00 "Vendor-Specific";