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