xref: /titanic_41/usr/src/uts/sparc/io/fibre-channel/impl/fp.conf (revision fcf3ce441efd61da9bb2884968af01cb7c1452cc)
1*fcf3ce44SJohn Forte#
2*fcf3ce44SJohn Forte# CDDL HEADER START
3*fcf3ce44SJohn Forte#
4*fcf3ce44SJohn Forte# The contents of this file are subject to the terms of the
5*fcf3ce44SJohn Forte# Common Development and Distribution License (the "License").
6*fcf3ce44SJohn Forte# You may not use this file except in compliance with the License.
7*fcf3ce44SJohn Forte#
8*fcf3ce44SJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*fcf3ce44SJohn Forte# or http://www.opensolaris.org/os/licensing.
10*fcf3ce44SJohn Forte# See the License for the specific language governing permissions
11*fcf3ce44SJohn Forte# and limitations under the License.
12*fcf3ce44SJohn Forte#
13*fcf3ce44SJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
14*fcf3ce44SJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*fcf3ce44SJohn Forte# If applicable, add the following below this CDDL HEADER, with the
16*fcf3ce44SJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
17*fcf3ce44SJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
18*fcf3ce44SJohn Forte#
19*fcf3ce44SJohn Forte# CDDL HEADER END
20*fcf3ce44SJohn Forte#
21*fcf3ce44SJohn Forte#
22*fcf3ce44SJohn Forte# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*fcf3ce44SJohn Forte# Use is subject to license terms.
24*fcf3ce44SJohn Forte#
25*fcf3ce44SJohn Forte# Sun Fibre Channel Port driver configuration
26*fcf3ce44SJohn Forte#
27*fcf3ce44SJohn Forte#
28*fcf3ce44SJohn Forte
29*fcf3ce44SJohn Fortename="fp" class="fibre-channel" port=0;
30*fcf3ce44SJohn Fortename="fp" class="fibre-channel" port=1;
31*fcf3ce44SJohn Forte
32*fcf3ce44SJohn Forte#
33*fcf3ce44SJohn Forte# Automatic configuration of the fabric is turned on by default
34*fcf3ce44SJohn Forte# and thus allows all devices discovered in the SAN zone to be
35*fcf3ce44SJohn Forte# enumerated in the Solaris devinfo tree automatically.
36*fcf3ce44SJohn Forte#
37*fcf3ce44SJohn Forte# The manual_configuration_only property may be used to
38*fcf3ce44SJohn Forte# disable the default behavior and force the manual configuration of
39*fcf3ce44SJohn Forte# the devices in the SAN. Setting manual_configuration_only=1
40*fcf3ce44SJohn Forte# will disable the automatic configuration of devices.
41*fcf3ce44SJohn Forte# NOTE: Use of this property is not recommended. If used, the
42*fcf3ce44SJohn Forte# fabric devices accessed at boot time need to get manually configured
43*fcf3ce44SJohn Forte# before the next reboot. Otherwise, fabric devices that are needed at
44*fcf3ce44SJohn Forte# boot time may not get configured and may cause boot problems.
45*fcf3ce44SJohn Forte# To manually configure fabric devices, refer to cfgadm_fp(1M).
46*fcf3ce44SJohn Forte# manual_configuration_only=1;
47*fcf3ce44SJohn Forte#
48*fcf3ce44SJohn Forte
49*fcf3ce44SJohn Forte#
50*fcf3ce44SJohn Forte# To generate the binding-set specific 'compatible' forms used to address
51*fcf3ce44SJohn Forte# legacy issues the 'scsi-binding-set' property must be defined. (do not remove)
52*fcf3ce44SJohn Forte#
53*fcf3ce44SJohn Fortescsi-binding-set="fcp";
54*fcf3ce44SJohn Forte
55*fcf3ce44SJohn Forte#
56*fcf3ce44SJohn Forte# List of ULP modules for loading during port driver attach time
57*fcf3ce44SJohn Forte#
58*fcf3ce44SJohn Forteload-ulp-list="1","fcp";
59*fcf3ce44SJohn Forte
60*fcf3ce44SJohn Forte#
61*fcf3ce44SJohn Forte# I/O multipathing feature (MPxIO) can be enabled or disabled using
62*fcf3ce44SJohn Forte# mpxio-disable property. Setting mpxio-disable="no" will activate
63*fcf3ce44SJohn Forte# I/O multipathing; setting mpxio-disable="yes" disables the feature.
64*fcf3ce44SJohn Forte#
65*fcf3ce44SJohn Forte# Global mpxio-disable property:
66*fcf3ce44SJohn Forte#
67*fcf3ce44SJohn Forte# To globally enable MPxIO on all fp ports set:
68*fcf3ce44SJohn Forte# mpxio-disable="no";
69*fcf3ce44SJohn Forte#
70*fcf3ce44SJohn Forte# To globally disable MPxIO on all fp ports set:
71*fcf3ce44SJohn Forte# mpxio-disable="yes";
72*fcf3ce44SJohn Forte#
73*fcf3ce44SJohn Forte# Per port mpxio-disable property:
74*fcf3ce44SJohn Forte#
75*fcf3ce44SJohn Forte# You can also enable or disable MPxIO on a per port basis.
76*fcf3ce44SJohn Forte# Per port settings override the global setting for the specified ports.
77*fcf3ce44SJohn Forte# To disable MPxIO on port 0 whose parent is /pci@8,600000/SUNW,qlc@4 set:
78*fcf3ce44SJohn Forte# name="fp" parent="/pci@8,600000/SUNW,qlc@4" port=0 mpxio-disable="yes";
79*fcf3ce44SJohn Forte#
80*fcf3ce44SJohn Forte# NOTE: If you just want to enable or disable MPxIO on all fp ports, it is
81*fcf3ce44SJohn Forte# better to use stmsboot(1M) as it also updates /etc/vfstab.
82*fcf3ce44SJohn Forte#
83*fcf3ce44SJohn Fortempxio-disable="yes";
84*fcf3ce44SJohn Forte#
85*fcf3ce44SJohn Forte# You can describe a list of target port WWNs and LUN numbers which will
86*fcf3ce44SJohn Forte# not be configured. LUN numbers will be interpreted as decimal. White
87*fcf3ce44SJohn Forte# spaces and ',' can be used in the list of LUN numbers.
88*fcf3ce44SJohn Forte#
89*fcf3ce44SJohn Forte# pwwn-lun-blacklist=
90*fcf3ce44SJohn Forte# "target-port-wwn,lun-list"
91*fcf3ce44SJohn Forte#
92*fcf3ce44SJohn Forte# To prevent LUNs 1 and 2 from being configured for target
93*fcf3ce44SJohn Forte# port 510000f010fd92a1 and target port 510000e012079df1, set:
94*fcf3ce44SJohn Forte#
95*fcf3ce44SJohn Forte# pwwn-lun-blacklist=
96*fcf3ce44SJohn Forte# "510000f010fd92a1,1,2",
97*fcf3ce44SJohn Forte# "510000e012079df1,1,2";
98