Move everything from /var/adm to /var/log
[unleashed.git] / usr / src / uts / common / io / fibre-channel / fca / emlxs / emlxs.conf
blob5d45d699f517849e006aed304b7aa3f493265d95
2 # CDDL HEADER START
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.
8 # You can obtain a copy of the license at
9 # http://www.opensource.org/licenses/cddl1.txt.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
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]
19 # CDDL HEADER END
21 # Copyright (c) 2004-2012 Emulex. All rights reserved.
22 # Use is subject to license terms.
27 # Solaris LightPulse emlxs driver: global initialized data.
31 # console-notices:  Sets the verbose level for driver notices to the console.
32 # console-warnings: Sets the verbose level for driver warnings to the console.
33 # console-errors:   Sets the verbose level for driver errors to the console.
35 # log-notices:  Sets the verbose level for driver notices to the system log file*.
36 # log-warnings: Sets the verbose level for driver warnings to the system log file*.
37 # log-errors:   Sets the verbose level for driver errors to the system log file*.
39 #       *NOTE:  The system log file is normally found at /var/log/messages.
41 # Each parameter is a bit mask that enables/disables specific types of messages.
42 # If the bit is set, then the messages of that type are enabled.
44 # The available message types are listed below: 
46 # LOG_MISC        0x00000001     /* Misc events */
47 # LOG_DRIVER      0x00000002     /* Driver attach and detach events */
48 # LOG_INIT        0x00000004     /* HBA initialization events */
49 # LOG_MEM         0x00000008     /* Memory managment events */
50 # LOG_SLI         0x00000010     /* Service Level Interface (SLI) events */
51 # LOG_MBOX        0x00000020     /* Mailbox events */
52 # LOG_NODE        0x00000040     /* Node events */
53 # LOG_LINK        0x00000080     /* Link events */
54 # LOG_ELS         0x00000100     /* ELS events */
55 # LOG_PKT         0x00000200     /* General I/O packet events */
56 # LOG_FCP         0x00000400     /* FCP traffic events */
57 # LOG_TGTM        0x00000800     /* FCP target mode events */
58 # LOG_IP          0x00001000     /* IP traffic events */
59 # LOG_SFS         0x00002000     /* SFS events */
60 # LOG_IOCTL       0x00004000     /* IOCtl events */
61 # LOG_FIRMWARE    0x00008000     /* Firmware download events */
62 # LOG_CT          0x00010000     /* CT events */
63 # LOG_FCSP        0x00020000     /* FCSP events */
64 # LOG_RESERVED    0xfffc0000     /* Reserved for future use */
66 # Range:  Min:0  Max:0xffffffff  
68 # console-notices  = 0;  (Default)
69 # console-warnings = 0;  (Default)
70 # console-errors   = 0;  (Default)
72 # log-notices  = 0xffffffff;  (Default)
73 # log-warnings = 0xffffffff;  (Default)
74 # log-errors   = 0xffffffff;  (Default)
76 console-notices=0;
77 console-warnings=0;
78 console-errors=0;
79 log-notices=0xffffffff;
80 log-warnings=0xffffffff;
81 log-errors=0xffffffff;
84 # num-iocbs:  Sets the number of iocb buffers to allocate.
86 # Range:  Min:128  Max:10240  Default:1024
88 num-iocbs=1024;
91 # max-xfer-size:  Sets the maximum SCSI transfer size in bytes per IO
92 # This parameter is only used by the driver on i386 platforms.
93 # The driver does not limit transfer size on SPARC platforms.
95 # This parameter determines the scatter gather list buffer size.
96 # A pool of buffers is reallocated by the driver during boot.
97 # A larger transfer size requires a larger memory allocation.
99 #       Memory_model       max-xfer-size
100 #     ----------------------------------------
101 #       Small              131072 - 339968
102 #       Medium             339969 - 688128
103 #       Large              688129 - 1388544
105 # Range:  Min:131072   Max:1388544   Default:339968
107 max-xfer-size=339968;
110 # ub-bufs:  Sets the number of unsolicited buffers to be allocated.
112 # Range:  Min:40  Max:16320  Default:1000
114 ub-bufs=1000;
118 # +++ Variables relating to IP networking support. +++
121 # network-on:  Enable/Disable IP networking support in the driver.
123 # 0 = Disables IP networking support in the driver.
124 # 1 = Enables IP networking in the driver.
126 # Range:  Min:0  Max:1  Default:1
128 network-on=1;
132 # +++ Fibre Channel specific parameters +++
134 # topology:  link topology for initializing the Fibre Channel connection.
136 #          0 = attempt loop mode, if it fails attempt point-to-point mode
137 #          2 = attempt point-to-point mode only
138 #          4 = attempt loop mode only 
139 #          6 = attempt point-to-point mode, if it fails attempt loop mode
141 # Set point-to-point mode if you want to run as an N_Port.
142 # Set loop mode if you want to run as an NL_Port.
144 # Range:  Min:0  Max:6  Default:0
146 topology=0;
149 # link-speed:  Sets the link speed setting for initializing the Fibre Channel 
150 #              connection.
152 #  0 = auto select
153 #  1 = 1 Gigabaud
154 #  2 = 2 Gigabaud
155 #  4 = 4 Gigabaud
156 #  8 = 8 Gigabaud
158 # Range:  Min:0  Max:8  Default:0
160 link-speed=0;
161      
162 # ack0: Determines if ACK0 is used instead of ACK1 for class 2
163 #       acknowledgement.
165 # 0 = The driver will use ACK1 for class 2 acknowledgement.
166 # 1 = The driver will use ACK0 for class 2 acknowledgement.
168 # Range:  Min:0  Max:1  Default:0
170 ack0=0;
173 # cr-delay: Sets the coalesce response delay in the adapter.
175 # This value specifies a count of milliseconds after which an interrupt 
176 # response is generated if cr-count has not been satisfied. This value is 
177 # set to 0 to disable the Coalesce Response feature as default. 
179 # Range:  Min:0  Max:63  Default:0
181 cr-delay=0;
184 # cr-count: Sets the coalesce response count in the adapter.
186 # This value specifies a count of I/O completions after which an interrupt 
187 # response is generated. This feature is disabled if cr-delay is set to 0.
189 # Range:  Min:1  Max:255  Default:1
191 cr-count=1;
194 # assign-alpa: Sets a preferred ALPA for the adapter.
196 # This is only valid if topology is loop. A zero setting means no preference.
197 # If multiple adapter instances on the same host are on the same loop, 
198 # you will want to set this value differently for each adapter.
200 # For example: emlxs0-assign-alpa=0x01;  assigns ALPA 0x01 to adapter 0
201 #              emlxs1-assign-alpa=0x02;  assigns ALPA 0x02 to adapter 1
202 #              emlxs2-assign-alpa=0x04;  assigns ALPA 0x04 to adapter 2
204 # Range:  Min:0x00  Max:0xef  Default:0x00  (valid ALPA's only)
206 assign-alpa=0x00;
209 # adisc-support:  Sets the ADISC login support level.
211 # This sets the level of driver support for the Fibre Channel ADISC 
212 # login I/O recovery method.
214 # 0 = No support. Flush active I/O's for all FCP target devices at link down.
215 # 1 = Partial support. Flush I/O's for non-FCP2 target devices at link down.
216 # 2 = Full support. Hold active I/O's for all devices at link down.
218 # Range:  Min:0  Max:2  Default:1
220 adisc-support=1;
223 # pm-support:  Enable/Disable power management support in the driver.
225 # 0 = Disables power management support in the driver.
226 # 1 = Enables power management support in the driver.
228 # Range:  Min:0  Max:1  Default:0
230 pm-support=0;
233 # num-nodes:  Number of fibre channel nodes (NPorts) the driver will support.
235 # 0 = Indicates auto detect limit of adapter.
237 # Range:  Min:0  Max:4096  Default:0
239 num-nodes=0;
242 # pci-max-read:  Sets the PCI-X max memory read byte count on the adapter.
244 # This value controls the adapter's max PCI-X memory read count.
245 # On Sunfire x4100/4200 systems this parameter must be changed to 
246 # 1024 bytes.  Currently, this parameter should only be modified on 
247 # Sunfire x4100/4200 systems due to the unique nature of the PCI-X bus 
248 # on these systems, otherwise it should be left as default.
250 # Options:  512, 1024, 2048, 4096
252 # Range:  Min:512  Max:4096  Default:2048
254 # *Uncomment this parameter for Sunfire x4100/4200 systems only
255 #pci-max-read=1024;
258 # linkup-delay:  Sets the linkup delay period (seconds) after initialization.
260 # This value controls how long the driver waits for the Fibre Channel 
261 # link to come up after an adapter reset before continuing normal operation.
263 # Range:  Min:0  Max:60  Default:10
265 linkup-delay=10;
268 # enable-npiv:  Enables NPIV support in the driver.
270 # Requires SLI3 mode support in the adapter firmware.
272 # Range:  Min:0  Max:1  Default:0
274 enable-npiv=0;
277 # vport-restrict-login:  Restricts login to virtual ports to conserve resources.
279 # Requires SLI3 mode support in the adapter firmware.
280 # Requires enable-npiv parameter to be set to 1.
282 # Range:  Min:0  Max:1  Default:1
284 vport-restrict-login=1;
287 # enable-auth:  Enables DHCHAP support in the driver.
289 # Range:  Min:0  Max:1  Default:0
291 enable-auth=0;
294 # target-mode:  Controls COMSTAR target mode support for an adapter port.
296 # 0 = Disables target mode support. Enables  initiator mode support.
297 # 1 = Enables  target mode support. Disables initiator mode support.
299 # Usage examples:
300 #     target-mode=1;          Sets global default for target mode
301 #     emlxs0-target-mode=0;   emlxs0 will be an initiator port
302 #     emlxs1-target-mode=1;   emlxs1 will be a target port
304 # Range:  Min:0  Max:1  Default:0
306 target-mode=0;
309 # ddi-forceattach:  Force driver attach during system boot.
311 # 0 = Disables forced driver attach during system boot. (Default)
312 # 1 = Enables forced driver attach during system boot.
314 # This parameter is required if you enable target-mode. 
315 # If target mode is enabled the emlxs driver MUST be force attached
316 # at system boot to ensure remote initiators will be able to
317 # discover it.
319 # Range:  Min:0  Max:1  Default:0
321 # *Uncomment this parameter when target-mode is enabled
322 #ddi-forceattach=1;
325 # fct-bufpool:  Controls buffer pool used by COMSTAR for FCP IOs
326 #               This should ONLY be used if target-mode is enabled
327 #             
328 #    Each entry consists of "Size:Count" where:
329 #    Size is the decimal size, in bytes, of this buffer pool
330 #    Count is the decimal number of buffers of this corresponding size
331 #    There can be at most 16 different types of entries
333 #    The default behavior for a target port is
334 #    fct-bufpool="512:256",
335 #                "8192:128",
336 #                "65536:64",
337 #                "131072:64";
339 # Usage examples:
340 #     fct-bufpool          Sets global default for buffer pool
341 #     emlxs0-fct-bufpool   Sets buffer pool for emlxs0
342 #     emlxs1-fct-bufpool   Sets buffer pool for emlxs1
346 # fct-queue-depth:  Controls the queue depth for a COMSTAR target port
347 #                   This should ONLY be used if target-mode is enabled
349 #    By default, the max number of simultaneous IOs a target port can handle
350 #    is equal to the HBA throttle. The HBA throttle varies by adapter model
351 #    but usually represents approximately 2000 simultaneous IOs.  With this 
352 #    parameter, the user can limit the number of simultaneous IOs to a 
353 #    smaller value.
355 # Usage examples:
356 #     fct-queue-depth=256;          Sets global default for a target port queue
357 #                                   depth to 256 IOs.
358 #     emlxs0-fct-queue-depth=256;   emlxs0 will limit its target queue depth to
359 #                                   256 IOs 
363 # ddi-forceload:  Allows the firmware module to be loaded early enough in the
364 #                 boot to be available for the emlxs root instance to use.
365 #                 This value should not be modified by the user.
367 ddi-forceload = "misc/emlxs/emlxs_fw";