aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fnic
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2009-11-03 14:49:32 -0500
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 13:01:20 -0500
commit76d8737c9dda1593d52887c8a11bf3359e447896 (patch)
treead9fa572c22d585267928add6b3fc3461678526e /drivers/scsi/fnic
parentab593b187391bdd03ccad2968972a2e118a88cd4 (diff)
[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>
Diffstat (limited to 'drivers/scsi/fnic')
-rw-r--r--drivers/scsi/fnic/fnic_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c
index 0333c7f52e66..fe1b1031f7ab 100644
--- a/drivers/scsi/fnic/fnic_main.c
+++ b/drivers/scsi/fnic/fnic_main.c
@@ -143,6 +143,7 @@ static struct fc_function_template fnic_fc_functions = {
143 .get_fc_host_stats = fnic_get_stats, 143 .get_fc_host_stats = fnic_get_stats,
144 .dd_fcrport_size = sizeof(struct fc_rport_libfc_priv), 144 .dd_fcrport_size = sizeof(struct fc_rport_libfc_priv),
145 .terminate_rport_io = fnic_terminate_rport_io, 145 .terminate_rport_io = fnic_terminate_rport_io,
146 .bsg_request = fc_lport_bsg_request,
146}; 147};
147 148
148static void fnic_get_host_speed(struct Scsi_Host *shost) 149static void fnic_get_host_speed(struct Scsi_Host *shost)