scsi_modes revision 13077
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	{Reserved} *t5
81	{WCE} t1
82	{MF} t1
83	{RCD} t1
84	{Demand Retention Priority} t4
85	{Write Retention Priority} t4
86	{Disable Pre-fetch Transfer Length} i2
87	{Minumum Pre-fetch} i2
88	{Maximum Pre-fetch} i2
89	{Maximum Pre-fetch Ceiling} i2
90}
91
92# Flexible disk page:
930x05 {
94	{Transfer rate} i2
95	{Number of heads} i1
96	{Sectors per track} i1
97	{Data bytes per sector} i2
98	{Number of cylinders} i2
99	{Starting cylinder-write precompensation} i2
100	{Starting cylinder-reduced write current} i2
101	{Drive step rate} i2
102	{Drive step pulse width} i1
103	{Head settle delay} i2
104	{Motor on delay} i1
105	{Motor off delay} i1
106	{TRDY} t1
107	{SSN} t1
108	{MO} t1
109	{Reserved} *t5
110	{Reserved} *t4
111	{SPC} t4
112	{Write Compensation} i1
113	{Head load delay} i1
114	{Head unload delay} i1
115	{Pin 34} t4
116	{Pin 2} t4
117	{Pin 4} t4
118	{Pin 1} t4
119	{Medium rotation rate} i2
120	{Reserved} *i1
121	{Reserved} *i1
122}
123
124# Format device page:
1250x03 {
126	{Tracks per Zone} i2
127	{Alternate Sectors per Zone} i2
128	{Alternate Tracks per Zone} i2
129	{Alternate Tracks per Logical Unit} i2
130	{Sectors per Track} i2
131	{Data Bytes per Physical Sector} i2
132	{Interleave} i2
133	{Track Skew Factor} i2
134	{Cylinder Skew Factor} i2
135	{SSEC} t1
136	{HSEC} t1
137	{RMB} t1
138	{SURF} t1
139	{Reserved} *t4
140}
141
142# Medium types supported page:
1430x0b	{
144	{Reserved} *i1
145	{Reserved} *i1
146	{Medium type one supported} i1
147	{Medium type two supported} i1
148	{Medium type three supported} i1
149	{Medium type four supported} i1
150}
151
152# Notch page (0x0c)
153
154#  Read-Write Error Recovery Page
1550x01	{
156	{AWRE (Auto Write Reallocation Enbld)} t1
157	{ARRE (Auto Read Reallocation Enbld)} t1
158	{TB (Transfer Block)} t1
159	{RC (Read Continuous)} t1
160	{EER (Enable Early Recovery)} t1
161	{PER (Post Error)} t1
162	{DTE (Disable Transfer on Error)} t1
163	{DCR (Disable Correction)} t1
164	{Read Retry Count} i1
165	{Correction Span} i1
166	{Head Offset Count} i1
167	{Data Strobe Offset Count} i1
168	{Reserved} *i1
169	{Write Retry Count} i1
170	{Reserved} *i1
171	{Recovery Time Limit} i2
172}
173
174# Rigid Disk Drive Geometry Page
1750x04	{
176	{Number of Cylinders} i3
177	{Number of Heads} i1
178	{Starting Cylinder-Write Precompensation} i3
179	{Starting Cylinder-Reduced Write Current} i3
180	{Drive Step Rate} i2
181	{Landing Zone Cylinder} i3
182	{Reserved} *t6
183	{RPL} t2
184	{Rotational Offset} i1
185	{Reserved} *i1
186	{Medium Rotation Rate} i2
187	{Reserved} *i1
188	{Reserved} *i1
189}
190
191# Verify Error Recovery Page
1920x07	{
193	{Reserved} *t4
194	{EER} t1
195	{PER} t1
196	{DTE} t1
197	{DCR} t1
198	{Verify Retry Count} i1
199	{Verify Correction Span} i1
200	{Reserved} *i1
201	{Reserved} *i1
202	{Reserved} *i1
203	{Reserved} *i1
204	{Reserved} *i1
205	{Verify Recovery Time Limit} i2
206}
207
208# CD-ROM Audio Control Parameters Page
2090x0E	{
210	{Reserved} *t5
211	{Immed} t1
212	{SOTC} t1
213	{Reserved} *t1
214	{Reserved} *i2
215	{APRVal} t1
216	{Reserved} *t3
217	{Format of LBAs / sec.} t4
218	{Logical Blocks per Second of Audio Playback} i2
219	{Reserved} *t4
220	{Output Port 0 Channel Selection} t4
221	{Output Port 0 Volume} i1
222	{Reserved} *t4
223	{Output Port 1 Channel Selection} t4
224	{Output Port 1 Volume} i1
225	{Reserved} *t4
226	{Output Port 2 Channel Selection} t4
227	{Output Port 2 Volume} i1
228	{Reserved} *t4
229	{Output Port 3 Channel Selection} t4
230	{Output Port 3 Volume} i1
231}
232