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) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
| 20 | /* |
| 21 | * Some vendor subsystems do not recover properly after a device reset. Define |
| 22 | * the following to force a logout after a successful device reset. |
| 23 | */ |
| 24 | #undef LOGOUT_AFTER_DEVICE_RESET |
| 25 | |
| 26 | #include "qla_version.h" |