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" {
55 {Queue Algorithm Modifier} t4
65 {Ready AEN Holdoff Period} i2
68 0x02 "Disconnect-Reconnect Page" {
69 {Buffer Full Ratio} i1
70 {Buffer Empty Ratio} i1
71 {Bus Inactivity Limit} i2
72 {Disconnect Time Limit} i2
73 {Connect Time Limit} i2
74 {Maximum Burst Size} i2
84 0x16 "Extended Device-Type Specific Page";
86 0x1c "Informational Exceptions Control Page" {
101 0x09 "Peripheral Device Page" {
102 {Interface Identifier} i2
109 0x1a "Power Condition Page" {
114 {Idle Condition Timer} i4
115 {Standby Condition Timer} i4
118 0x18 "Protocol-Specific LUN Page";
120 0x19 "Protocol-Specific Port Page";
122 # DIRECT ACCESS DEVICES
123 0x08 "Caching Page" {
132 {Demand Retention Priority} t4
133 {Write Retention Priority} t4
134 {Disable Pre-fetch Transfer Length} i2
135 {Minimum Pre-fetch} i2
136 {Maximum Pre-fetch} i2
137 {Maximum Pre-fetch Ceiling} i2
140 0x05 "Flexible Disk Page" {
143 {Sectors per track} i1
144 {Data bytes per sector} i2
145 {Number of cylinders} i2
146 {Starting cylinder-write precompensation} i2
147 {Starting cylinder-reduced write current} i2
149 {Drive step pulse width} i1
150 {Head settle delay} i2
159 {Write Compensation} i1
161 {Head unload delay} i1
166 {Medium rotation rate} i2
171 0x03 "Format Device Page" {
173 {Alternate Sectors per Zone} i2
174 {Alternate Tracks per Zone} i2
175 {Alternate Tracks per Logical Unit} i2
176 {Sectors per Track} i2
177 {Data Bytes per Physical Sector} i2
179 {Track Skew Factor} i2
180 {Cylinder Skew Factor} i2
188 0x0b "Medium Types Supported Page" {
191 {Medium type one supported} i1
192 {Medium type two supported} i1
193 {Medium type three supported} i1
194 {Medium type four supported} i1
198 0x0c "Notch and Partition Page";
200 0x01 "Read-Write Error Recovery Page" {
201 {AWRE (Auto Write Reallocation Enbld)} t1
202 {ARRE (Auto Read Reallocation Enbld)} t1
203 {TB (Transfer Block)} t1
204 {RC (Read Continuous)} t1
205 {EER (Enable Early Recovery)} t1
206 {PER (Post Error)} t1
207 {DTE (Disable Transfer on Error)} t1
208 {DCR (Disable Correction)} t1
209 {Read Retry Count} i1
211 {Head Offset Count} i1
212 {Data Strobe Offset Count} i1
214 {Write Retry Count} i1
216 {Recovery Time Limit} i2
219 0x04 "Rigid Disk Drive Geometry Page" {
220 {Number of Cylinders} i3
222 {Starting Cylinder-Write Precompensation} i3
223 {Starting Cylinder-Reduced Write Current} i3
225 {Landing Zone Cylinder} i3
228 {Rotational Offset} i1
230 {Medium Rotation Rate} i2
235 0x07 "Verify Error Recovery Page" {
241 {Verify Retry Count} i1
242 {Verify Correction Span} i1
248 {Verify Recovery Time Limit} i2
251 0x0E "CD-ROM Audio Control Parameters Page" {
259 {Format of LBAs / sec.} t4
260 {Logical Blocks per Second of Audio Playback} i2
262 {Output Port 0 Channel Selection} t4
263 {Output Port 0 Volume} i1
265 {Output Port 1 Channel Selection} t4
266 {Output Port 1 Volume} i1
268 {Output Port 2 Channel Selection} t4
269 {Output Port 2 Volume} i1
271 {Output Port 3 Channel Selection} t4
272 {Output Port 3 Volume} i1
275 # SEQUENTIAL ACCESS DEVICES
276 0x10 "Device Configuration Page" {
278 {Change Active Partition} t1
279 {Change Active Format} t1
281 {Active Partition} i1
282 {Write Buffer Full Ratio} i1
283 {Write Buffer Empty Ratio} i1
284 {Write Delay Time} i2
285 {Data Buffer Recovery} t1
286 {Block Identifiers Support} t1
288 {Automatic Velocity Control} t1
289 {Stop on Consecutive Filemarks} t2
290 {Recover Buffer Order} t1
291 {Report Early-Warning} t1
294 {Enable EOD Generation} t1
295 {Synchronize at Early-Warning} t1
297 {Buffer Size at Early-Warning} i3
298 {Select Data Compression Algorithm} i1
300 {SCSI-3 Associated Write Protect} t1
301 {SCSI-3 Persistent Write Protect} t1
302 {SCSI-3 Permanent Write Protect} t1
305 0x0f "Data Compression Page" {
306 {Data Compression Enabled} t1
307 {Date Compression Capable} t1
309 {Data Decompression Capable} t1
310 {Data Decompression Report on Exception} t2
312 {Compression Algorithm} i4
313 {Decompression Algorithm} i4
318 0x1b "Removable Block Access Capacities Page" {
319 {System Floppy Type Device} t1
320 {Supports Reporting Format Progress} t1
322 {Non CD Optical Device} t1
323 {Single or Multiple LUN Supported} t1
325 {Total Logical Units Supported} t3
329 # CD-ROM (and CD-R[W]) devices
330 0x2a "CD capabilities and mechanical status page" {
343 {Digital Port (2)} t1
344 {Digital Port (1)} t1
350 {C2 Pointers are supported} t1
351 {R-W De-interleaved & corrected} t1
353 {CD-DA Stream is Accurate} t1
354 {CD-DA Commands Supported} t1
355 {Loading Mechanism Type} t3
362 {S/W Slot Selection} t1
363 {Changer Supports Disc Present reporting} t1
364 {Separate Channel Mute Supported} t1
365 {Separate volume levels per channel} t1
366 {Maximum Read Speed Supported (kBps)} i2
367 {Number of Volume Leves Supported} i2
368 {Buffer Size supported by Drive (KB)} i2
369 {Current Read Speed Selected (kBps)} i2
377 {Maximum Write Speed Supported (kBps)} i2
378 {Current Write Speed Supported (kBps)} i2
381 0x00 "Vendor-Specific";