qla_settings.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. #define USE_ABORT_TGT 1 /* Use Abort Target mbx cmd */
  25. #define MAX_RETRIES_OF_ISP_ABORT 5
  26. /* Max time to wait for the loop to be in LOOP_READY state */
  27. #define MAX_LOOP_TIMEOUT (60 * 5)
  28. #define EH_ACTIVE 1 /* Error handler active */
  29. /*
  30. * Some vendor subsystems do not recover properly after a device reset. Define
  31. * the following to force a logout after a successful device reset.
  32. */
  33. #undef LOGOUT_AFTER_DEVICE_RESET
  34. #include "qla_version.h"