diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2007-08-10 17:50:37 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:47:05 -0400 |
commit | 1d9a3d06511751f02d9767de3e4d28d4dafc63b3 (patch) | |
tree | 37bcaa638ec6cb560022d02eebe6dd22f3d75ec2 /drivers/message/fusion | |
parent | 72e39ea7e03d0685945d177dc8cb8fe633ca9400 (diff) |
[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>
Diffstat (limited to 'drivers/message/fusion')
-rw-r--r-- | drivers/message/fusion/Kconfig | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig index 3c44a2fc4efb..9b87c2fd052c 100644 --- a/drivers/message/fusion/Kconfig +++ b/drivers/message/fusion/Kconfig | |||
@@ -1,15 +1,19 @@ | |||
1 | 1 | ||
2 | menu "Fusion MPT device support" | 2 | menuconfig FUSION |
3 | bool "Fusion MPT device support" | ||
3 | depends on PCI | 4 | depends on PCI |
5 | ---help--- | ||
6 | Say Y here to get to see options for Fusion Message | ||
7 | Passing Technology (MPT) drivers. | ||
8 | This option alone does not add any kernel code. | ||
9 | |||
10 | If you say N, all options in this submenu will be skipped and disabled. | ||
4 | 11 | ||
5 | config FUSION | 12 | if FUSION |
6 | bool | ||
7 | default n | ||
8 | 13 | ||
9 | config FUSION_SPI | 14 | config FUSION_SPI |
10 | tristate "Fusion MPT ScsiHost drivers for SPI" | 15 | tristate "Fusion MPT ScsiHost drivers for SPI" |
11 | depends on PCI && SCSI | 16 | depends on PCI && SCSI |
12 | select FUSION | ||
13 | select SCSI_SPI_ATTRS | 17 | select SCSI_SPI_ATTRS |
14 | ---help--- | 18 | ---help--- |
15 | SCSI HOST support for a parallel SCSI host adapters. | 19 | SCSI HOST support for a parallel SCSI host adapters. |
@@ -25,7 +29,6 @@ config FUSION_SPI | |||
25 | config FUSION_FC | 29 | config FUSION_FC |
26 | tristate "Fusion MPT ScsiHost drivers for FC" | 30 | tristate "Fusion MPT ScsiHost drivers for FC" |
27 | depends on PCI && SCSI | 31 | depends on PCI && SCSI |
28 | select FUSION | ||
29 | select SCSI_FC_ATTRS | 32 | select SCSI_FC_ATTRS |
30 | ---help--- | 33 | ---help--- |
31 | SCSI HOST support for a Fiber Channel host adapters. | 34 | SCSI HOST support for a Fiber Channel host adapters. |
@@ -43,7 +46,6 @@ config FUSION_FC | |||
43 | config FUSION_SAS | 46 | config FUSION_SAS |
44 | tristate "Fusion MPT ScsiHost drivers for SAS" | 47 | tristate "Fusion MPT ScsiHost drivers for SAS" |
45 | depends on PCI && SCSI | 48 | depends on PCI && SCSI |
46 | select FUSION | ||
47 | select SCSI_SAS_ATTRS | 49 | select SCSI_SAS_ATTRS |
48 | ---help--- | 50 | ---help--- |
49 | SCSI HOST support for a SAS host adapters. | 51 | SCSI HOST support for a SAS host adapters. |
@@ -57,7 +59,6 @@ config FUSION_SAS | |||
57 | 59 | ||
58 | config FUSION_MAX_SGE | 60 | config FUSION_MAX_SGE |
59 | int "Maximum number of scatter gather entries (16 - 128)" | 61 | int "Maximum number of scatter gather entries (16 - 128)" |
60 | depends on FUSION | ||
61 | default "128" | 62 | default "128" |
62 | range 16 128 | 63 | range 16 128 |
63 | help | 64 | help |
@@ -117,4 +118,4 @@ config FUSION_LOGGING | |||
117 | There are various debug levels that an be found in the source: | 118 | There are various debug levels that an be found in the source: |
118 | file:drivers/message/fusion/mptdebug.h | 119 | file:drivers/message/fusion/mptdebug.h |
119 | 120 | ||
120 | endmenu | 121 | endif # FUSION |