363205c0e84fa1e9f7a7e6c8a8f44330fe72676d
[linux-2.6.git] / drivers / scsi / qla2xxx / qla_settings.h
1 /*
2  * QLogic Fibre Channel HBA Driver
3  * Copyright (c)  2003-2005 QLogic Corporation
4  *
5  * See LICENSE.qla2xxx for copyright and licensing details.
6  */
7 /*
8  * Compile time Options:
9  *     0 - Disable and 1 - Enable
10  */
11 #define DEBUG_QLA2100           0       /* For Debug of qla2x00 */
12
13 #define USE_ABORT_TGT           1       /* Use Abort Target mbx cmd */
14
15 #define MAX_RETRIES_OF_ISP_ABORT        5
16
17 /* Max time to wait for the loop to be in LOOP_READY state */
18 #define MAX_LOOP_TIMEOUT        (60 * 5)
19 #define EH_ACTIVE               1       /* Error handler active */
20
21 /*
22  * Some vendor subsystems do not recover properly after a device reset.  Define
23  * the following to force a logout after a successful device reset.
24  */
25 #undef LOGOUT_AFTER_DEVICE_RESET
26
27 #include "qla_version.h"