diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2008-01-31 15:33:47 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-02-07 19:02:39 -0500 |
commit | 0afb467b4757adb9c6e3817f2e752d658a494352 (patch) | |
tree | d5dd1acad29b1bd97b837803b00bb6647348cdc9 /drivers/scsi/qla2xxx | |
parent | df4bf0bb5b077545031e8ad5ef3cc0dd8a5fbe05 (diff) |
[SCSI] qla2xxx: Clear EFT buffer before firmware reinitialization.
To insure that there is no stale data present during EFT
re-registration.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 2e51fa8a70f8..97063cba6788 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c | |||
@@ -3259,6 +3259,7 @@ qla2x00_abort_isp(scsi_qla_host_t *ha) | |||
3259 | clear_bit(ISP_ABORT_RETRY, &ha->dpc_flags); | 3259 | clear_bit(ISP_ABORT_RETRY, &ha->dpc_flags); |
3260 | 3260 | ||
3261 | if (ha->eft) { | 3261 | if (ha->eft) { |
3262 | memset(ha->eft, 0, EFT_SIZE); | ||
3262 | rval = qla2x00_enable_eft_trace(ha, | 3263 | rval = qla2x00_enable_eft_trace(ha, |
3263 | ha->eft_dma, EFT_NUM_BUFFERS); | 3264 | ha->eft_dma, EFT_NUM_BUFFERS); |
3264 | if (rval) { | 3265 | if (rval) { |