Kconfig.aic79xx 3.6 KB

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