Andrew Vasquez | fa90c54 | 2005-10-27 11:10:08 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * QLogic Fibre Channel HBA Driver |
| 3 | * Copyright (c) 2003-2005 QLogic Corporation |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | * |
Andrew Vasquez | fa90c54 | 2005-10-27 11:10:08 -0700 | [diff] [blame^] | 5 | * See LICENSE.qla2xxx for copyright and licensing details. |
| 6 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | /* |
| 8 | * Compile time Options: |
| 9 | * 0 - Disable and 1 - Enable |
| 10 | */ |
| 11 | #define DEBUG_QLA2100 0 /* For Debug of qla2x00 */ |
| 12 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #define USE_ABORT_TGT 1 /* Use Abort Target mbx cmd */ |
| 14 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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" |