summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_transport_srp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_srp.h b/include/scsi/scsi_transport_srp.h
index adbfca402a69..08b4a28a77b8 100644
--- a/include/scsi/scsi_transport_srp.h
+++ b/include/scsi/scsi_transport_srp.h
@@ -5,14 +5,19 @@
#include <linux/types.h>
#include <linux/mutex.h>
+#define SRP_RPORT_ROLE_INITIATOR 0
+#define SRP_RPORT_ROLE_TARGET 1
+
struct srp_rport_identifiers {
u8 port_id[16];
+ u8 roles;
};
struct srp_rport {
struct device dev;
u8 port_id[16];
+ u8 roles;
};
struct srp_function_template {