aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_mbx.c
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2009-01-05 14:18:05 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-07 16:49:15 -0500
commit1ded85e2850b7b890fb6b51241429ed685ec2763 (patch)
tree2e9d5d53455f2d142a6540a9be9bb4d758e17a7e /drivers/scsi/qla2xxx/qla_mbx.c
parent574df408edb7b5bddda68a0cf919536993949941 (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_mbx.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_mbx.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
index a99976f5fabd..f03de8c79681 100644
--- a/drivers/scsi/qla2xxx/qla_mbx.c
+++ b/drivers/scsi/qla2xxx/qla_mbx.c
@@ -568,7 +568,6 @@ int
568qla2x00_mbx_reg_test(scsi_qla_host_t *vha) 568qla2x00_mbx_reg_test(scsi_qla_host_t *vha)
569{ 569{
570 int rval; 570 int rval;
571 struct qla_hw_data *ha = vha->hw;
572 mbx_cmd_t mc; 571 mbx_cmd_t mc;
573 mbx_cmd_t *mcp = &mc; 572 mbx_cmd_t *mcp = &mc;
574 573
@@ -595,14 +594,6 @@ qla2x00_mbx_reg_test(scsi_qla_host_t *vha)
595 if (mcp->mb[5] != 0xA5A5 || mcp->mb[6] != 0x5A5A || 594 if (mcp->mb[5] != 0xA5A5 || mcp->mb[6] != 0x5A5A ||
596 mcp->mb[7] != 0x2525) 595 mcp->mb[7] != 0x2525)
597 rval = QLA_FUNCTION_FAILED; 596 rval = QLA_FUNCTION_FAILED;
598 if (rval == QLA_FUNCTION_FAILED) {
599 struct device_reg_24xx __iomem *reg =
600 &ha->iobase->isp24;
601
602 qla2xxx_hw_event_log(vha, HW_EVENT_ISP_ERR, 0,
603 LSW(RD_REG_DWORD(&reg->hccr)),
604 LSW(RD_REG_DWORD(&reg->istatus)));
605 }
606 } 597 }
607 598
608 if (rval != QLA_SUCCESS) { 599 if (rval != QLA_SUCCESS) {