Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /****************************************************************************** |
| 2 | * QLOGIC LINUX SOFTWARE |
| 3 | * |
| 4 | * QLogic ISP2x00 device driver for Linux 2.6.x |
Andrew Vasquez | ae91193 | 2005-07-06 10:32:27 -0700 | [diff] [blame] | 5 | * Copyright (C) 2003-2005 QLogic Corporation |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | #define USE_ABORT_TGT 1 /* Use Abort Target mbx cmd */ |
| 26 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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" |