aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_transport_srp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/scsi_transport_srp.h')
-rw-r--r--include/scsi/scsi_transport_srp.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_srp.h b/include/scsi/scsi_transport_srp.h
new file mode 100644
index 000000000000..adbfca402a69
--- /dev/null
+++ b/include/scsi/scsi_transport_srp.h
@@ -0,0 +1,32 @@
1#ifndef SCSI_TRANSPORT_SRP_H
2#define SCSI_TRANSPORT_SRP_H
3
4#include <linux/transport_class.h>
5#include <linux/types.h>
6#include <linux/mutex.h>
7
8struct srp_rport_identifiers {
9 u8 port_id[16];
10};
11
12struct srp_rport {
13 struct device dev;
14
15 u8 port_id[16];
16};
17
18struct srp_function_template {
19 /* later */
20};
21
22extern struct scsi_transport_template *
23srp_attach_transport(struct srp_function_template *);
24extern void srp_release_transport(struct scsi_transport_template *);
25
26extern struct srp_rport *srp_rport_add(struct Scsi_Host *,
27 struct srp_rport_identifiers *);
28extern void srp_rport_del(struct srp_rport *);
29
30extern void srp_remove_host(struct Scsi_Host *);
31
32#endif