[SCSI] fnic: enable bsg pass-thru for fcping
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 3 Nov 2009 19:49:32 +0000 (11:49 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:20 +0000 (12:01 -0600)
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>
drivers/scsi/fnic/fnic_main.c

index 0333c7f52e66e96dea3bbc2ac983dbad7bf66e45..fe1b1031f7abf2ac4d2b99877096ed30f0f49b00 100644 (file)
@@ -143,6 +143,7 @@ static struct fc_function_template fnic_fc_functions = {
        .get_fc_host_stats = fnic_get_stats,
        .dd_fcrport_size = sizeof(struct fc_rport_libfc_priv),
        .terminate_rport_io = fnic_terminate_rport_io,
+       .bsg_request = fc_lport_bsg_request,
 };
 
 static void fnic_get_host_speed(struct Scsi_Host *shost)