xref: /illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/pmcs.conf (revision 98c080d502548e68bb9815459ea56e6ae282c430)
1# CDDL HEADER START
2#
3# The contents of this file are subject to the terms of the
4# Common Development and Distribution License (the "License").
5# You may not use this file except in compliance with the License.
6#
7# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8# or http://www.opensolaris.org/os/licensing.
9# See the License for the specific language governing permissions
10# and limitations under the License.
11#
12# When distributing Covered Code, include this CDDL HEADER in each
13# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14# If applicable, add the following below this CDDL HEADER, with the
15# fields enclosed by brackets "[]" replaced with your own identifying
16# information: Portions Copyright [yyyy] [name of copyright owner]
17#
18# CDDL HEADER END
19#
20# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
21# Use is subject to license terms.
22#
23
24#
25# As a pHCI driver, pmcs must specify the vHCI class it belongs to (scsi_vhci).
26#
27ddi-vhci-class="scsi_vhci";
28
29#
30# By default, MPxIO will be enabled on all pmcs controllers. To disable MPxIO
31# for all pmcs controllers, set:
32#
33#mpxio-disable="yes";
34
35#
36# You can disable MPxIO on a per-HBA basis. Per port settings override the
37# global setting for the specified ports. To disable MPxIO for the controller
38# whose unit-address is 0 and whose parent is /pci@0/pci10de,5d@e, set:
39#
40#name="pmcs" parent="/pci@0/pci10de,5d@e" unit-address="0" mpxio-disable="yes";
41
42#
43# If pmcs-fwlogfile is not defined, firmware event logs will only be resident
44# in memory.  If defined, the driver can write up to 10 event logs per HBA to
45# the specified location.  An absolute path must be specified, and all
46# directories in the path must already exist.  The basename will be the prefix
47# of the output files.
48#
49# For example, if pmcs-fwlogfile is defined as "/var/tmp/fwlog", the driver
50# will write the following files as needed:
51#
52# /var/tmp/fwlogX-aap1.[0-4]
53# /var/tmp/fwlogX-iop.[0-4]
54#
55# where "X" corresponds to the instance number of the HBA.
56#
57# Each file will be 1MB in size and will only be written when the in-memory
58# copy of the event log reaches a threshold.  If all five files have already
59# been written, the driver will simply cycle from 4 back to 0 and start over.
60# Thus, the .# suffix doesn't necessarily indicate the ordering.  Check the
61# files' timestamps to determine which is the oldest or newest.
62#
63#pmcs-fwlogfile="/var/tmp/fwlog";
64
65#
66# Global debug settings may be set using the 'pmcs-debug-mask' property.
67# Any combination of values may be set according to the following:
68#
69# 0x0001 - Basic info; shouldn't print anything during normal operation
70# 0x0002 - Small amount of I/O information during normal operation
71# 0x0004 - Much more info during I/O; will impact performance
72# 0x0008 - Very verbose at all times; definitely a performance impact
73# 0x0010 - Debug information with regard to discovery/configuration
74# 0x0020 - Debug information with regard to iport
75# 0x0040 - Debug information with regard to map
76# 0x0080 - Report on SCSI underruns and residuals
77# 0x0100 - Report SCSI status for every command
78# 0x0200 - PHY lock/unlock debug (very noisy)
79# 0x0400 - Debug information with regard to device state
80#
81pmcs-debug-mask=0x71;
82
83