Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286366
b: refs/heads/master
c: 7876499
h: refs/heads/master
v: v3
  • Loading branch information
Sarang Radke authored and James Bottomley committed Jan 16, 2012
1 parent d1a55d0 commit 7726bb3
Show file tree
Hide file tree
Showing 3 changed files with 9 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: 527c8b2e962d21baa38a96b22e1bf50a47fdf4fb
refs/heads/master: 787649993230eb1d6fc326f13be285a840092538
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/qla4xxx/ql4_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,9 @@ int qla4xxx_start_firmware(struct scsi_qla_host *ha)
writel(set_rmask(CSR_SCSI_PROCESSOR_INTR),
&ha->reg->ctrl_status);
readl(&ha->reg->ctrl_status);
writel(set_rmask(CSR_SCSI_COMPLETION_INTR),
&ha->reg->ctrl_status);
readl(&ha->reg->ctrl_status);
spin_unlock_irqrestore(&ha->hardware_lock, flags);
if (qla4xxx_get_firmware_state(ha) == QLA_SUCCESS) {
DEBUG2(printk("scsi%ld: %s: Get firmware "
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/scsi/qla4xxx/ql4_nx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1875,6 +1875,11 @@ int qla4_8xxx_device_state_handler(struct scsi_qla_host *ha)
int qla4_8xxx_load_risc(struct scsi_qla_host *ha)
{
int retval;

/* clear the interrupt */
writel(0, &ha->qla4_8xxx_reg->host_int);
readl(&ha->qla4_8xxx_reg->host_int);

retval = qla4_8xxx_device_state_handler(ha);

if (retval == QLA_SUCCESS && !test_bit(AF_INIT_DONE, &ha->flags))
Expand Down

0 comments on commit 7726bb3

Please sign in to comment.