summaryrefslogtreecommitdiff
path: root/drivers/staging/unisys/virthba/virthba.h
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/virthba.h
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/virthba.h')
-rw-r--r--drivers/staging/unisys/virthba/virthba.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/drivers/staging/unisys/virthba/virthba.h b/drivers/staging/unisys/virthba/virthba.h
new file mode 100644
index 0000000..88b7974
--- /dev/null
+++ b/drivers/staging/unisys/virthba/virthba.h
@@ -0,0 +1,31 @@
+/* virthba.h
+ *
+ * Copyright © 2010 - 2013 UNISYS CORPORATION
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
+ * NON INFRINGEMENT. See the GNU General Public License for more
+ * details.
+ */
+
+/*
+ * Unisys Virtual HBA driver header
+ */
+
+
+
+#ifndef __VIRTHBA_H__
+#define __VIRTHBA_H__
+
+
+#define VIRTHBA_VERSION "01.00"
+
+
+#endif /* __VIRTHBA_H__ */