Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq
[pandora-kernel.git] / drivers / scsi / qla2xxx / qla_settings.h
1 /******************************************************************************
2  *                  QLOGIC LINUX SOFTWARE
3  *
4  * QLogic ISP2x00 device driver for Linux 2.6.x
5  * Copyright (C) 2003-2005 QLogic Corporation
6  * (www.qlogic.com)
7  *
8  * This program is free software; you can redistribute it and/or modify it
9  * under the terms of the GNU General Public License as published by the
10  * Free Software Foundation; either version 2, or (at your option) any
11  * later version.
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  ******************************************************************************/
19 /*
20  * Compile time Options:
21  *     0 - Disable and 1 - Enable
22  */
23 #define DEBUG_QLA2100           0       /* For Debug of qla2x00 */
24
25 #define USE_ABORT_TGT           1       /* Use Abort Target mbx cmd */
26
27 #define MAX_RETRIES_OF_ISP_ABORT        5
28
29 /* Max time to wait for the loop to be in LOOP_READY state */
30 #define MAX_LOOP_TIMEOUT        (60 * 5)
31 #define EH_ACTIVE               1       /* Error handler active */
32
33 /*
34  * Some vendor subsystems do not recover properly after a device reset.  Define
35  * the following to force a logout after a successful device reset.
36  */
37 #undef LOGOUT_AFTER_DEVICE_RESET
38
39 #include "qla_version.h"