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
82 0x09 "Peripheral Device Page" {
83 {Interface Identifier} i2
90 0x1a "Power Control" {
95 {Idle Condition Timer} i4
96 {Standby Condition Timer} i4
99 # DIRECT ACCESS DEVICES
100 0x08 "Caching Page" {
109 {Demand Retention Priority} t4
110 {Write Retention Priority} t4
111 {Disable Pre-fetch Transfer Length} i2
112 {Minimum Pre-fetch} i2
113 {Maximum Pre-fetch} i2
114 {Maximum Pre-fetch Ceiling} i2
117 0x05 "Flexible Disk Page" {
120 {Sectors per track} i1
121 {Data bytes per sector} i2
122 {Number of cylinders} i2
123 {Starting cylinder-write precompensation} i2
124 {Starting cylinder-reduced write current} i2
126 {Drive step pulse width} i1
127 {Head settle delay} i2
136 {Write Compensation} i1
138 {Head unload delay} i1
143 {Medium rotation rate} i2
148 0x03 "Format Device Page" {
150 {Alternate Sectors per Zone} i2
151 {Alternate Tracks per Zone} i2
152 {Alternate Tracks per Logical Unit} i2
153 {Sectors per Track} i2
154 {Data Bytes per Physical Sector} i2
156 {Track Skew Factor} i2
157 {Cylinder Skew Factor} i2
165 0x0b "Medium Types Supported Page" {
168 {Medium type one supported} i1
169 {Medium type two supported} i1
170 {Medium type three supported} i1
171 {Medium type four supported} i1
175 0x0c "Notch and Partition Page";
177 0x01 "Read-Write Error Recovery Page" {
178 {AWRE (Auto Write Reallocation Enbld)} t1
179 {ARRE (Auto Read Reallocation Enbld)} t1
180 {TB (Transfer Block)} t1
181 {RC (Read Continuous)} t1
182 {EER (Enable Early Recovery)} t1
183 {PER (Post Error)} t1
184 {DTE (Disable Transfer on Error)} t1
185 {DCR (Disable Correction)} t1
186 {Read Retry Count} i1
188 {Head Offset Count} i1
189 {Data Strobe Offset Count} i1
191 {Write Retry Count} i1
193 {Recovery Time Limit} i2
196 0x04 "Rigid Disk Drive Geometry Page" {
197 {Number of Cylinders} i3
199 {Starting Cylinder-Write Precompensation} i3
200 {Starting Cylinder-Reduced Write Current} i3
202 {Landing Zone Cylinder} i3
205 {Rotational Offset} i1
207 {Medium Rotation Rate} i2
212 0x07 "Verify Error Recovery Page" {
218 {Verify Retry Count} i1
219 {Verify Correction Span} i1
225 {Verify Recovery Time Limit} i2
228 0x0E "CD-ROM Audio Control Parameters Page" {
236 {Format of LBAs / sec.} t4
237 {Logical Blocks per Second of Audio Playback} i2
239 {Output Port 0 Channel Selection} t4
240 {Output Port 0 Volume} i1
242 {Output Port 1 Channel Selection} t4
243 {Output Port 1 Volume} i1
245 {Output Port 2 Channel Selection} t4
246 {Output Port 2 Volume} i1
248 {Output Port 3 Channel Selection} t4
249 {Output Port 3 Volume} i1
252 # SEQUENTIAL ACCESS DEVICES
253 0x10 "Device Configuration Page" {
255 {Change Active Partition} t1
256 {Change Active Format} t1
258 {Active Partition} i1
259 {Write Buffer Full Ratio} i1
260 {Write Buffer Empty Ratio} i1
261 {Write Delay Time} i2
262 {Data Buffer Recovery} t1
263 {Block Identifiers Support} t1
265 {Automatic Velocity Control} t1
266 {Stop on Consecutive Filemarks} t2
267 {Recover Buffer Order} t1
268 {Report Early-Warning} t1
271 {Enable EOD Generation} t1
272 {Synchronize at Early-Warning} t1
274 {Buffer Size at Early-Warning} i3
275 {Select Data Compression Algorithm} i1
277 {SCSI-3 Associated Write Protect} t1
278 {SCSI-3 Persistent Write Protect} t1
279 {SCSI-3 Permanent Write Protect} t1
282 0x0f "Data Compression Page" {
283 {Data Compression Enabled} t1
284 {Date Compression Capable} t1
286 {Data Decompression Capable} t1
287 {Data Decompression Report on Exception} t2
289 {Compression Algorithm} i4
290 {Decompression Algorithm} i4
295 0x1b "Removable Block Access Capacities Page" {
296 {System Floppy Type Device} t1
297 {Supports Reporting Format Progress} t1
299 {Non CD Optical Device} t1
300 {Single or Multiple LUN Supported} t1
302 {Total Logical Units Supported} t3
306 # CD-ROM (and CD-R[W]) devices
307 0x2a "CD capabilities and mechanical status page" {
320 {Digital Port (2)} t1
321 {Digital Port (1)} t1
327 {C2 Pointers are supported} t1
328 {R-W De-interleaved & corrected} t1
330 {CD-DA Stream is Accurate} t1
331 {CD-DA Commands Supported} t1
332 {Loading Mechanism Type} t3
339 {S/W Slot Selection} t1
340 {Changer Supports Disc Present reporting} t1
341 {Separate Channel Mute Supported} t1
342 {Separate volume levels per channel} t1
343 {Maximum Read Speed Supported (kBps)} i2
344 {Number of Volume Leves Supported} i2
345 {Buffer Size supported by Drive (KB)} i2
346 {Current Read Speed Selected (kBps)} i2
354 {Maximum Write Speed Supported (kBps)} i2
355 {Current Write Speed Supported (kBps)} i2
358 0x00 "Vendor-Specific";