]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] lpfc driver 8.0.30 : fix iocb reuse initialization
authorJames.Smart@Emulex.Com <James.Smart@Emulex.Com>
Wed, 10 Aug 2005 19:02:45 +0000 (15:02 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 12 Aug 2005 17:08:13 +0000 (12:08 -0500)
commit0f8a64a371ae8d64458a554c91da5bfa7cabe396
treed9bd0a9261a2e9e37a3c8149c66439e9cf8b01bd
parent3f7d911dd12dd770b8ee9b2ca22c3e9b8d58b2d9
[SCSI] lpfc driver 8.0.30 : fix iocb reuse initialization

IOCB BDE not getting fully initialized during reuse

Symptoms: Driver gets Status 3 and Reason 0x13 on IOCB completions.

Cause: The IOCB bpl.bdeSize and bdeFlags are not getting initialized on reuse.

Fix: Reinitialize these fields in prep_dma each time an IOCB is used.

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_scsi.c