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
95 0x09 "Peripheral Device Page" {
96 {Interface Identifier} i2
103 0x1a "Power Control" {
108 {Idle Condition Timer} i4
109 {Standby Condition Timer} i4
112 # DIRECT ACCESS DEVICES
113 0x08 "Caching Page" {
122 {Demand Retention Priority} t4
123 {Write Retention Priority} t4
124 {Disable Pre-fetch Transfer Length} i2
125 {Minimum Pre-fetch} i2
126 {Maximum Pre-fetch} i2
127 {Maximum Pre-fetch Ceiling} i2
130 0x05 "Flexible Disk Page" {
133 {Sectors per track} i1
134 {Data bytes per sector} i2
135 {Number of cylinders} i2
136 {Starting cylinder-write precompensation} i2
137 {Starting cylinder-reduced write current} i2
139 {Drive step pulse width} i1
140 {Head settle delay} i2
149 {Write Compensation} i1
151 {Head unload delay} i1
156 {Medium rotation rate} i2
161 0x03 "Format Device Page" {
163 {Alternate Sectors per Zone} i2
164 {Alternate Tracks per Zone} i2
165 {Alternate Tracks per Logical Unit} i2
166 {Sectors per Track} i2
167 {Data Bytes per Physical Sector} i2
169 {Track Skew Factor} i2
170 {Cylinder Skew Factor} i2
178 0x0b "Medium Types Supported Page" {
181 {Medium type one supported} i1
182 {Medium type two supported} i1
183 {Medium type three supported} i1
184 {Medium type four supported} i1
188 0x0c "Notch and Partition Page";
190 0x01 "Read-Write Error Recovery Page" {
191 {AWRE (Auto Write Reallocation Enbld)} t1
192 {ARRE (Auto Read Reallocation Enbld)} t1
193 {TB (Transfer Block)} t1
194 {RC (Read Continuous)} t1
195 {EER (Enable Early Recovery)} t1
196 {PER (Post Error)} t1
197 {DTE (Disable Transfer on Error)} t1
198 {DCR (Disable Correction)} t1
199 {Read Retry Count} i1
201 {Head Offset Count} i1
202 {Data Strobe Offset Count} i1
204 {Write Retry Count} i1
206 {Recovery Time Limit} i2
209 0x04 "Rigid Disk Drive Geometry Page" {
210 {Number of Cylinders} i3
212 {Starting Cylinder-Write Precompensation} i3
213 {Starting Cylinder-Reduced Write Current} i3
215 {Landing Zone Cylinder} i3
218 {Rotational Offset} i1
220 {Medium Rotation Rate} i2
225 0x07 "Verify Error Recovery Page" {
231 {Verify Retry Count} i1
232 {Verify Correction Span} i1
238 {Verify Recovery Time Limit} i2
241 0x0E "CD-ROM Audio Control Parameters Page" {
249 {Format of LBAs / sec.} t4
250 {Logical Blocks per Second of Audio Playback} i2
252 {Output Port 0 Channel Selection} t4
253 {Output Port 0 Volume} i1
255 {Output Port 1 Channel Selection} t4
256 {Output Port 1 Volume} i1
258 {Output Port 2 Channel Selection} t4
259 {Output Port 2 Volume} i1
261 {Output Port 3 Channel Selection} t4
262 {Output Port 3 Volume} i1
265 # SEQUENTIAL ACCESS DEVICES
266 0x10 "Device Configuration Page" {
268 {Change Active Partition} t1
269 {Change Active Format} t1
271 {Active Partition} i1
272 {Write Buffer Full Ratio} i1
273 {Write Buffer Empty Ratio} i1
274 {Write Delay Time} i2
275 {Data Buffer Recovery} t1
276 {Block Identifiers Support} t1
278 {Automatic Velocity Control} t1
279 {Stop on Consecutive Filemarks} t2
280 {Recover Buffer Order} t1
281 {Report Early-Warning} t1
284 {Enable EOD Generation} t1
285 {Synchronize at Early-Warning} t1
287 {Buffer Size at Early-Warning} i3
288 {Select Data Compression Algorithm} i1
290 {SCSI-3 Associated Write Protect} t1
291 {SCSI-3 Persistent Write Protect} t1
292 {SCSI-3 Permanent Write Protect} t1
295 0x0f "Data Compression Page" {
296 {Data Compression Enabled} t1
297 {Date Compression Capable} t1
299 {Data Decompression Capable} t1
300 {Data Decompression Report on Exception} t2
302 {Compression Algorithm} i4
303 {Decompression Algorithm} i4
308 0x1b "Removable Block Access Capacities Page" {
309 {System Floppy Type Device} t1
310 {Supports Reporting Format Progress} t1
312 {Non CD Optical Device} t1
313 {Single or Multiple LUN Supported} t1
315 {Total Logical Units Supported} t3
319 # CD-ROM (and CD-R[W]) devices
320 0x2a "CD capabilities and mechanical status page" {
333 {Digital Port (2)} t1
334 {Digital Port (1)} t1
340 {C2 Pointers are supported} t1
341 {R-W De-interleaved & corrected} t1
343 {CD-DA Stream is Accurate} t1
344 {CD-DA Commands Supported} t1
345 {Loading Mechanism Type} t3
352 {S/W Slot Selection} t1
353 {Changer Supports Disc Present reporting} t1
354 {Separate Channel Mute Supported} t1
355 {Separate volume levels per channel} t1
356 {Maximum Read Speed Supported (kBps)} i2
357 {Number of Volume Leves Supported} i2
358 {Buffer Size supported by Drive (KB)} i2
359 {Current Read Speed Selected (kBps)} i2
367 {Maximum Write Speed Supported (kBps)} i2
368 {Current Write Speed Supported (kBps)} i2
371 0x00 "Vendor-Specific";