xref: /titanic_51/usr/src/uts/common/io/scsi/targets/sgen.conf (revision ccbf80fa3b6bf6b986dca9037e5ad9d6c9f9fa65)
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#
23# Copyright 1999 by Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26
27#
28# Portions Copyright (c) Siemens 1999
29# All rights reserved.
30#
31#ident	"%Z%%M%	%I%	%E% SMI"
32#
33
34#
35# WARNING: enabling this driver may impact the security and data integrity of
36# devices on your system.  Please refer to sgen(7d) for details.
37
38#
39# sgen may be configured to bind to SCSI devices exporting a particular device
40# type, using the device-type-config-list, which is a ',' delimited list of
41# strings.
42#
43#device-type-config-list=
44#	"direct"		(type 0x00)
45#	"sequential"		(type 0x01)
46#	"printer"		(type 0x02)
47#	"processor"		(type 0x03)
48#	"worm"			(type 0x04)
49#	"rodirect"		(type 0x05)
50#	"scanner"		(type 0x06)
51#	"optical"		(type 0x07)
52#	"changer"		(type 0x08)
53#	"comm"			(type 0x09)
54#	"prepress1"		(type 0x0A)
55#	"prepress2"		(type 0x0B)
56#	"array_ctrl"		(type 0x0C)
57#	"ses"			(type 0x0D)
58#	"rbc"			(type 0x0E)
59#	"ocrw"			(type 0x0F)
60#	"bridge"		(type 0x10)
61#	"type_0x<typenum>"	(types 0x11-0x1e are undefined by SCSI-3)
62#	"type_unknown"		(type 0x1f)
63
64#
65# In addition to binding to device types, sgen can be configured to bind to one
66# or more particular devices.  The latter is accomplished by specifying the
67# Vendor and Product IDs returned by the device in response to the SCSI INQUIRY
68# command.  This is accomplished by specifying pairs of Vendor ID and Product ID
69# strings in the inquiry-config-list property, below.  "*" may be substituted
70# for the vendor ID as a wildcard.  See sgen(7D) for details and extended usage
71# examples.
72
73#
74# USAGE EXAMPLE
75#
76# In this example, sgen is configured to bind to all scanner and ocrw devices in
77# the system, as well as the UltraToast 4000 from ACME, and the PowerToast
78# series of devices, regardless of vendor.
79#
80#device-type-config-list="scanner", "ocrw";
81#
82#inquiry-config-list=	"ACME",		"UltraToast 4000",
83#			"*",		"PowerToast";
84
85
86#
87# After configuring the device-type-config-list and/or the inquiry-config-list,
88# the administrator must uncomment those target/lun pairs at which there are
89# devices for sgen to control.  If it is expected that devices controlled by
90# sgen will be hotplugged or added into the system later, it is recommended
91# that all of the following lines be uncommented.
92
93#name="sgen" class="scsi" target=0 lun=0;
94#name="sgen" class="scsi" target=1 lun=0;
95#name="sgen" class="scsi" target=2 lun=0;
96#name="sgen" class="scsi" target=3 lun=0;
97#name="sgen" class="scsi" target=4 lun=0;
98#name="sgen" class="scsi" target=5 lun=0;
99#name="sgen" class="scsi" target=6 lun=0;
100#name="sgen" class="scsi" target=7 lun=0;
101#name="sgen" class="scsi" target=8 lun=0;
102#name="sgen" class="scsi" target=9 lun=0;
103#name="sgen" class="scsi" target=10 lun=0;
104#name="sgen" class="scsi" target=11 lun=0;
105#name="sgen" class="scsi" target=12 lun=0;
106#name="sgen" class="scsi" target=13 lun=0;
107#name="sgen" class="scsi" target=14 lun=0;
108#name="sgen" class="scsi" target=15 lun=0;
109