diff options
author | James Smart <James.Smart@Emulex.Com> | 2007-10-27 13:38:11 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:22:33 -0500 |
commit | 7af670510df343db55752a2210dcf4fc09f59fbb (patch) | |
tree | 59baacb490afb7dcd955ad8daca734eae7d8cef8 /drivers/scsi/lpfc/lpfc.h | |
parent | 76bb24efdc5de8eead0ccc07ec7e3b59a4ca0f15 (diff) |
[SCSI] lpfc 8.2.3 : Temperature handling fix
Temperature handling fix - return proper error code indicator for applications
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index 46ccdffb46aa..1ddfd688fea3 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h | |||
@@ -386,6 +386,11 @@ struct hbq_s { | |||
386 | #define LPFC_ELS_HBQ 0 | 386 | #define LPFC_ELS_HBQ 0 |
387 | #define LPFC_EXTRA_HBQ 1 | 387 | #define LPFC_EXTRA_HBQ 1 |
388 | 388 | ||
389 | enum hba_temp_state { | ||
390 | HBA_NORMAL_TEMP, | ||
391 | HBA_OVER_TEMP | ||
392 | }; | ||
393 | |||
389 | struct lpfc_hba { | 394 | struct lpfc_hba { |
390 | struct lpfc_sli sli; | 395 | struct lpfc_sli sli; |
391 | uint32_t sli_rev; /* SLI2 or SLI3 */ | 396 | uint32_t sli_rev; /* SLI2 or SLI3 */ |
@@ -589,6 +594,7 @@ struct lpfc_hba { | |||
589 | */ | 594 | */ |
590 | #define QUE_BUFTAG_BIT (1<<31) | 595 | #define QUE_BUFTAG_BIT (1<<31) |
591 | uint32_t buffer_tag_count; | 596 | uint32_t buffer_tag_count; |
597 | enum hba_temp_state over_temp_state; | ||
592 | }; | 598 | }; |
593 | 599 | ||
594 | static inline struct Scsi_Host * | 600 | static inline struct Scsi_Host * |