1# SCSI mode page data base. 2 3# Copyright (c) 1995 HD Associates 4# (contact: dufault@hda.com) 5# All rights reserved. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions 9# are met: 10# 1. Redistributions of source code must retain the above copyright 11# notice, this list of conditions and the following disclaimer. 12# 2. Redistributions in binary form must reproduce the above copyright 13# notice, this list of conditions and the following disclaimer in the 14# documentation and/or other materials provided with the distribution. 15# 3. The name of HD Associates 16# may not be used to endorse or promote products derived from this software 17# without specific prior written permission. 18# 19# THIS SOFTWARE IS PROVIDED BY HD ASSOCIATES ``AS IS'' AND 20# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22# ARE DISCLAIMED. IN NO EVENT SHALL HD ASSOCIATES BE LIABLE 23# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29# SUCH DAMAGE. 30 31# The ordering is alphabetical by page name, as it appears in the SCSI spec. 32 33# ALL DEVICE TYPES 34 35# Control mode page: 360x0a { 37 {Reserved} *t7 38 {RLEC} t1 39 {Queue Algorithm Modifier} t4 40 {Reserved} *t2 41 {QErr} t1 42 {DQue} t1 43 {EECA} t1 44 {Reserved} *t4 45 {RAENP} t1 46 {UAAENP} t1 47 {EAENP} t1 48 {Reserved} *i1 49 {Ready AEN Holdoff Period} i2 50} 51 52# Disconnect-Reconnect Page: 530x02 { 54 {Buffer Full Ratio} i1 55 {Buffer Empty Ratio} i1 56 {Bus Inactivity Limit} i2 57 {Disconnect Time Limit} i2 58 {Connect Time Limit} i2 59 {Maximum Burst Size} i2 60 {Reserved} *t6 61 {DTDC} t2 62 {Reserved} *i1 63 {Reserved} *i1 64 {Reserved} *i1 65} 66 67# Peripheral Device Page: 680x09 { 69 {Interface Identifier} i2 70 {Reserved} *i1 71 {Reserved} *i1 72 {Reserved} *i1 73 {Reserved} *i1 74} 75 76 77# DIRECT ACCESS DEVICES 78# Caching page: 790x08 { 80 {IC} t1 81 {ABPF} t1 82 {CAP} t1 83 {DISC} t1 84 {SIZE} t1 85 {WCE} t1 86 {MF} t1 87 {RCD} t1 88 {Demand Retention Priority} t4 89 {Write Retention Priority} t4 90 {Disable Pre-fetch Transfer Length} i2 91 {Minimum Pre-fetch} i2 92 {Maximum Pre-fetch} i2 93 {Maximum Pre-fetch Ceiling} i2 94} 95 96# Flexible disk page: 970x05 { 98 {Transfer rate} i2 99 {Number of heads} i1 100 {Sectors per track} i1 101 {Data bytes per sector} i2 102 {Number of cylinders} i2 103 {Starting cylinder-write precompensation} i2 104 {Starting cylinder-reduced write current} i2 105 {Drive step rate} i2 106 {Drive step pulse width} i1 107 {Head settle delay} i2 108 {Motor on delay} i1 109 {Motor off delay} i1 110 {TRDY} t1 111 {SSN} t1 112 {MO} t1 113 {Reserved} *t5 114 {Reserved} *t4 115 {SPC} t4 116 {Write Compensation} i1 117 {Head load delay} i1 118 {Head unload delay} i1 119 {Pin 34} t4 120 {Pin 2} t4 121 {Pin 4} t4 122 {Pin 1} t4 123 {Medium rotation rate} i2 124 {Reserved} *i1 125 {Reserved} *i1 126} 127 128# Format device page: 1290x03 { 130 {Tracks per Zone} i2 131 {Alternate Sectors per Zone} i2 132 {Alternate Tracks per Zone} i2 133 {Alternate Tracks per Logical Unit} i2 134 {Sectors per Track} i2 135 {Data Bytes per Physical Sector} i2 136 {Interleave} i2 137 {Track Skew Factor} i2 138 {Cylinder Skew Factor} i2 139 {SSEC} t1 140 {HSEC} t1 141 {RMB} t1 142 {SURF} t1 143 {Reserved} *t4 144} 145 146# Medium types supported page: 1470x0b { 148 {Reserved} *i1 149 {Reserved} *i1 150 {Medium type one supported} i1 151 {Medium type two supported} i1 152 {Medium type three supported} i1 153 {Medium type four supported} i1 154} 155 156# Notch page (0x0c) 157 158# Read-Write Error Recovery Page 1590x01 { 160 {AWRE (Auto Write Reallocation Enbld)} t1 161 {ARRE (Auto Read Reallocation Enbld)} t1 162 {TB (Transfer Block)} t1 163 {RC (Read Continuous)} t1 164 {EER (Enable Early Recovery)} t1 165 {PER (Post Error)} t1 166 {DTE (Disable Transfer on Error)} t1 167 {DCR (Disable Correction)} t1 168 {Read Retry Count} i1 169 {Correction Span} i1 170 {Head Offset Count} i1 171 {Data Strobe Offset Count} i1 172 {Reserved} *i1 173 {Write Retry Count} i1 174 {Reserved} *i1 175 {Recovery Time Limit} i2 176} 177 178# Rigid Disk Drive Geometry Page 1790x04 { 180 {Number of Cylinders} i3 181 {Number of Heads} i1 182 {Starting Cylinder-Write Precompensation} i3 183 {Starting Cylinder-Reduced Write Current} i3 184 {Drive Step Rate} i2 185 {Landing Zone Cylinder} i3 186 {Reserved} *t6 187 {RPL} t2 188 {Rotational Offset} i1 189 {Reserved} *i1 190 {Medium Rotation Rate} i2 191 {Reserved} *i1 192 {Reserved} *i1 193} 194 195# Verify Error Recovery Page 1960x07 { 197 {Reserved} *t4 198 {EER} t1 199 {PER} t1 200 {DTE} t1 201 {DCR} t1 202 {Verify Retry Count} i1 203 {Verify Correction Span} i1 204 {Reserved} *i1 205 {Reserved} *i1 206 {Reserved} *i1 207 {Reserved} *i1 208 {Reserved} *i1 209 {Verify Recovery Time Limit} i2 210} 211 212# CD-ROM Audio Control Parameters Page 2130x0E { 214 {Reserved} *t5 215 {Immed} t1 216 {SOTC} t1 217 {Reserved} *t1 218 {Reserved} *i2 219 {APRVal} t1 220 {Reserved} *t3 221 {Format of LBAs / sec.} t4 222 {Logical Blocks per Second of Audio Playback} i2 223 {Reserved} *t4 224 {Output Port 0 Channel Selection} t4 225 {Output Port 0 Volume} i1 226 {Reserved} *t4 227 {Output Port 1 Channel Selection} t4 228 {Output Port 1 Volume} i1 229 {Reserved} *t4 230 {Output Port 2 Channel Selection} t4 231 {Output Port 2 Volume} i1 232 {Reserved} *t4 233 {Output Port 3 Channel Selection} t4 234 {Output Port 3 Volume} i1 235} 236 2370x10 { 238 {Reserved} *t1 239 {Change Active Partition} t1 240 {Change Active Format} t1 241 {Active Format} t5 242 {Active Partition} i1 243 {Write Buffer Full Ratio} i1 244 {Write Buffer Empty Ratio} i1 245 {Write Delay Time} i2 246 {Data Buffer Recovery} t1 247 {Block Identifiers Support} t1 248 {Report Setmarks} t1 249 {AAutomatic Velocity Control} t1 250 {Stop on Consecutive Filemarks} t2 251 {Recover Buffer Order} t1 252 {Report Early-Warning} t1 253 {Gap Size} i1 254 {EOD Defined} t3 255 {Enable EOD Generation} t1 256 {Synchronize at Early-Warning} t1 257 {Reserved} *t3 258 {Buffer Size at Early-Warning} i3 259 {Select Data Compression Algorithm} i1 260 {Reserved} *i1 261} 262