scsi_modes revision 8146
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} *b7
38	{RLEC} b1
39	{Queue Algorithm Modifier} b4
40	{Reserved} *b2
41	{QErr} b1
42	{DQue} b1
43	{EECA} b1
44	{Reserved} *b4
45	{RAENP} b1
46	{UAAENP} b1
47	{EAENP} b1
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} *b6
61	{DTDC} b2
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} *b5
81	{WCE} b1
82	{MF} b1
83	{RCD} b1
84	{Demand Retention Priority} b4
85	{Write Retention Priority} b4
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} b1
107	{SSN} b1
108	{MO} b1
109	{Reserved} *b5
110	{Reserved} *b4
111	{SPC} b4
112	{Write Compensation} i1
113	{Head load delay} i1
114	{Head unload delay} i1
115	{Pin 34} b4
116	{Pin 2} b4
117	{Pin 4} b4
118	{Pin 1} b4
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} b1
136	{HSEC} b1
137	{RMB} b1
138	{SURF} b1
139	{Reserved} *b4
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)} b1
157	{ARRE (Auto Read Reallocation Enbld)} b1
158	{TB (Transfer Block)} b1
159	{RC (Read Continuous)} b1
160	{EER (Enable Early Recovery)} b1
161	{PER (Post Error)} b1
162	{DTE (Disable Transfer on Error)} b1
163	{DCR (Disable Correction)} b1
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} *b6
183	{RPL} b2
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} *b4
194	{EER} b1
195	{PER} b1
196	{DTE} b1
197	{DCR} b1
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