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