diff options
author | James Smart <James.Smart@Emulex.Com> | 2006-03-07 15:04:13 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-12 09:56:58 -0500 |
commit | 9290831f00879d4a66d3bffb609949d5ea5576fb (patch) | |
tree | f66748c875962518f9d4784fd684e189feb50d84 /drivers/scsi/lpfc/lpfc.h | |
parent | 1a169689c2152ea599c94d622204f7bf5b7dc09f (diff) |
[SCSI] lpfc 8.1.4 : Introduce lpfc_reset_barrier() function for resets on dual channel adapters
Introduce lpfc_reset_barrier() function for resets on dual channel adapters
Workaround for a hardware errata on dual channel asics. There is a
potential for the chip to lock up on a reset if a shared dma engine is in
use. The (ugly) work around requires a reset process which uses a mailbox
command to synchronize the independent channels prior to the reset to
avoid the issue. Unfortunately, the timing windows required to ensure this
workaround succeeds are very specific, meaning we can't release the cpu
during the barrier.
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index 2f67a8a92599..087c44539a16 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h | |||
@@ -197,6 +197,7 @@ struct lpfc_hba { | |||
197 | #define LPFC_HBA_READY 32 | 197 | #define LPFC_HBA_READY 32 |
198 | #define LPFC_HBA_ERROR -1 | 198 | #define LPFC_HBA_ERROR -1 |
199 | 199 | ||
200 | int32_t stopped; /* HBA has not been restarted since last ERATT */ | ||
200 | uint8_t fc_linkspeed; /* Link speed after last READ_LA */ | 201 | uint8_t fc_linkspeed; /* Link speed after last READ_LA */ |
201 | 202 | ||
202 | uint32_t fc_eventTag; /* event tag for link attention */ | 203 | uint32_t fc_eventTag; /* event tag for link attention */ |