freebsd-dev/share/misc/scsi_modes

207 lines
4.7 KiB
Plaintext
Raw Normal View History

1995-04-28 19:25:17 +00:00
# SCSI mode page data base.
# Copyright (c) 1995 HD Associates
# (contact: dufault@hda.com)
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. The name of HD Associates
# may not be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY HD ASSOCIATES ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL HD ASSOCIATES BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
# The ordering is alphabetical by page name, as it appears in the SCSI spec.
# ALL DEVICE TYPES
# Control mode page:
0x0a {
{Reserved} *b7
{RLEC} b1
{Queue Algorithm Modifier} b4
{Reserved} *b2
{QErr} b1
{DQue} b1
{EECA} b1
{Reserved} *b4
{RAENP} b1
{UAAENP} b1
{EAENP} b1
{Reserved} *i1
{Ready AEN Holdoff Period} i2
}
# Disconnect-Reconnect Page:
0x02 {
{Buffer Full Ratio} i1
{Buffer Empty Ratio} i1
{Bus Inactivity Limit} i2
{Disconnect Time Limit} i2
{Connect Time Limit} i2
{Maximum Burst Size} i2
{Reserved} *b6
{DTDC} b2
{Reserved} *i1
{Reserved} *i1
{Reserved} *i1
}
# Peripheral Device Page:
0x09 {
{Interface Identifier} i2
{Reserved} *i1
{Reserved} *i1
{Reserved} *i1
{Reserved} *i1
}
# DIRECT ACCESS DEVICES
# Caching page:
0x08 {
{Reserved} *b5
{WCE} b1
{MF} b1
{RCD} b1
{Demand Retention Priority} b4
{Write Retention Priority} b4
{Disable Pre-fetch Transfer Length} i2
{Minumum Pre-fetch} i2
{Maximum Pre-fetch} i2
{Maximum Pre-fetch Ceiling} i2
}
# Flexible disk page:
0x05 {
{Transfer rate} i2
{Number of heads} i1
{Sectors per track} i1
{Data bytes per sector} i2
{Number of cylinders} i2
{Starting cylinder-write precompensation} i2
{Starting cylinder-reduced write current} i2
{Drive step rate} i2
{Drive step pulse width} i1
{Head settle delay} i2
{Motor on delay} i1
{Motor off delay} i1
{TRDY} b1
{SSN} b1
{MO} b1
{Reserved} *b5
{Reserved} *b4
{SPC} b4
{Write Compensation} i1
{Head load delay} i1
{Head unload delay} i1
{Pin 34} b4
{Pin 2} b4
{Pin 4} b4
{Pin 1} b4
{Medium rotation rate} i2
{Reserved} *i1
{Reserved} *i1
}
# Format device page:
0x03 {
{Tracks per Zone} i2
{Alternate Sectors per Zone} i2
{Alternate Tracks per Zone} i2
{Alternate Tracks per Logical Unit} i2
{Sectors per Track} i2
{Data Bytes per Physical Sector} i2
{Interleave} i2
{Track Skew Factor} i2
{Cylinder Skew Factor} i2
{SSEC} b1
{HSEC} b1
{RMB} b1
{SURF} b1
{Reserved} *b4
}
# Medium types supported page:
0x0b {
{Reserved} *i1
{Reserved} *i1
{Medium type one supported} i1
{Medium type two supported} i1
{Medium type three supported} i1
{Medium type four supported} i1
}
# Notch page (0x0c)
# Read-Write Error Recovery Page
0x01 {
{AWRE (Auto Write Reallocation Enbld)} b1
{ARRE (Auto Read Reallocation Enbld)} b1
{TB (Transfer Block)} b1
{RC (Read Continuous)} b1
{EER (Enable Early Recovery)} b1
{PER (Post Error)} b1
{DTE (Disable Transfer on Error)} b1
{DCR (Disable Correction)} b1
{Read Retry Count} i1
{Correction Span} i1
{Head Offset Count} i1
{Data Strobe Offset Count} i1
{Reserved} *i1
{Write Retry Count} i1
{Reserved} *i1
{Recovery Time Limit} i2
}
# Rigid Disk Drive Geometry Page
0x04 {
{Number of Cylinders} i3
{Number of Heads} i1
{Starting Cylinder-Write Precompensation} i3
{Starting Cylinder-Reduced Write Current} i3
{Drive Step Rate} i2
{Landing Zone Cylinder} i3
{Reserved} *b6
{RPL} b2
{Rotational Offset} i1
{Reserved} *i1
{Medium Rotation Rate} i2
{Reserved} *i1
{Reserved} *i1
}
# Verify Error Recovery Page
0x07 {
{Reserved} *b4
{EER} b1
{PER} b1
{DTE} b1
{DCR} b1
{Verify Retry Count} i1
{Verify Correction Span} i1
{Reserved} *i1
{Reserved} *i1
{Reserved} *i1
{Reserved} *i1
{Reserved} *i1
{Verify Recovery Time Limit} i2
}