summaryrefslogtreecommitdiff
path: root/drivers/staging/unisys/virthba/Makefile
diff options
context:
space:
mode:
authorKen Cox <jkc@redhat.com>2014-03-04 13:58:11 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-05 01:03:22 (GMT)
commitdc95086172dbbad107e9ac7fd09666c824fd86e3 (patch)
tree0b3fcfc8de31f6b30955fb740e4fb06a13d0544c /drivers/staging/unisys/virthba/Makefile
parentaf86526b22dd52edc6a7827217315415801d1622 (diff)
downloadlinux-dc95086172dbbad107e9ac7fd09666c824fd86e3.tar.xz
staging: virthba driver to access shared SCSI hba
The virthba module provides access to a shared SCSI host bus adapter and one or more disk devices, by proxying SCSI commands between the guest and the service partition that owns the shared SCSI adapter, using a channel between the guest and the service partition. The disks that appear on the shared bus are defined by the s-Par configuration and enforced by the service partition, while the guest driver handles sending commands and handling responses. Each disk is shared as a whole to a guest. Sharing the bus adapter in this way provides resiliency; should the device encounter an error, only the service partition is rebooted, and the device is reinitialized. This allows guests to continue running and to recover from the error. Signed-off-by: Ken Cox <jkc@redhat.com> Cc: Ben Romer <sparmaintainer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/virthba/Makefile')
-rw-r--r--drivers/staging/unisys/virthba/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/staging/unisys/virthba/Makefile b/drivers/staging/unisys/virthba/Makefile
new file mode 100644
index 0000000..632b1c0
--- /dev/null
+++ b/drivers/staging/unisys/virthba/Makefile
@@ -0,0 +1,16 @@
+#
+# Makefile for Unisys virthba
+#
+
+obj-$(CONFIG_UNISYS_VIRTHBA) += virthba.o
+
+ccflags-y += -Idrivers/staging/unisys/include
+ccflags-y += -Idrivers/staging/unisys/uislib
+ccflags-y += -Idrivers/staging/unisys/timskmod
+ccflags-y += -Idrivers/staging/unisys/visorchipset
+ccflags-y += -Idrivers/staging/unisys/virtpci
+ccflags-y += -Idrivers/staging/unisys/common-spar/include
+ccflags-y += -Idrivers/staging/unisys/common-spar/include/channels
+
+ccflags-y += -DCONFIG_SPAR_GUEST -DGUESTDRIVERBUILD -DNOAUTOVERSION
+