]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] bnx2fc: Enable bsg_request support for bnx2fc
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Fri, 5 Aug 2011 00:38:37 +0000 (17:38 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 24 Aug 2011 03:27:34 +0000 (20:27 -0700)
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c

index a4770d9fc80e3a6b3c83f57731401c132077a1ef..9e2bf398ff91e2015fcd79ac29666700f4b34f33 100644 (file)
@@ -2378,6 +2378,7 @@ static struct fc_function_template bnx2fc_transport_function = {
        .vport_create = bnx2fc_vport_create,
        .vport_delete = bnx2fc_vport_destroy,
        .vport_disable = bnx2fc_vport_disable,
+       .bsg_request = fc_lport_bsg_request,
 };
 
 static struct fc_function_template bnx2fc_vport_xport_function = {
@@ -2411,6 +2412,7 @@ static struct fc_function_template bnx2fc_vport_xport_function = {
        .get_fc_host_stats = fc_get_host_stats,
        .issue_fc_host_lip = bnx2fc_fcoe_reset,
        .terminate_rport_io = fc_rport_terminate_io,
+       .bsg_request = fc_lport_bsg_request,
 };
 
 /**