summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-14 10:25:53 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:45 -0700
commit88d3bb31b42f3f095bd176ccabe210023a0231b8 (patch)
tree447134fdb3515d1cda4b6184eb40e5b1276860e7
parent0fce4c2f491cc1a579cac28b67208600cfff6d38 (diff)
Staging: hv: add the Hyper-V virtual block driver to the build
Add the Hyper-V virtual block driver to the kernel build system. Cc: Hank Janssen <hjanssen@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/hv/Kconfig7
-rw-r--r--drivers/staging/hv/Makefile2
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/staging/hv/Kconfig b/drivers/staging/hv/Kconfig
index 52e8921a15d6..a94c1d697d6b 100644
--- a/drivers/staging/hv/Kconfig
+++ b/drivers/staging/hv/Kconfig
@@ -12,3 +12,10 @@ config HYPERV_STORAGE
default n
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
+ default n
+ help
+ Select this option to enable the Hyper-V virtual block driver.
diff --git a/drivers/staging/hv/Makefile b/drivers/staging/hv/Makefile
index 1ef9ad23da47..5fadadc8766d 100644
--- a/drivers/staging/hv/Makefile
+++ b/drivers/staging/hv/Makefile
@@ -1,5 +1,7 @@
obj-$(CONFIG_HYPERV) += hv_vmbus.o
obj-$(CONFIG_HYPERV_STORAGE) += hv_storvsc.o
+obj-$(CONFIG_HYPERV_BLOCK) += hv_blkvsc.o
hv_vmbus-objs := vmbus_drv.o osd.o Sources.o
hv_storvsc-objs := storvsc_drv.o osd.o StorVsc.o
+hv_blkvsc-objs := blkvsc_drv.o osd.o BlkVsc.o