[SCSI] mpt fusion: Use menuconfig objects
Change Kconfig objects from "menu, config" into "menuconfig" so that the user can disable the whole feature without having to enter the menu first. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Acked-by: "Moore, Eric Dean" <Eric.Moore@lsil.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
72e39ea7e0
commit
1d9a3d0651
|
@ -1,15 +1,19 @@
|
||||||
|
|
||||||
menu "Fusion MPT device support"
|
menuconfig FUSION
|
||||||
|
bool "Fusion MPT device support"
|
||||||
depends on PCI
|
depends on PCI
|
||||||
|
---help---
|
||||||
|
Say Y here to get to see options for Fusion Message
|
||||||
|
Passing Technology (MPT) drivers.
|
||||||
|
This option alone does not add any kernel code.
|
||||||
|
|
||||||
config FUSION
|
If you say N, all options in this submenu will be skipped and disabled.
|
||||||
bool
|
|
||||||
default n
|
if FUSION
|
||||||
|
|
||||||
config FUSION_SPI
|
config FUSION_SPI
|
||||||
tristate "Fusion MPT ScsiHost drivers for SPI"
|
tristate "Fusion MPT ScsiHost drivers for SPI"
|
||||||
depends on PCI && SCSI
|
depends on PCI && SCSI
|
||||||
select FUSION
|
|
||||||
select SCSI_SPI_ATTRS
|
select SCSI_SPI_ATTRS
|
||||||
---help---
|
---help---
|
||||||
SCSI HOST support for a parallel SCSI host adapters.
|
SCSI HOST support for a parallel SCSI host adapters.
|
||||||
|
@ -25,7 +29,6 @@ config FUSION_SPI
|
||||||
config FUSION_FC
|
config FUSION_FC
|
||||||
tristate "Fusion MPT ScsiHost drivers for FC"
|
tristate "Fusion MPT ScsiHost drivers for FC"
|
||||||
depends on PCI && SCSI
|
depends on PCI && SCSI
|
||||||
select FUSION
|
|
||||||
select SCSI_FC_ATTRS
|
select SCSI_FC_ATTRS
|
||||||
---help---
|
---help---
|
||||||
SCSI HOST support for a Fiber Channel host adapters.
|
SCSI HOST support for a Fiber Channel host adapters.
|
||||||
|
@ -43,7 +46,6 @@ config FUSION_FC
|
||||||
config FUSION_SAS
|
config FUSION_SAS
|
||||||
tristate "Fusion MPT ScsiHost drivers for SAS"
|
tristate "Fusion MPT ScsiHost drivers for SAS"
|
||||||
depends on PCI && SCSI
|
depends on PCI && SCSI
|
||||||
select FUSION
|
|
||||||
select SCSI_SAS_ATTRS
|
select SCSI_SAS_ATTRS
|
||||||
---help---
|
---help---
|
||||||
SCSI HOST support for a SAS host adapters.
|
SCSI HOST support for a SAS host adapters.
|
||||||
|
@ -57,7 +59,6 @@ config FUSION_SAS
|
||||||
|
|
||||||
config FUSION_MAX_SGE
|
config FUSION_MAX_SGE
|
||||||
int "Maximum number of scatter gather entries (16 - 128)"
|
int "Maximum number of scatter gather entries (16 - 128)"
|
||||||
depends on FUSION
|
|
||||||
default "128"
|
default "128"
|
||||||
range 16 128
|
range 16 128
|
||||||
help
|
help
|
||||||
|
@ -117,4 +118,4 @@ config FUSION_LOGGING
|
||||||
There are various debug levels that an be found in the source:
|
There are various debug levels that an be found in the source:
|
||||||
file:drivers/message/fusion/mptdebug.h
|
file:drivers/message/fusion/mptdebug.h
|
||||||
|
|
||||||
endmenu
|
endif # FUSION
|
||||||
|
|
Loading…
Reference in New Issue