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 /drivers/scsi/fcoe/fcoe.c | |
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 'drivers/scsi/fcoe/fcoe.c')
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index f1c126b798af..8f078d306a0a 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -134,6 +134,8 @@ struct fc_function_template fcoe_transport_function = { | |||
134 | .vport_delete = fcoe_vport_destroy, | 134 | .vport_delete = fcoe_vport_destroy, |
135 | .vport_disable = fcoe_vport_disable, | 135 | .vport_disable = fcoe_vport_disable, |
136 | .set_vport_symbolic_name = fcoe_set_vport_symbolic_name, | 136 | .set_vport_symbolic_name = fcoe_set_vport_symbolic_name, |
137 | |||
138 | .bsg_request = fc_lport_bsg_request, | ||
137 | }; | 139 | }; |
138 | 140 | ||
139 | struct fc_function_template fcoe_vport_transport_function = { | 141 | struct fc_function_template fcoe_vport_transport_function = { |
@@ -167,6 +169,8 @@ struct fc_function_template fcoe_vport_transport_function = { | |||
167 | .issue_fc_host_lip = fcoe_reset, | 169 | .issue_fc_host_lip = fcoe_reset, |
168 | 170 | ||
169 | .terminate_rport_io = fc_rport_terminate_io, | 171 | .terminate_rport_io = fc_rport_terminate_io, |
172 | |||
173 | .bsg_request = fc_lport_bsg_request, | ||
170 | }; | 174 | }; |
171 | 175 | ||
172 | static struct scsi_host_template fcoe_shost_template = { | 176 | static struct scsi_host_template fcoe_shost_template = { |