18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# AIC79XX 2.5.X Kernel configuration File. 48c2ecf20Sopenharmony_ci# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Kconfig.aic79xx#4 $ 58c2ecf20Sopenharmony_ci# 68c2ecf20Sopenharmony_ciconfig SCSI_AIC79XX 78c2ecf20Sopenharmony_ci tristate "Adaptec AIC79xx U320 support" 88c2ecf20Sopenharmony_ci depends on PCI && SCSI 98c2ecf20Sopenharmony_ci select SCSI_SPI_ATTRS 108c2ecf20Sopenharmony_ci help 118c2ecf20Sopenharmony_ci This driver supports all of Adaptec's Ultra 320 PCI-X 128c2ecf20Sopenharmony_ci based SCSI controllers. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciconfig AIC79XX_CMDS_PER_DEVICE 158c2ecf20Sopenharmony_ci int "Maximum number of TCQ commands per device" 168c2ecf20Sopenharmony_ci depends on SCSI_AIC79XX 178c2ecf20Sopenharmony_ci default "32" 188c2ecf20Sopenharmony_ci help 198c2ecf20Sopenharmony_ci Specify the number of commands you would like to allocate per SCSI 208c2ecf20Sopenharmony_ci device when Tagged Command Queueing (TCQ) is enabled on that device. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci This is an upper bound value for the number of tagged transactions 238c2ecf20Sopenharmony_ci to be used for any device. The aic7xxx driver will automatically 248c2ecf20Sopenharmony_ci vary this number based on device behavior. For devices with a 258c2ecf20Sopenharmony_ci fixed maximum, the driver will eventually lock to this maximum 268c2ecf20Sopenharmony_ci and display a console message indicating this value. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci Due to resource allocation issues in the Linux SCSI mid-layer, using 298c2ecf20Sopenharmony_ci a high number of commands per device may result in memory allocation 308c2ecf20Sopenharmony_ci failures when many devices are attached to the system. For this reason, 318c2ecf20Sopenharmony_ci the default is set to 32. Higher values may result in higher performance 328c2ecf20Sopenharmony_ci on some devices. The upper bound is 253. 0 disables tagged queueing. 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci Per device tag depth can be controlled via the kernel command line 358c2ecf20Sopenharmony_ci "tag_info" option. See Documentation/scsi/aic79xx.rst for details. 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ciconfig AIC79XX_RESET_DELAY_MS 388c2ecf20Sopenharmony_ci int "Initial bus reset delay in milli-seconds" 398c2ecf20Sopenharmony_ci depends on SCSI_AIC79XX 408c2ecf20Sopenharmony_ci default "5000" 418c2ecf20Sopenharmony_ci help 428c2ecf20Sopenharmony_ci The number of milliseconds to delay after an initial bus reset. 438c2ecf20Sopenharmony_ci The bus settle delay following all error recovery actions is 448c2ecf20Sopenharmony_ci dictated by the SCSI layer and is not affected by this value. 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci Default: 5000 (5 seconds) 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ciconfig AIC79XX_BUILD_FIRMWARE 498c2ecf20Sopenharmony_ci bool "Build Adapter Firmware with Kernel Build" 508c2ecf20Sopenharmony_ci depends on SCSI_AIC79XX && !PREVENT_FIRMWARE_BUILD 518c2ecf20Sopenharmony_ci help 528c2ecf20Sopenharmony_ci This option should only be enabled if you are modifying the firmware 538c2ecf20Sopenharmony_ci source to the aic79xx driver and wish to have the generated firmware 548c2ecf20Sopenharmony_ci include files updated during a normal kernel build. The assembler 558c2ecf20Sopenharmony_ci for the firmware requires lex and yacc or their equivalents, as well 568c2ecf20Sopenharmony_ci as the db v1 library. You may have to install additional packages 578c2ecf20Sopenharmony_ci or modify the assembler Makefile or the files it includes if your 588c2ecf20Sopenharmony_ci build environment is different than that of the author. 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ciconfig AIC79XX_DEBUG_ENABLE 618c2ecf20Sopenharmony_ci bool "Compile in Debugging Code" 628c2ecf20Sopenharmony_ci depends on SCSI_AIC79XX 638c2ecf20Sopenharmony_ci default y 648c2ecf20Sopenharmony_ci help 658c2ecf20Sopenharmony_ci Compile in aic79xx debugging code that can be useful in diagnosing 668c2ecf20Sopenharmony_ci driver errors. 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ciconfig AIC79XX_DEBUG_MASK 698c2ecf20Sopenharmony_ci int "Debug code enable mask (16383 for all debugging)" 708c2ecf20Sopenharmony_ci depends on SCSI_AIC79XX 718c2ecf20Sopenharmony_ci default "0" 728c2ecf20Sopenharmony_ci help 738c2ecf20Sopenharmony_ci Bit mask of debug options that is only valid if the 748c2ecf20Sopenharmony_ci CONFIG_AIC79XX_DEBUG_ENABLE option is enabled. The bits in this mask 758c2ecf20Sopenharmony_ci are defined in the drivers/scsi/aic7xxx/aic79xx.h - search for the 768c2ecf20Sopenharmony_ci variable ahd_debug in that file to find them. 778c2ecf20Sopenharmony_ci 788c2ecf20Sopenharmony_ciconfig AIC79XX_REG_PRETTY_PRINT 798c2ecf20Sopenharmony_ci bool "Decode registers during diagnostics" 808c2ecf20Sopenharmony_ci depends on SCSI_AIC79XX 818c2ecf20Sopenharmony_ci default y 828c2ecf20Sopenharmony_ci help 838c2ecf20Sopenharmony_ci Compile in register value tables for the output of expanded register 848c2ecf20Sopenharmony_ci contents in diagnostics. This make it much easier to understand debug 858c2ecf20Sopenharmony_ci output without having to refer to a data book and/or the aic7xxx.reg 868c2ecf20Sopenharmony_ci file. 87