diff options
author | Jan Beulich <JBeulich@novell.com> | 2009-08-17 07:54:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 15:01:54 -0400 |
commit | e1415db7b6f216d4344db028581227e828a38eca (patch) | |
tree | 747dddd2fce0c65cf1a25522daf03f283349ac0c /drivers/staging/hv/Kconfig | |
parent | 79e5cdb208aaf5e7ead5c98b08a31ce6d604fead (diff) |
Staging: hv: adjust Hyper-V Kconfig
Hyper-V sub-components' options should all depend on the base option.
The default of these sub-component options is also more reasonably set
to that of the base option (since it makes little sense to enable the
base option without the sub-component ones).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Kconfig')
-rw-r--r-- | drivers/staging/hv/Kconfig | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/staging/hv/Kconfig b/drivers/staging/hv/Kconfig index 4a1f4f1b5c9..40447020a79 100644 --- a/drivers/staging/hv/Kconfig +++ b/drivers/staging/hv/Kconfig | |||
@@ -6,23 +6,27 @@ config HYPERV | |||
6 | Select this option to run Linux as a Hyper-V client operating | 6 | Select this option to run Linux as a Hyper-V client operating |
7 | system. | 7 | system. |
8 | 8 | ||
9 | if HYPERV | ||
10 | |||
9 | config HYPERV_STORAGE | 11 | config HYPERV_STORAGE |
10 | tristate "Microsoft Hyper-V virtual storage driver" | 12 | tristate "Microsoft Hyper-V virtual storage driver" |
11 | depends on SCSI && m | 13 | depends on SCSI |
12 | default n | 14 | default HYPERV |
13 | help | 15 | help |
14 | Select this option to enable the Hyper-V virtual storage driver. | 16 | Select this option to enable the Hyper-V virtual storage driver. |
15 | 17 | ||
16 | config HYPERV_BLOCK | 18 | config HYPERV_BLOCK |
17 | tristate "Microsoft Hyper-V virtual block driver" | 19 | tristate "Microsoft Hyper-V virtual block driver" |
18 | depends on BLOCK && SCSI && m | 20 | depends on BLOCK && SCSI |
19 | default n | 21 | default HYPERV |
20 | help | 22 | help |
21 | Select this option to enable the Hyper-V virtual block driver. | 23 | Select this option to enable the Hyper-V virtual block driver. |
22 | 24 | ||
23 | config HYPERV_NET | 25 | config HYPERV_NET |
24 | tristate "Microsoft Hyper-V virtual network driver" | 26 | tristate "Microsoft Hyper-V virtual network driver" |
25 | depends on NET && m | 27 | depends on NET |
26 | default n | 28 | default HYPERV |
27 | help | 29 | help |
28 | Select this option to enable the Hyper-V virtual network driver. | 30 | Select this option to enable the Hyper-V virtual network driver. |
31 | |||
32 | endif | ||