diff options
author | James.Smart@Emulex.Com <James.Smart@Emulex.Com> | 2005-11-28 11:42:05 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-13 20:26:47 -0500 |
commit | 6175c02a0b12f92c03b56c756c4f1e131ae1456c (patch) | |
tree | cee1a84d2c98d52456ceffc3d5d64eadc024266b /drivers/scsi/lpfc/lpfc.h | |
parent | 63c59c3b8ff444b771a245f59935c0202ece963b (diff) |
[SCSI] lpfc 8.1.1 : Fixes to error handlers
- Release task management command before counting outstanding commands.
TMF was being erroneously counted as an active outstanding command.
- Serialize EH calls and block requests when EH function is running.
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 3062b39fbdb9..dc73a2f8f12c 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h | |||
@@ -167,6 +167,7 @@ struct lpfc_hba { | |||
167 | dma_addr_t slim2p_mapping; | 167 | dma_addr_t slim2p_mapping; |
168 | uint16_t pci_cfg_value; | 168 | uint16_t pci_cfg_value; |
169 | 169 | ||
170 | struct semaphore hba_can_block; | ||
170 | uint32_t hba_state; | 171 | uint32_t hba_state; |
171 | 172 | ||
172 | #define LPFC_INIT_START 1 /* Initial state after board reset */ | 173 | #define LPFC_INIT_START 1 /* Initial state after board reset */ |