Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 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 | ---help--- |
| 9 | This driver supports all of Adaptec's Fast through Ultra 160 PCI |
| 10 | based SCSI controllers as well as the aic7770 based EISA and VLB |
| 11 | SCSI controllers (the 274x and 284x series). For AAA and ARO based |
| 12 | configurations, only SCSI functionality is provided. |
| 13 | |
| 14 | To compile this driver as a module, choose M here: the |
| 15 | module will be called aic7xxx. |
| 16 | |
| 17 | config AIC7XXX_CMDS_PER_DEVICE |
| 18 | int "Maximum number of TCQ commands per device" |
| 19 | depends on SCSI_AIC7XXX |
| 20 | default "32" |
| 21 | ---help--- |
| 22 | Specify the number of commands you would like to allocate per SCSI |
| 23 | device when Tagged Command Queueing (TCQ) is enabled on that device. |
| 24 | |
| 25 | This is an upper bound value for the number of tagged transactions |
| 26 | to be used for any device. The aic7xxx driver will automatically |
| 27 | vary this number based on device behavior. For devices with a |
| 28 | fixed maximum, the driver will eventually lock to this maximum |
| 29 | and display a console message inidicating this value. |
| 30 | |
| 31 | Due to resource allocation issues in the Linux SCSI mid-layer, using |
| 32 | a high number of commands per device may result in memory allocation |
| 33 | failures when many devices are attached to the system. For this reason, |
| 34 | the default is set to 32. Higher values may result in higer performance |
| 35 | on some devices. The upper bound is 253. 0 disables tagged queueing. |
| 36 | |
| 37 | Per device tag depth can be controlled via the kernel command line |
| 38 | "tag_info" option. See drivers/scsi/aic7xxx/README.aic7xxx |
| 39 | for details. |
| 40 | |
| 41 | config AIC7XXX_RESET_DELAY_MS |
| 42 | int "Initial bus reset delay in milli-seconds" |
| 43 | depends on SCSI_AIC7XXX |
| 44 | default "15000" |
| 45 | ---help--- |
| 46 | The number of milliseconds to delay after an initial bus reset. |
| 47 | The bus settle delay following all error recovery actions is |
| 48 | dictated by the SCSI layer and is not affected by this value. |
| 49 | |
| 50 | Default: 15000 (15 seconds) |
| 51 | |
| 52 | config AIC7XXX_PROBE_EISA_VL |
| 53 | bool "Probe for EISA and VL AIC7XXX Adapters" |
| 54 | depends on SCSI_AIC7XXX && EISA |
| 55 | help |
| 56 | Probe for EISA and VLB Aic7xxx controllers. In many newer systems, |
| 57 | the invasive probes necessary to detect these controllers can cause |
| 58 | other devices to fail. For this reason, the non-PCI probe code is |
| 59 | disabled by default. The current value of this option can be "toggled" |
| 60 | via the no_probe kernel command line option. |
| 61 | |
| 62 | config AIC7XXX_BUILD_FIRMWARE |
| 63 | bool "Build Adapter Firmware with Kernel Build" |
| 64 | depends on SCSI_AIC7XXX && !PREVENT_FIRMWARE_BUILD |
| 65 | help |
| 66 | This option should only be enabled if you are modifying the firmware |
| 67 | source to the aic7xxx driver and wish to have the generated firmware |
| 68 | include files updated during a normal kernel build. The assembler |
| 69 | for the firmware requires lex and yacc or their equivalents, as well |
| 70 | as the db v1 library. You may have to install additional packages |
| 71 | or modify the assembler Makefile or the files it includes if your |
| 72 | build environment is different than that of the author. |
| 73 | |
| 74 | config AIC7XXX_DEBUG_ENABLE |
| 75 | bool "Compile in Debugging Code" |
| 76 | depends on SCSI_AIC7XXX |
| 77 | default y |
| 78 | help |
| 79 | Compile in aic7xxx debugging code that can be useful in diagnosing |
| 80 | driver errors. |
| 81 | |
| 82 | config AIC7XXX_DEBUG_MASK |
| 83 | int "Debug code enable mask (2047 for all debugging)" |
| 84 | depends on SCSI_AIC7XXX |
| 85 | default "0" |
| 86 | help |
| 87 | Bit mask of debug options that is only valid if the |
| 88 | CONFIG_AIC7XXX_DEBUG_ENBLE option is enabled. The bits in this mask |
| 89 | are defined in the drivers/scsi/aic7xxx/aic7xxx.h - search for the |
| 90 | variable ahc_debug in that file to find them. |
| 91 | |
| 92 | config AIC7XXX_REG_PRETTY_PRINT |
| 93 | bool "Decode registers during diagnostics" |
| 94 | depends on SCSI_AIC7XXX |
| 95 | default y |
| 96 | help |
| 97 | Compile in register value tables for the output of expanded register |
| 98 | contents in diagnostics. This make it much easier to understand debug |
| 99 | output without having to refer to a data book and/or the aic7xxx.reg |
| 100 | file. |