]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.drivers/staging-hv-add-the-hyper-v-virtual-block-driver-to-the-build.patch
Imported linux-2.6.27.39 suse/xen patches.
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.drivers / staging-hv-add-the-hyper-v-virtual-block-driver-to-the-build.patch
CommitLineData
2cb7cef9
BS
1From foo@baz Tue Jul 14 10:25:53 PDT 2009
2Date: Tue, 14 Jul 2009 10:25:53 -0700
3From: Greg Kroah-Hartman <gregkh@suse.de>
4Subject: Staging: hv: add the Hyper-V virtual block driver to the build
5
6From: Greg Kroah-Hartman <gregkh@suse.de>
7
8Add the Hyper-V virtual block driver to the kernel build system.
9
10Cc: Hank Janssen <hjanssen@microsoft.com>
11Cc: Haiyang Zhang <haiyangz@microsoft.com>
12Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13
14
15---
16 drivers/staging/hv/Kconfig | 7 +++++++
17 drivers/staging/hv/Makefile | 2 ++
18 2 files changed, 9 insertions(+)
19
20--- a/drivers/staging/hv/Kconfig
21+++ b/drivers/staging/hv/Kconfig
22@@ -12,3 +12,10 @@ config HYPERV_STORAGE
23 default n
24 help
25 Select this option to enable the Hyper-V virtual storage driver.
26+
27+config HYPERV_BLOCK
28+ tristate "Microsoft Hyper-V virtual block driver"
29+ depends on HYPERV && BLOCK
30+ default n
31+ help
32+ Select this option to enable the Hyper-V virtual block driver.
33--- a/drivers/staging/hv/Makefile
34+++ b/drivers/staging/hv/Makefile
35@@ -1,5 +1,7 @@
36 obj-$(CONFIG_HYPERV) += hv_vmbus.o
37 obj-$(CONFIG_HYPERV_STORAGE) += hv_storvsc.o
38+obj-$(CONFIG_HYPERV_BLOCK) += hv_blkvsc.o
39
40 hv_vmbus-objs := vmbus_drv.o osd.o Sources.o
41 hv_storvsc-objs := storvsc_drv.o osd.o StorVsc.o
42+hv_blkvsc-objs := blkvsc_drv.o osd.o BlkVsc.o