Explorar o código

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>
Jan Beulich %!s(int64=16) %!d(string=hai) anos
pai
achega
e1415db7b6
Modificáronse 1 ficheiros con 10 adicións e 6 borrados
  1. 10 6
      drivers/staging/hv/Kconfig

+ 10 - 6
drivers/staging/hv/Kconfig

@@ -6,23 +6,27 @@ config HYPERV
 	  Select this option to run Linux as a Hyper-V client operating
 	  Select this option to run Linux as a Hyper-V client operating
 	  system.
 	  system.
 
 
+if HYPERV
+
 config HYPERV_STORAGE
 config HYPERV_STORAGE
 	tristate "Microsoft Hyper-V virtual storage driver"
 	tristate "Microsoft Hyper-V virtual storage driver"
-	depends on SCSI && m
-	default n
+	depends on SCSI
+	default HYPERV
 	help
 	help
 	 Select this option to enable the Hyper-V virtual storage driver.
 	 Select this option to enable the Hyper-V virtual storage driver.
 
 
 config HYPERV_BLOCK
 config HYPERV_BLOCK
 	tristate "Microsoft Hyper-V virtual block driver"
 	tristate "Microsoft Hyper-V virtual block driver"
-	depends on BLOCK && SCSI && m
-	default n
+	depends on BLOCK && SCSI
+	default HYPERV
 	help
 	help
 	  Select this option to enable the Hyper-V virtual block driver.
 	  Select this option to enable the Hyper-V virtual block driver.
 
 
 config HYPERV_NET
 config HYPERV_NET
 	tristate "Microsoft Hyper-V virtual network driver"
 	tristate "Microsoft Hyper-V virtual network driver"
-	depends on NET && m
-	default n
+	depends on NET
+	default HYPERV
 	help
 	help
 	  Select this option to enable the Hyper-V virtual network driver.
 	  Select this option to enable the Hyper-V virtual network driver.
+
+endif