diff options
author | Steve Ma <steve.ma@intel.com> | 2009-11-03 11:47:34 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 12:01:06 -0600 |
commit | a51ab39606042e76a483547620699530caa12c40 (patch) | |
tree | d67261f7a13b7c9ad1d9d69d4aeefe899eef0066 /include/scsi | |
parent | 5868287460b0fc243e828a0b856cd53d8bf45739 (diff) | |
download | kernel_samsung_tuna-a51ab39606042e76a483547620699530caa12c40.zip kernel_samsung_tuna-a51ab39606042e76a483547620699530caa12c40.tar.gz kernel_samsung_tuna-a51ab39606042e76a483547620699530caa12c40.tar.bz2 |
[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/scsi')
-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 8258edf..54df9fe 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -26,6 +26,7 @@ #include <scsi/scsi_transport.h> #include <scsi/scsi_transport_fc.h> +#include <scsi/scsi_bsg_fc.h> #include <scsi/fc/fc_fcp.h> #include <scsi/fc/fc_ns.h> @@ -831,6 +832,12 @@ void fc_vport_setlink(struct fc_lport *vn_port); void fc_vports_linkchange(struct fc_lport *n_port); /* + * Issue fc pass-thru request via bsg interface + */ +int fc_lport_bsg_request(struct fc_bsg_job *job); + + +/* * REMOTE PORT LAYER *****************************/ int fc_rport_init(struct fc_lport *lp); |