[SCSI] fnic: enable bsg pass-thru for fcping
Add initialization of .bsg_request in the scsi_transport_fc template so that fcping works. Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
ab593b1873
commit
76d8737c9d
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ static struct fc_function_template fnic_fc_functions = {
|
||||||
.get_fc_host_stats = fnic_get_stats,
|
.get_fc_host_stats = fnic_get_stats,
|
||||||
.dd_fcrport_size = sizeof(struct fc_rport_libfc_priv),
|
.dd_fcrport_size = sizeof(struct fc_rport_libfc_priv),
|
||||||
.terminate_rport_io = fnic_terminate_rport_io,
|
.terminate_rport_io = fnic_terminate_rport_io,
|
||||||
|
.bsg_request = fc_lport_bsg_request,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void fnic_get_host_speed(struct Scsi_Host *shost)
|
static void fnic_get_host_speed(struct Scsi_Host *shost)
|
||||||
|
|
Loading…
Add table
Reference in a new issue