xref: /titanic_51/usr/src/uts/intel/io/scsi/targets/st.conf (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25
26#
27#pragma ident	"%Z%%M%	%I%	%E% SMI"
28#
29
30#
31# The officially supported devices do not require a entry under
32# tape-config-list as their configuration is built in to the driver.
33#
34#
35# A non configured drive will say Unconfigured Drive: and have single quoted
36# Vendor and Product strings displayed when its status is checked with mt.
37#
38# mt -f /dev/rmt/# status
39# Unconfigured Drive: Vendor 'VENDOR  ' Product 'A Product ID    '
40#	    sense key(0x0)= No Additional Sense   residual= 0   retries= 0
41#	    file no= 0   block no= 0
42#
43# If your drive is displayed like this first check to see if a newer version
44# of the st driver has added support for your drive.
45#
46# If your drive is not supported by Sun, check the drive manufacturer's
47# documentation or web site for their recommended configuration strings.
48#
49# To configure a drive not supported by the driver, use the single quoted
50# Vendor and Product strings to create a entry under tape-config-list.
51#
52# A starting point for your st.conf entry can be obtained by reading the
53# current DEFAULT configuration from the driver using mt.
54#
55# mt -f /dev/rmt/# config
56# "SONY    SDX-700C", "SONY    SDX-700C", "SONYSDX700C";
57# SONYSDX700C = \
58#    2,0x12,0,0x1865B,4,0x00,0x00,0x00,0x00,0,120,120,3600,3600,3600,3600,3600;
59#
60#
61# Notes:
62#	Any spaces in the Vendor field must be kept so that it is 8
63#	characters long. Trailing spaces in the Product field can be removed.
64#
65#	To add this configuration information, first uncomment the
66#	"tape-config-list=" line, and add the first configuration line
67#	immediately afterward.  If there is more than one entry in the
68#	tape-config-list, all entries but the last must end with a comma.
69#	The last entry ends with a semicolon.
70#
71#	See the driver.conf(4) man page for general information on the conf
72#	file format, and the st(7d) man page for information specific to st.conf.
73#
74# Example:
75#tape-config-list=
76# "VENDOR  A Product ID", "A Prettier Name to Display", "A-Config-Name",
77# "VENDORB Other Product ID", "An Other Pretty Name", "Other-Config-Name";
78#
79# Then for each config-Name there must be a setup string that looks like this.
80#
81# A-Config-Name = \
82#   2,0x34,0,0x18659,4,0x47,0x47,0x47,0x47,1,120,120,3600,3600,3600,3600,3600;
83# Other-Config-Name = 1,0x3B,0,0x18659,4,0x40,0x40,0x40,0x40,3;
84#
85# For specific details for of values to use see the st(7D) man pages and
86# drive vendor manuals.
87#
88
89
90
91name="st" class="scsi" target=0 lun=0;
92name="st" class="scsi" target=1 lun=0;
93name="st" class="scsi" target=2 lun=0;
94name="st" class="scsi" target=3 lun=0;
95name="st" class="scsi" target=4 lun=0;
96name="st" class="scsi" target=5 lun=0;
97name="st" class="scsi" target=6 lun=0;
98
99#
100# In case there are wide tape drives, one can use these targets
101#
102#name="st" class="scsi" target=8 lun=0;
103#name="st" class="scsi" target=9 lun=0;
104#name="st" class="scsi" target=10 lun=0;
105#name="st" class="scsi" target=11 lun=0;
106#name="st" class="scsi" target=12 lun=0;
107#name="st" class="scsi" target=13 lun=0;
108#name="st" class="scsi" target=14 lun=0;
109#name="st" class="scsi" target=15 lun=0;
110