diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-01-05 14:18:05 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-07 16:49:15 -0500 |
commit | 1ded85e2850b7b890fb6b51241429ed685ec2763 (patch) | |
tree | 2e9d5d53455f2d142a6540a9be9bb4d758e17a7e /drivers/scsi/qla2xxx/qla_isr.c | |
parent | 574df408edb7b5bddda68a0cf919536993949941 (diff) |
[SCSI] qla2xxx: Remove support for reading/writing HW-event-log.
Software should not touch this region of flash, as the firmware
will be the only writer and consumer of the region.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index d5fb79a88001..6447eb13db8c 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -362,7 +362,6 @@ qla2x00_async_event(scsi_qla_host_t *vha, struct rsp_que *rsp, uint16_t *mb) | |||
362 | "ISP System Error - mbx1=%xh mbx2=%xh mbx3=%xh.\n", | 362 | "ISP System Error - mbx1=%xh mbx2=%xh mbx3=%xh.\n", |
363 | mb[1], mb[2], mb[3]); | 363 | mb[1], mb[2], mb[3]); |
364 | 364 | ||
365 | qla2x00_post_hwe_work(vha, mb[0], mb[1], mb[2], mb[3]); | ||
366 | ha->isp_ops->fw_dump(vha, 1); | 365 | ha->isp_ops->fw_dump(vha, 1); |
367 | 366 | ||
368 | if (IS_FWI2_CAPABLE(ha)) { | 367 | if (IS_FWI2_CAPABLE(ha)) { |
@@ -387,7 +386,6 @@ qla2x00_async_event(scsi_qla_host_t *vha, struct rsp_que *rsp, uint16_t *mb) | |||
387 | vha->host_no)); | 386 | vha->host_no)); |
388 | qla_printk(KERN_WARNING, ha, "ISP Request Transfer Error.\n"); | 387 | qla_printk(KERN_WARNING, ha, "ISP Request Transfer Error.\n"); |
389 | 388 | ||
390 | qla2x00_post_hwe_work(vha, mb[0], mb[1], mb[2], mb[3]); | ||
391 | set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); | 389 | set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); |
392 | break; | 390 | break; |
393 | 391 | ||
@@ -396,7 +394,6 @@ qla2x00_async_event(scsi_qla_host_t *vha, struct rsp_que *rsp, uint16_t *mb) | |||
396 | vha->host_no)); | 394 | vha->host_no)); |
397 | qla_printk(KERN_WARNING, ha, "ISP Response Transfer Error.\n"); | 395 | qla_printk(KERN_WARNING, ha, "ISP Response Transfer Error.\n"); |
398 | 396 | ||
399 | qla2x00_post_hwe_work(vha, mb[0], mb[1], mb[2], mb[3]); | ||
400 | set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); | 397 | set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); |
401 | break; | 398 | break; |
402 | 399 | ||
@@ -1590,12 +1587,6 @@ qla24xx_intr_handler(int irq, void *dev_id) | |||
1590 | if (pci_channel_offline(ha->pdev)) | 1587 | if (pci_channel_offline(ha->pdev)) |
1591 | break; | 1588 | break; |
1592 | 1589 | ||
1593 | if (ha->hw_event_pause_errors == 0) | ||
1594 | qla2x00_post_hwe_work(vha, HW_EVENT_PARITY_ERR, | ||
1595 | 0, MSW(stat), LSW(stat)); | ||
1596 | else if (ha->hw_event_pause_errors < 0xffffffff) | ||
1597 | ha->hw_event_pause_errors++; | ||
1598 | |||
1599 | hccr = RD_REG_DWORD(®->hccr); | 1590 | hccr = RD_REG_DWORD(®->hccr); |
1600 | 1591 | ||
1601 | qla_printk(KERN_INFO, ha, "RISC paused -- HCCR=%x, " | 1592 | qla_printk(KERN_INFO, ha, "RISC paused -- HCCR=%x, " |
@@ -1740,12 +1731,6 @@ qla24xx_msix_default(int irq, void *dev_id) | |||
1740 | if (pci_channel_offline(ha->pdev)) | 1731 | if (pci_channel_offline(ha->pdev)) |
1741 | break; | 1732 | break; |
1742 | 1733 | ||
1743 | if (ha->hw_event_pause_errors == 0) | ||
1744 | qla2x00_post_hwe_work(vha, HW_EVENT_PARITY_ERR, | ||
1745 | 0, MSW(stat), LSW(stat)); | ||
1746 | else if (ha->hw_event_pause_errors < 0xffffffff) | ||
1747 | ha->hw_event_pause_errors++; | ||
1748 | |||
1749 | hccr = RD_REG_DWORD(®->hccr); | 1734 | hccr = RD_REG_DWORD(®->hccr); |
1750 | 1735 | ||
1751 | qla_printk(KERN_INFO, ha, "RISC paused -- HCCR=%x, " | 1736 | qla_printk(KERN_INFO, ha, "RISC paused -- HCCR=%x, " |