aboutsummaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorRobert Love <robert.w.love@intel.com>2009-02-27 10:55:18 -0800
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-06 15:41:01 -0600
commit5101ff99f59aefb72e0c96e82aa32048ac9f8425 (patch)
tree83fba57c7cf542eed4466265619632e7d804eb88 /include/scsi
parentf7db2c150cf5082cf74555f30a1305938041de80 (diff)
[SCSI] libfc: Don't violate transport template for rogue port creation
Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/libfc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index b9e6c1cd891..37df48e13b9 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -490,6 +490,11 @@ struct libfc_function_template {
*/
/*
+ * Create a remote port
+ */
+ struct fc_rport *(*rport_create)(struct fc_disc_port *);
+
+ /*
* Initiates the RP state machine. It is called from the LP module.
* This function will issue the following commands to the N_Port
* identified by the FC ID provided.