summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorQuinn Tran <quinn.tran@cavium.com>2017-12-28 21:33:35 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-01-04 05:41:07 +0100
commitf352eeb75419d2b693df7cc5957f7427c2b9b3ea (patch)
treeb01fe60d178ac8a014b52e9fcef80d397487f30b /drivers/scsi/qla2xxx/qla_os.c
parentscsi: qla2xxx: Properly extract ADISC error codes (diff)
downloadlinux-f352eeb75419d2b693df7cc5957f7427c2b9b3ea.tar.xz
linux-f352eeb75419d2b693df7cc5957f7427c2b9b3ea.zip
scsi: qla2xxx: Add ability to use GPNFT/GNNFT for RSCN handling
add ability to use gpnft/gnnft to handle RSCN. Signed-off-by: Quinn Tran <quinn.tran@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 506119df56a8..605100e3c6c6 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -4600,6 +4600,7 @@ struct scsi_qla_host *qla2x00_create_host(struct scsi_host_template *sht,
scsi_remove_host(vha->host);
return NULL;
}
+ INIT_DELAYED_WORK(&vha->scan.scan_work, qla_scan_work_fn);
sprintf(vha->host_str, "%s_%ld", QLA2XXX_DRIVER_NAME, vha->host_no);
ql_dbg(ql_dbg_init, vha, 0x0041,