summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorAndrew Vasquez2005-10-28 01:03:37 +0200
committerJames Bottomley2005-10-29 02:35:25 +0200
commit91ca7b01ecc916632202180569a7ddbfccfc3f05 (patch)
treed26c8af7ba9d06f6b04e85270dbce0dad0624668 /include/scsi
parent[SCSI] mptsas: white space fixes and version bump (diff)
downloadkernel-qcow2-linux-91ca7b01ecc916632202180569a7ddbfccfc3f05.tar.gz
kernel-qcow2-linux-91ca7b01ecc916632202180569a7ddbfccfc3f05.tar.xz
kernel-qcow2-linux-91ca7b01ecc916632202180569a7ddbfccfc3f05.zip
[SCSI] Add an 'Issue LIP' device attribute in fc_transport class
Ok, here's a patch to add such a common API for fc transport users. Relevant LLD changes (lpfc and qla2xxx) also present. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_transport_fc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_fc.h b/include/scsi/scsi_transport_fc.h
index b0d445437372..4496b32972e5 100644
--- a/include/scsi/scsi_transport_fc.h
+++ b/include/scsi/scsi_transport_fc.h
@@ -384,6 +384,8 @@ struct fc_function_template {
struct fc_host_statistics * (*get_fc_host_stats)(struct Scsi_Host *);
void (*reset_fc_host_stats)(struct Scsi_Host *);
+ int (*issue_fc_host_lip)(struct Scsi_Host *);
+
/* allocation lengths for host-specific data */
u32 dd_fcrport_size;