summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/Kconfig
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2009-08-17 05:54:31 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:54 -0700
commite1415db7b6f216d4344db028581227e828a38eca (patch)
tree747dddd2fce0c65cf1a25522daf03f283349ac0c /drivers/staging/hv/Kconfig
parent79e5cdb208aaf5e7ead5c98b08a31ce6d604fead (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/Kconfig16
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
Select this option to run Linux as a Hyper-V client operating
system.
+if HYPERV
+
config HYPERV_STORAGE
tristate "Microsoft Hyper-V virtual storage driver"
- depends on SCSI && m
- default n
+ depends on SCSI
+ default HYPERV
help
Select this option to enable the Hyper-V virtual storage driver.
config HYPERV_BLOCK
tristate "Microsoft Hyper-V virtual block driver"
- depends on BLOCK && SCSI && m
- default n
+ depends on BLOCK && SCSI
+ default HYPERV
help
Select this option to enable the Hyper-V virtual block driver.
config HYPERV_NET
tristate "Microsoft Hyper-V virtual network driver"
- depends on NET && m
- default n
+ depends on NET
+ default HYPERV
help
Select this option to enable the Hyper-V virtual network driver.
+
+endif