aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_mgmt.h
diff options
context:
space:
mode:
authorJohn Soni Jose <sony.john-n@emulex.com>2012-10-19 19:15:51 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-11-26 23:59:42 -0500
commit7a15800357e382b095b5dcb8edf79c3b2c8317e4 (patch)
treed9d6ab86b14a5e16a443504cc39d1742047a0fa1 /drivers/scsi/be2iscsi/be_mgmt.h
parente175defea7b2019613765fee63afcca354e0041d (diff)
[SCSI] be2iscsi: Fix Unrecoverable Error Detection
Driver periodically checks adapter state,is up fine or not. Based on the value updates the internal structures of driver. Signed-off-by: John Soni Jose <sony.john-n@emulex.com> Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_mgmt.h')
-rw-r--r--drivers/scsi/be2iscsi/be_mgmt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be_mgmt.h b/drivers/scsi/be2iscsi/be_mgmt.h
index 88a8ed21d7f6..2e4968add799 100644
--- a/drivers/scsi/be2iscsi/be_mgmt.h
+++ b/drivers/scsi/be2iscsi/be_mgmt.h
@@ -30,6 +30,12 @@
30#define IP_V6_LEN 16 30#define IP_V6_LEN 16
31#define IP_V4_LEN 4 31#define IP_V4_LEN 4
32 32
33/* UE Status and Mask register */
34#define PCICFG_UE_STATUS_LOW 0xA0
35#define PCICFG_UE_STATUS_HIGH 0xA4
36#define PCICFG_UE_STATUS_MASK_LOW 0xA8
37#define PCICFG_UE_STATUS_MASK_HI 0xAC
38
33/** 39/**
34 * Pseudo amap definition in which each bit of the actual structure is defined 40 * Pseudo amap definition in which each bit of the actual structure is defined
35 * as a byte: used to calculate offset/shift/mask of each field 41 * as a byte: used to calculate offset/shift/mask of each field
@@ -314,5 +320,6 @@ void beiscsi_offload_cxn_v0(struct beiscsi_offload_params *params,
314 320
315void beiscsi_offload_cxn_v2(struct beiscsi_offload_params *params, 321void beiscsi_offload_cxn_v2(struct beiscsi_offload_params *params,
316 struct wrb_handle *pwrb_handle); 322 struct wrb_handle *pwrb_handle);
323void beiscsi_ue_detect(struct beiscsi_hba *phba);
317 324
318#endif 325#endif