File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1367,6 +1367,9 @@ qla2x00_read_optrom(struct fc_bsg_job *bsg_job)
1367
1367
struct qla_hw_data * ha = vha -> hw ;
1368
1368
int rval = 0 ;
1369
1369
1370
+ if (ha -> flags .isp82xx_reset_hdlr_active )
1371
+ return - EBUSY ;
1372
+
1370
1373
rval = qla2x00_optrom_setup (bsg_job , vha , 0 );
1371
1374
if (rval )
1372
1375
return rval ;
Original file line number Diff line number Diff line change @@ -1017,6 +1017,9 @@ qla2xxx_flash_npiv_conf(scsi_qla_host_t *vha)
1017
1017
!IS_CNA_CAPABLE (ha ) && !IS_QLA2031 (ha ))
1018
1018
return ;
1019
1019
1020
+ if (ha -> flags .isp82xx_reset_hdlr_active )
1021
+ return ;
1022
+
1020
1023
ha -> isp_ops -> read_optrom (vha , (uint8_t * )& hdr ,
1021
1024
ha -> flt_region_npiv_conf << 2 , sizeof (struct qla_npiv_header ));
1022
1025
if (hdr .version == __constant_cpu_to_le16 (0xffff ))
You can’t perform that action at this time.
0 commit comments