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