diff options
author | Steve Ma <steve.ma@intel.com> | 2009-11-03 14:47:34 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:01:06 -0500 |
commit | a51ab39606042e76a483547620699530caa12c40 (patch) | |
tree | d67261f7a13b7c9ad1d9d69d4aeefe899eef0066 /include | |
parent | 5868287460b0fc243e828a0b856cd53d8bf45739 (diff) |
[SCSI] libfc, fcoe: Add FC passthrough support
This is the Open-FCoE implementation of the FC
passthrough support via bsg interface.
Passthrough support is added to both N_Ports and
VN_Ports.
Signed-off-by: Steve Ma <steve.ma@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/libfc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index 8258edfa328c..54df9fe00c14 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h | |||
@@ -26,6 +26,7 @@ | |||
26 | 26 | ||
27 | #include <scsi/scsi_transport.h> | 27 | #include <scsi/scsi_transport.h> |
28 | #include <scsi/scsi_transport_fc.h> | 28 | #include <scsi/scsi_transport_fc.h> |
29 | #include <scsi/scsi_bsg_fc.h> | ||
29 | 30 | ||
30 | #include <scsi/fc/fc_fcp.h> | 31 | #include <scsi/fc/fc_fcp.h> |
31 | #include <scsi/fc/fc_ns.h> | 32 | #include <scsi/fc/fc_ns.h> |
@@ -831,6 +832,12 @@ void fc_vport_setlink(struct fc_lport *vn_port); | |||
831 | void fc_vports_linkchange(struct fc_lport *n_port); | 832 | void fc_vports_linkchange(struct fc_lport *n_port); |
832 | 833 | ||
833 | /* | 834 | /* |
835 | * Issue fc pass-thru request via bsg interface | ||
836 | */ | ||
837 | int fc_lport_bsg_request(struct fc_bsg_job *job); | ||
838 | |||
839 | |||
840 | /* | ||
834 | * REMOTE PORT LAYER | 841 | * REMOTE PORT LAYER |
835 | *****************************/ | 842 | *****************************/ |
836 | int fc_rport_init(struct fc_lport *lp); | 843 | int fc_rport_init(struct fc_lport *lp); |