Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300214
b: refs/heads/master
c: a49393f
h: refs/heads/master
v: v3
  • Loading branch information
Giridhar Malavali authored and James Bottomley committed May 10, 2012
1 parent 72f5a8f commit 7cbaa2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4e1648a4f4acc964cefc51c1637aad0dca6c517
refs/heads/master: a49393f2ae13e3a0c61dbdbea77c2ff7614df474
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/qla2xxx/qla_bsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1367,6 +1367,9 @@ qla2x00_read_optrom(struct fc_bsg_job *bsg_job)
struct qla_hw_data *ha = vha->hw;
int rval = 0;

if (ha->flags.isp82xx_reset_hdlr_active)
return -EBUSY;

rval = qla2x00_optrom_setup(bsg_job, vha, 0);
if (rval)
return rval;
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/qla2xxx/qla_sup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,9 @@ qla2xxx_flash_npiv_conf(scsi_qla_host_t *vha)
!IS_CNA_CAPABLE(ha) && !IS_QLA2031(ha))
return;

if (ha->flags.isp82xx_reset_hdlr_active)
return;

ha->isp_ops->read_optrom(vha, (uint8_t *)&hdr,
ha->flt_region_npiv_conf << 2, sizeof(struct qla_npiv_header));
if (hdr.version == __constant_cpu_to_le16(0xffff))
Expand Down

0 comments on commit 7cbaa2d

Please sign in to comment.