[PATCH] adjust Hyper-V Kconfig

From: Jan Beulich
Date: Mon Aug 17 2009 - 07:58:11 EST


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@xxxxxxxxxx>

--- linux-next/drivers/staging/hv/Kconfig
+++ linux-next/drivers/staging/hv/Kconfig
@@ -6,23 +6,27 @@
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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/