Staging: hv: adjust Hyper-V Kconfig

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, September 16, 2009 - 9:07 am

Gitweb:     http://git.kernel.org/linus/e1415db7b6f216d4344db028581227e828a38eca
Commit:     e1415db7b6f216d4344db028581227e828a38eca
Parent:     79e5cdb208aaf5e7ead5c98b08a31ce6d604fead
Author:     Jan Beulich <JBeulich@novell.com>
AuthorDate: Mon Aug 17 05:54:31 2009 -0600
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Tue Sep 15 12:01:54 2009 -0700

    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>
---
 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 4a1f4f1..4044702 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
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Staging: hv: adjust Hyper-V Kconfig, Linux Kernel Mailing ..., (Wed Sep 16, 9:07 am)