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_init.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_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 52ed56ecf195..521d2158d7a9 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -552,10 +552,6 @@ qla24xx_reset_risc(scsi_qla_host_t *vha) | |||
552 | d2 = RD_REG_DWORD(®->ctrl_status); | 552 | d2 = RD_REG_DWORD(®->ctrl_status); |
553 | barrier(); | 553 | barrier(); |
554 | } | 554 | } |
555 | if (cnt == 0 || hw_evt) | ||
556 | qla2xxx_hw_event_log(vha, HW_EVENT_RESET_ERR, | ||
557 | RD_REG_WORD(®->mailbox1), RD_REG_WORD(®->mailbox2), | ||
558 | RD_REG_WORD(®->mailbox3)); | ||
559 | 555 | ||
560 | WRT_REG_DWORD(®->hccr, HCCRX_SET_RISC_RESET); | 556 | WRT_REG_DWORD(®->hccr, HCCRX_SET_RISC_RESET); |
561 | RD_REG_DWORD(®->hccr); | 557 | RD_REG_DWORD(®->hccr); |
@@ -1665,10 +1661,6 @@ qla2x00_nvram_config(scsi_qla_host_t *vha) | |||
1665 | qla_printk(KERN_WARNING, ha, "Falling back to functioning (yet " | 1661 | qla_printk(KERN_WARNING, ha, "Falling back to functioning (yet " |
1666 | "invalid -- WWPN) defaults.\n"); | 1662 | "invalid -- WWPN) defaults.\n"); |
1667 | 1663 | ||
1668 | if (chksum) | ||
1669 | qla2xxx_hw_event_log(vha, HW_EVENT_NVRAM_CHKSUM_ERR, 0, | ||
1670 | MSW(chksum), LSW(chksum)); | ||
1671 | |||
1672 | /* | 1664 | /* |
1673 | * Set default initialization control block. | 1665 | * Set default initialization control block. |
1674 | */ | 1666 | */ |