brintos

brintos / linux-shallow public Read only

0
0
Text · 3.6 KiB · 8f87f2d Raw
93 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# AIC7XXX and AIC79XX 2.5.X Kernel configuration File.4# $Id: //depot/linux-aic79xx-2.5.0/drivers/scsi/aic7xxx/Kconfig.aic7xxx#7 $5#6config SCSI_AIC7XXX7	tristate "Adaptec AIC7xxx Fast -> U160 support"8	depends on (PCI || EISA) && HAS_IOPORT && SCSI9	select SCSI_SPI_ATTRS10	help11	  This driver supports all of Adaptec's Fast through Ultra 160 PCI12	  based SCSI controllers as well as the aic7770 based EISA and VLB13	  SCSI controllers (the 274x and 284x series).  For AAA and ARO based14	  configurations, only SCSI functionality is provided.15 16	  To compile this driver as a module, choose M here: the17	  module will be called aic7xxx.18 19config AIC7XXX_CMDS_PER_DEVICE20	int "Maximum number of TCQ commands per device"21	depends on SCSI_AIC7XXX22	default "32"23	help24	  Specify the number of commands you would like to allocate per SCSI25	  device when Tagged Command Queueing (TCQ) is enabled on that device.26 27	  This is an upper bound value for the number of tagged transactions28	  to be used for any device.  The aic7xxx driver will automatically29	  vary this number based on device behavior.  For devices with a30	  fixed maximum, the driver will eventually lock to this maximum31	  and display a console message indicating this value.32 33	  Due to resource allocation issues in the Linux SCSI mid-layer, using34	  a high number of commands per device may result in memory allocation35	  failures when many devices are attached to the system.  For this36	  reason, the default is set to 32.  Higher values may result in higher37	  performance on some devices. The upper bound is 253. 0 disables tagged38	  queueing.39 40	  Per device tag depth can be controlled via the kernel command line41	  "tag_info" option.  See Documentation/scsi/aic7xxx.rst for details.42 43config AIC7XXX_RESET_DELAY_MS44	int "Initial bus reset delay in milli-seconds"45	depends on SCSI_AIC7XXX46	default "5000"47	help48	  The number of milliseconds to delay after an initial bus reset.49	  The bus settle delay following all error recovery actions is50	  dictated by the SCSI layer and is not affected by this value.51 52	  Default: 5000 (5 seconds)53 54config AIC7XXX_BUILD_FIRMWARE55	bool "Build Adapter Firmware with Kernel Build"56	depends on SCSI_AIC7XXX && !PREVENT_FIRMWARE_BUILD57	help58	  This option should only be enabled if you are modifying the firmware59	  source to the aic7xxx driver and wish to have the generated firmware60	  include files updated during a normal kernel build.  The assembler61	  for the firmware requires lex and yacc or their equivalents, as well62	  as the db v1 library.  You may have to install additional packages63	  or modify the assembler Makefile or the files it includes if your64	  build environment is different than that of the author.65 66config AIC7XXX_DEBUG_ENABLE67	bool "Compile in Debugging Code"68	depends on SCSI_AIC7XXX69	default y70	help71	  Compile in aic7xxx debugging code that can be useful in diagnosing72	  driver errors.73 74config AIC7XXX_DEBUG_MASK75	int "Debug code enable mask (2047 for all debugging)"76	depends on SCSI_AIC7XXX77	default "0"78	help79	  Bit mask of debug options that is only valid if the80	  CONFIG_AIC7XXX_DEBUG_ENABLE option is enabled.  The bits in this mask81	  are defined in the drivers/scsi/aic7xxx/aic7xxx.h - search for the82	  variable ahc_debug in that file to find them.83 84config AIC7XXX_REG_PRETTY_PRINT85	bool "Decode registers during diagnostics"86	depends on SCSI_AIC7XXX87	default y88	help89	  Compile in register value tables for the output of expanded register90	  contents in diagnostics.  This make it much easier to understand debug91	  output without having to refer to a data book and/or the aic7xxx.reg92	  file.93