aboutsummaryrefslogtreecommitdiffstats
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 @@
5#include <linux/types.h> 5#include <linux/types.h>
6#include <linux/mutex.h> 6#include <linux/mutex.h>
7 7
8#define SRP_RPORT_ROLE_INITIATOR 0
9#define SRP_RPORT_ROLE_TARGET 1
10
8struct srp_rport_identifiers { 11struct srp_rport_identifiers {
9 u8 port_id[16]; 12 u8 port_id[16];
13 u8 roles;
10}; 14};
11 15
12struct srp_rport { 16struct srp_rport {
13 struct device dev; 17 struct device dev;
14 18
15 u8 port_id[16]; 19 u8 port_id[16];
20 u8 roles;
16}; 21};
17 22
18struct srp_function_template { 23struct srp_function_template {