Blame SOURCES/0022-iscsid-iscsiadm-add-support-for-emulex-one-connect-s.patch

6c64be
From 2d0a0570b4d067f0b4e100f0cbab190efcfe3c67 Mon Sep 17 00:00:00 2001
6c64be
From: Mike Christie <michaelc@cs.wisc.edu>
6c64be
Date: Wed, 29 May 2013 12:00:40 -0500
6c64be
Subject: iscsid/iscsiadm: add support for emulex one connect storage
6c64be
6c64be
From Chris Moore.
6c64be
6c64be
Add support for emulex one connect storage driver.
6c64be
---
6c64be
 iscsiuio/config.status | 0
6c64be
 usr/transport.c        | 8 ++++++++
6c64be
 2 files changed, 8 insertions(+)
6c64be
 mode change 100644 => 100755 iscsiuio/config.status
6c64be
6c64be
diff --git a/iscsiuio/config.status b/iscsiuio/config.status
6c64be
old mode 100644
6c64be
new mode 100755
6c64be
diff --git a/usr/transport.c b/usr/transport.c
6c64be
index 10212af..52b7674 100644
6c64be
--- a/usr/transport.c
6c64be
+++ b/usr/transport.c
6c64be
@@ -99,6 +99,13 @@ struct iscsi_transport_template qla4xxx = {
6c64be
 	.ep_disconnect	= ktransport_ep_disconnect,
6c64be
 };
6c64be
 
6c64be
+struct iscsi_transport_template ocs = {
6c64be
+	.name		= "ocs",
6c64be
+	.ep_connect	= ktransport_ep_connect,
6c64be
+	.ep_poll	= ktransport_ep_poll,
6c64be
+	.ep_disconnect	= ktransport_ep_disconnect,
6c64be
+};
6c64be
+
6c64be
 static struct iscsi_transport_template *iscsi_transport_templates[] = {
6c64be
 	&iscsi_tcp,
6c64be
 	&iscsi_iser,
6c64be
@@ -107,6 +114,7 @@ static struct iscsi_transport_template *iscsi_transport_templates[] = {
6c64be
 	&bnx2i,
6c64be
 	&qla4xxx,
6c64be
 	&be2iscsi,
6c64be
+	&ocs,
6c64be
 	NULL
6c64be
 };
6c64be
 
6c64be
-- 
6c64be
1.8.1.4
6c64be