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
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 "Control Mode Page" {
59 {Queue Algorithm Modifier} t4
76 {Ready AEN Holdoff Period} i2
77 {Busy Timeout Period} i2
78 {Extended Self-Test Completion Time} i2
81 0x02 "Disconnect-Reconnect Page" {
82 {Buffer Full Ratio} i1
83 {Buffer Empty Ratio} i1
84 {Bus Inactivity Limit} i2
85 {Disconnect Time Limit} i2
86 {Connect Time Limit} i2
87 {Maximum Burst Size} i2
97 0x16 "Extended Device-Type Specific Page";
99 0x1c "Informational Exceptions Control Page" {
114 0x09 "Peripheral Device Page" {
115 {Interface Identifier} i2
122 0x1a "Power Condition Page" {
127 {Idle Condition Timer} i4
128 {Standby Condition Timer} i4
131 0x18 "Protocol-Specific LUN Page";
133 0x19 "Protocol-Specific Port Page";
135 # DIRECT ACCESS DEVICES
136 0x08 "Caching Page" {
145 {Demand Retention Priority} t4
146 {Write Retention Priority} t4
147 {Disable Pre-fetch Transfer Length} i2
148 {Minimum Pre-fetch} i2
149 {Maximum Pre-fetch} i2
150 {Maximum Pre-fetch Ceiling} i2
153 0x05 "Flexible Disk Page" {
156 {Sectors per track} i1
157 {Data bytes per sector} i2
158 {Number of cylinders} i2
159 {Starting cylinder-write precompensation} i2
160 {Starting cylinder-reduced write current} i2
162 {Drive step pulse width} i1
163 {Head settle delay} i2
172 {Write Compensation} i1
174 {Head unload delay} i1
179 {Medium rotation rate} i2
184 0x03 "Format Device Page" {
186 {Alternate Sectors per Zone} i2
187 {Alternate Tracks per Zone} i2
188 {Alternate Tracks per Logical Unit} i2
189 {Sectors per Track} i2
190 {Data Bytes per Physical Sector} i2
192 {Track Skew Factor} i2
193 {Cylinder Skew Factor} i2
201 0x0b "Medium Types Supported Page" {
204 {Medium type one supported} i1
205 {Medium type two supported} i1
206 {Medium type three supported} i1
207 {Medium type four supported} i1
211 0x0c "Notch and Partition Page";
213 0x01 "Read-Write Error Recovery Page" {
214 {AWRE (Auto Write Reallocation Enbld)} t1
215 {ARRE (Auto Read Reallocation Enbld)} t1
216 {TB (Transfer Block)} t1
217 {RC (Read Continuous)} t1
218 {EER (Enable Early Recovery)} t1
219 {PER (Post Error)} t1
220 {DTE (Disable Transfer on Error)} t1
221 {DCR (Disable Correction)} t1
222 {Read Retry Count} i1
224 {Head Offset Count} i1
225 {Data Strobe Offset Count} i1
227 {Write Retry Count} i1
229 {Recovery Time Limit} i2
232 0x04 "Rigid Disk Drive Geometry Page" {
233 {Number of Cylinders} i3
235 {Starting Cylinder-Write Precompensation} i3
236 {Starting Cylinder-Reduced Write Current} i3
238 {Landing Zone Cylinder} i3
241 {Rotational Offset} i1
243 {Medium Rotation Rate} i2
248 0x07 "Verify Error Recovery Page" {
254 {Verify Retry Count} i1
255 {Verify Correction Span} i1
261 {Verify Recovery Time Limit} i2
264 0x0E "CD-ROM Audio Control Parameters Page" {
272 {Format of LBAs / sec.} t4
273 {Logical Blocks per Second of Audio Playback} i2
275 {Output Port 0 Channel Selection} t4
276 {Output Port 0 Volume} i1
278 {Output Port 1 Channel Selection} t4
279 {Output Port 1 Volume} i1
281 {Output Port 2 Channel Selection} t4
282 {Output Port 2 Volume} i1
284 {Output Port 3 Channel Selection} t4
285 {Output Port 3 Volume} i1
288 # SEQUENTIAL ACCESS DEVICES
289 0x10 "Device Configuration Page" {
291 {Change Active Partition} t1
292 {Change Active Format} t1
294 {Active Partition} i1
295 {Write Buffer Full Ratio} i1
296 {Write Buffer Empty Ratio} i1
297 {Write Delay Time} i2
298 {Data Buffer Recovery} t1
299 {Block Identifiers Support} t1
301 {Automatic Velocity Control} t1
302 {Stop on Consecutive Filemarks} t2
303 {Recover Buffer Order} t1
304 {Report Early-Warning} t1
307 {Enable EOD Generation} t1
308 {Synchronize at Early-Warning} t1
310 {Buffer Size at Early-Warning} i3
311 {Select Data Compression Algorithm} i1
313 {SCSI-3 Associated Write Protect} t1
314 {SCSI-3 Persistent Write Protect} t1
315 {SCSI-3 Permanent Write Protect} t1
318 0x0f "Data Compression Page" {
319 {Data Compression Enabled} t1
320 {Date Compression Capable} t1
322 {Data Decompression Capable} t1
323 {Data Decompression Report on Exception} t2
325 {Compression Algorithm} i4
326 {Decompression Algorithm} i4
331 0x1b "Removable Block Access Capacities Page" {
332 {System Floppy Type Device} t1
333 {Supports Reporting Format Progress} t1
335 {Non CD Optical Device} t1
336 {Single or Multiple LUN Supported} t1
338 {Total Logical Units Supported} t3
342 # CD-ROM (and CD-R[W]) devices
343 0x2a "CD capabilities and mechanical status page" {
356 {Digital Port (2)} t1
357 {Digital Port (1)} t1
363 {C2 Pointers are supported} t1
364 {R-W De-interleaved & corrected} t1
366 {CD-DA Stream is Accurate} t1
367 {CD-DA Commands Supported} t1
368 {Loading Mechanism Type} t3
375 {S/W Slot Selection} t1
376 {Changer Supports Disc Present reporting} t1
377 {Separate Channel Mute Supported} t1
378 {Separate volume levels per channel} t1
379 {Maximum Read Speed Supported (kBps)} i2
380 {Number of Volume Leves Supported} i2
381 {Buffer Size supported by Drive (KB)} i2
382 {Current Read Speed Selected (kBps)} i2
390 {Maximum Write Speed Supported (kBps)} i2
391 {Current Write Speed Supported (kBps)} i2
394 0x00 "Vendor-Specific";