summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc.h
diff options
context:
space:
mode:
authorJames.Smart@Emulex.Com <James.Smart@Emulex.Com>2005-11-28 11:42:05 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-13 18:26:47 -0700
commit6175c02a0b12f92c03b56c756c4f1e131ae1456c (patch)
treecee1a84d2c98d52456ceffc3d5d64eadc024266b /drivers/scsi/lpfc/lpfc.h
parent63c59c3b8ff444b771a245f59935c0202ece963b (diff)
downloadblackbird-op-linux-6175c02a0b12f92c03b56c756c4f1e131ae1456c.tar.gz
blackbird-op-linux-6175c02a0b12f92c03b56c756c4f1e131ae1456c.zip
[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.h1
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 {
dma_addr_t slim2p_mapping;
uint16_t pci_cfg_value;
+ struct semaphore hba_can_block;
uint32_t hba_state;
#define LPFC_INIT_START 1 /* Initial state after board reset */
OpenPOWER on IntegriCloud