Kconfig.aic79xx 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. #
  2. # AIC79XX 2.5.X Kernel configuration File.
  3. # $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Kconfig.aic79xx#4 $
  4. #
  5. config SCSI_AIC79XX
  6. tristate "Adaptec AIC79xx U320 support"
  7. depends on PCI && SCSI
  8. select SCSI_SPI_ATTRS
  9. help
  10. This driver supports all of Adaptec's Ultra 320 PCI-X
  11. based SCSI controllers.
  12. config AIC79XX_CMDS_PER_DEVICE
  13. int "Maximum number of TCQ commands per device"
  14. depends on SCSI_AIC79XX
  15. default "32"
  16. ---help---
  17. Specify the number of commands you would like to allocate per SCSI
  18. device when Tagged Command Queueing (TCQ) is enabled on that device.
  19. This is an upper bound value for the number of tagged transactions
  20. to be used for any device. The aic7xxx driver will automatically
  21. vary this number based on device behavior. For devices with a
  22. fixed maximum, the driver will eventually lock to this maximum
  23. and display a console message indicating this value.
  24. Due to resource allocation issues in the Linux SCSI mid-layer, using
  25. a high number of commands per device may result in memory allocation
  26. failures when many devices are attached to the system. For this reason,
  27. the default is set to 32. Higher values may result in higher performance
  28. on some devices. The upper bound is 253. 0 disables tagged queueing.
  29. Per device tag depth can be controlled via the kernel command line
  30. "tag_info" option. See drivers/scsi/aic7xxx/README.aic79xx
  31. for details.
  32. config AIC79XX_RESET_DELAY_MS
  33. int "Initial bus reset delay in milli-seconds"
  34. depends on SCSI_AIC79XX
  35. default "5000"
  36. ---help---
  37. The number of milliseconds to delay after an initial bus reset.
  38. The bus settle delay following all error recovery actions is
  39. dictated by the SCSI layer and is not affected by this value.
  40. Default: 5000 (5 seconds)
  41. config AIC79XX_BUILD_FIRMWARE
  42. bool "Build Adapter Firmware with Kernel Build"
  43. depends on SCSI_AIC79XX && !PREVENT_FIRMWARE_BUILD
  44. help
  45. This option should only be enabled if you are modifying the firmware
  46. source to the aic79xx driver and wish to have the generated firmware
  47. include files updated during a normal kernel build. The assembler
  48. for the firmware requires lex and yacc or their equivalents, as well
  49. as the db v1 library. You may have to install additional packages
  50. or modify the assembler Makefile or the files it includes if your
  51. build environment is different than that of the author.
  52. config AIC79XX_DEBUG_ENABLE
  53. bool "Compile in Debugging Code"
  54. depends on SCSI_AIC79XX
  55. default y
  56. help
  57. Compile in aic79xx debugging code that can be useful in diagnosing
  58. driver errors.
  59. config AIC79XX_DEBUG_MASK
  60. int "Debug code enable mask (16383 for all debugging)"
  61. depends on SCSI_AIC79XX
  62. default "0"
  63. help
  64. Bit mask of debug options that is only valid if the
  65. CONFIG_AIC79XX_DEBUG_ENBLE option is enabled. The bits in this mask
  66. are defined in the drivers/scsi/aic7xxx/aic79xx.h - search for the
  67. variable ahd_debug in that file to find them.
  68. config AIC79XX_REG_PRETTY_PRINT
  69. bool "Decode registers during diagnostics"
  70. depends on SCSI_AIC79XX
  71. default y
  72. help
  73. Compile in register value tables for the output of expanded register
  74. contents in diagnostics. This make it much easier to understand debug
  75. output without having to refer to a data book and/or the aic7xxx.reg
  76. file.