Kconfig.aic7xxx 3.5 KB

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