diff options
author | Roland Dreier <roland@purestorage.com> | 2012-11-30 17:41:04 -0800 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-11-30 17:41:04 -0800 |
commit | fb57e1dbbd4a69aff759d5fd14a936d5260937b6 (patch) | |
tree | 5b8b7e5e95ccfeae6d569f4f2daea9a60b184a15 /include | |
parent | 78c90247afb786b1a1fbfffbcd42907ce480e36f (diff) | |
parent | dc1bdbd9b8a077018d82230bc378f1bcfd8adba8 (diff) |
Merge branch 'srp' into for-next
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/scsi_transport_srp.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_srp.h b/include/scsi/scsi_transport_srp.h index 9c60ca1c08c..ff0f04ac91a 100644 --- a/include/scsi/scsi_transport_srp.h +++ b/include/scsi/scsi_transport_srp.h @@ -14,13 +14,21 @@ struct srp_rport_identifiers { }; struct srp_rport { + /* for initiator and target drivers */ + struct device dev; u8 port_id[16]; u8 roles; + + /* for initiator drivers */ + + void *lld_data; /* LLD private data */ }; struct srp_function_template { + /* for initiator drivers */ + void (*rport_delete)(struct srp_rport *rport); /* for target drivers */ int (* tsk_mgmt_response)(struct Scsi_Host *, u64, u64, int); int (* it_nexus_response)(struct Scsi_Host *, u64, int); |