[SCSI] fix oops in scsi_release_buffers()
[linux-2.6/suspend2-2.6.18.git] / drivers / scsi / qla2xxx / qla_settings.h
blobd85fbbed79cce50a69ee81fb849adf1de38f1b59
1 /******************************************************************************
2 * QLOGIC LINUX SOFTWARE
4 * QLogic ISP2x00 device driver for Linux 2.6.x
5 * Copyright (C) 2003-2005 QLogic Corporation
6 * (www.qlogic.com)
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.
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.
18 ******************************************************************************/
20 * Compile time Options:
21 * 0 - Disable and 1 - Enable
23 #define DEBUG_QLA2100 0 /* For Debug of qla2x00 */
25 #define USE_ABORT_TGT 1 /* Use Abort Target mbx cmd */
27 #define MAX_RETRIES_OF_ISP_ABORT 5
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 */
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.
37 #undef LOGOUT_AFTER_DEVICE_RESET
39 #include "qla_version.h"