xref: /illumos-gate/usr/src/uts/sun/io/scsi/targets/st.conf (revision ed093b41a93e8563e6e1e5dae0768dda2a7bcc27)
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# The officially supported devices do not require a entry under
28# tape-config-list as their configuration is built in to the driver.
29#
30#
31# A non configured drive will say Unconfigured Drive: and have single quoted
32# Vendor and Product strings displayed when its status is checked with mt.
33#
34# mt -f /dev/rmt/# status
35# Unconfigured Drive: Vendor 'VENDOR  ' Product 'A Product ID    '
36#	    sense key(0x0)= No Additional Sense   residual= 0   retries= 0
37#	    file no= 0   block no= 0
38#
39# If your drive is displayed like this first check to see if a newer version
40# of the st driver has added support for your drive.
41#
42# If your drive is not supported by Sun, check the drive manufacturer's
43# documentation or web site for their recommended configuration strings.
44#
45# To configure a drive not supported by the driver, use the single quoted
46# Vendor and Product strings to create a entry under tape-config-list.
47#
48# A starting point for your st.conf entry can be obtained by reading the
49# current DEFAULT configuration from the driver using mt.
50#
51# mt -f /dev/rmt/# config
52# "SONY    SDX-700C", "SONY    SDX-700C", "SONYSDX700C";
53# SONYSDX700C = \
54#    2,0x12,0,0x1865B,4,0x00,0x00,0x00,0x00,0,120,120,3600,3600,3600,3600,3600;
55#
56#
57# Notes:
58#	Any spaces in the Vendor field must be kept so that it is 8
59#	characters long. Trailing spaces in the Product field can be removed.
60#
61#	To add this configuration information, first uncomment the
62#	"tape-config-list=" line, and add the first configuration line
63#	immediately afterward.  If there is more than one entry in the
64#	tape-config-list, all entries but the last must end with a comma.
65#	The last entry ends with a semicolon.
66#
67#	See the driver.conf(5) man page for general information on the conf
68#	file format, and the st(4D) man page for information specific to st.conf.
69#
70# Example:
71#tape-config-list=
72# "VENDOR  A Product ID", "A Prettier Name to Display", "A-Config-Name",
73# "VENDORB Other Product ID", "An Other Pretty Name", "Other-Config-Name";
74#
75# Then for each config-Name there must be a setup string that looks like this.
76#
77# A-Config-Name = \
78#   2,0x34,0,0x18659,4,0x47,0x47,0x47,0x47,1,120,120,3600,3600,3600,3600,3600;
79# Other-Config-Name = 1,0x3B,0,0x18659,4,0x40,0x40,0x40,0x40,3;
80#
81# For specific details for of values to use see the st(4D) man pages and
82# drive vendor manuals.
83#
84
85
86
87name="st" class="scsi" target=0 lun=0;
88name="st" class="scsi" target=1 lun=0;
89name="st" class="scsi" target=2 lun=0;
90name="st" class="scsi" target=3 lun=0;
91name="st" class="scsi" target=4 lun=0;
92name="st" class="scsi" target=5 lun=0;
93name="st" class="scsi" target=6 lun=0;
94
95#
96# In case there are wide tape drives, one can use these targets
97#
98#name="st" class="scsi" target=8 lun=0;
99#name="st" class="scsi" target=9 lun=0;
100#name="st" class="scsi" target=10 lun=0;
101#name="st" class="scsi" target=11 lun=0;
102#name="st" class="scsi" target=12 lun=0;
103#name="st" class="scsi" target=13 lun=0;
104#name="st" class="scsi" target=14 lun=0;
105#name="st" class="scsi" target=15 lun=0;
106
107# This line adds support for Fibre Channel Tapes
108name="st" parent="fp" target=0;
109